Tutorials/hotkeys: Difference between revisions

From KDE UserBase Wiki
(Created page with "To set your PAUSE key to lock the screen under KDE, * open a console * call the command systemsettings * select "Shortcuts and Gestures" -> "Custom Shortcuts" -> "Ed...")
 
No edit summary
Line 21: Line 21:


= See also =
= See also =
* [[keyboard]]
* [http://www.linuxintro.org/wiki/Configure_your_PAUSE_key_to_lock_the_screen source of this page]
* [[Configure your multimedia keys]]
* [[first steps after installing Linux]]
* [[first steps on Linux]]

Revision as of 14:19, 7 November 2014

To set your PAUSE key to lock the screen under KDE,

systemsettings
  • select "Shortcuts and Gestures" -> "Custom Shortcuts" -> "Edit" -> "New" -> "Global Shortcut" -> "Command/URL" -> enter "Pause"

  • click on Trigger -> "None"
  • type the PAUSE key
  • click on "Action"
  • enter
qdbus org.kde.screensaver /ScreenSaver org.freedesktop.ScreenSaver.Lock

or (whatever works)

/usr/lib64/kde4/libexec/kscreenlocker_greet

or (whatever works)

/usr/lib64/kde4/libexec/kscreenlocker --forcelock
  • click "Apply"
  • test it by pressing the PAUSE key

See also