How can I map Win + L to lock screen in KDE4?
Here's what you could do to remap session locking from default Ctrl+Alt+L (tested with KDE4.3) :
- Go to "System Settings" (KDE menu).
- Choose "Keyboard & mouse" (on "General" tab).
- Choose "Global Keyboard Shortcuts" on the left.
- Choose "Run Command Interface" from "KDE component" dropdown list.
- Choose "Lock session".
- Select "Custom".
- Click on "None" (button changes to "Input...").
- Compose your desired sequence by pressing appropriate buttons on your keyboard.
- Click "Apply".
In Kubuntu 14.04 it's
- System Settings (from the Kickoff "Start" menu)
- Shortcuts and Gestures
- Global Keyboard Shortcuts
- KDE Component: The KDE Session Manager (at the bottom of the list, scroll down)
- Lock Session
Kubuntu 18.10:
- System settings
- Search for "shortcuts"
- Global shortcuts
- ksmserver
- Lock session