How can I map Win + L to lock screen in KDE4?
39,553
Solution 1
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".
Solution 2
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
Solution 3
Kubuntu 18.10:
- System settings
- Search for "shortcuts"
- Global shortcuts
- ksmserver
- Lock session
Solution 4
- Go to "System Settings" (KDE menu).
- Workspace>Workspace Behavior>Screen Locking>Activation>Keyboard shortcut or search "lock"
Solution 5
- System Settings
- Shortcuts and Gestures
- Global Keyboard Shortcuts
- KDE Component:
ksmserver
- Lock Session
Related videos on Youtube
Author by
Grzenio
Updated on September 17, 2022Comments
-
Grzenio over 1 year
How can I map the keyboard shortcut to locking a session in KDE 4?
-
Admin over 14 yearsdid you notice it defaults to ctrl+alt+l ?
-
Admin about 5 years@CapiEtheriel -- Some of us work on more than one OS and would like to unify the keyboard shortcuts so we can be more productive.
-
-
Henrique Zacchi over 14 yearsKeep in mind that this implies that SUPER is registered as a modifier key and not a key of it's own.
-
preds about 11 yearsAs of KDE 4.10.2 (Kubuntu 13.04): System Settings -> Shortcuts and Gestures -> Global Keyboard Shortcuts -> The KDE Session Manager -> Lock Session.
-
rmiesen almost 11 yearsYou can also get to the Global Keyboard Shortcuts window by opening up the application launcher (kickoff) and typing "global keyboard shortcuts" into the search box.
-
Isaac Chugunov over 5 yearsUsers coming from Windows expect Winkey+L to work.