Configure your PAUSE key to lock the screen

From Linuxintro
Revision as of 14:05, 10 October 2013 by imported>ThorstenStaerk

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"

Snapshot-pause-key.png

  • click on Trigger -> "None"
  • type the PAUSE key
  • click on "Action"
  • enter
/usr/lib64/kde4/libexec/kscreenlocker_greet
  • click "Apply"
  • test it by pressing the PAUSE key
Note
In older KDE releases the appropriate command may be
/usr/lib64/kde4/libexec/kscreenlocker --forcelock

See also