Difference between revisions of "Configure your multimedia keys"
From Linuxintro
imported>ThorstenStaerk |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Many keyboards have multimedia keys. Those keys typically allow you to increase/decrease, mute and unmute sound on your PC, but many more exist. Using these keys can make you more productive - instead of [[opening a console]] and typing [[command]], you just type a key and the associated application pops up. | Many keyboards have multimedia keys. Those keys typically allow you to increase/decrease, mute and unmute sound on your PC, but many more exist. Using these keys can make you more productive - instead of [[opening a console]] and typing [[command]], you just type a key and the associated application pops up. | ||
− | + | ;Note: The following example works with KDE as desktop environment only | |
− | + | As an example, I have a key on my keyboard that pictures a calculator. Let's start it the [[program]] kcalc: | |
− | + | * [[open a console]] and run the [[command]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
systemsettings | systemsettings | ||
Select "Shortcuts and Gestures" -> Custom Shortcuts -> Edit -> New -> Global Shortcut -> Command/URL | Select "Shortcuts and Gestures" -> Custom Shortcuts -> Edit -> New -> Global Shortcut -> Command/URL | ||
As trigger, press this key, as "Action" enter kcalc | As trigger, press this key, as "Action" enter kcalc | ||
+ | |||
+ | = Lock your screen = | ||
+ | To lock your screen under KDE you can use the command | ||
+ | /usr/lib64/kde4/libexec/kscreenlocker --forcelock | ||
= See also = | = See also = | ||
+ | * [[keyboard]] | ||
* [[find out where your configuration changes are stored]] | * [[find out where your configuration changes are stored]] | ||
* http://www.linux-club.de/viewtopic.php?f=24&t=116414 | * http://www.linux-club.de/viewtopic.php?f=24&t=116414 | ||
+ | * http://www.pclinuxos.com/forum/index.php?topic=83439.0;wap2 |
Latest revision as of 07:53, 6 January 2021
Many keyboards have multimedia keys. Those keys typically allow you to increase/decrease, mute and unmute sound on your PC, but many more exist. Using these keys can make you more productive - instead of opening a console and typing command, you just type a key and the associated application pops up.
- Note
- The following example works with KDE as desktop environment only
As an example, I have a key on my keyboard that pictures a calculator. Let's start it the program kcalc:
- open a console and run the command
systemsettings
Select "Shortcuts and Gestures" -> Custom Shortcuts -> Edit -> New -> Global Shortcut -> Command/URL As trigger, press this key, as "Action" enter kcalc
Lock your screen
To lock your screen under KDE you can use the command
/usr/lib64/kde4/libexec/kscreenlocker --forcelock