Lock xfce with Windows + L
Default settings
To lock a screen with xfce by default either:
- Type
xflock4
to the terminal - Press
Ctrl + Alt + L
Because the Windows key is basically useless on Linux, I can change some shortcuts to it.
Change keyboard shortcut
1. To change Keyboard shortcuts, open Settings Manager
--> Keyboard
--> Application
. There you will be able to see all current shortcuts.Shortcuts.Shortcuts
2. To add a new one, press the Add
button at the bottom, type the name of the command you would like to launch with that shortcut and press Ok.OK
. You will then be prompted to press the desired key combination. I am used to Windows +
, so I set it that way.L,L
3. Delete the previous shortcut Ctrl + Alt + L or keep it.