Results 1 to 2 of 2
There seems to be a bug in Gnome / Metacity / X somewhere that means you can't use SUPER_L or SUPER_R (the left and right windows keys on a keyboard) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-27-2006 #1
- Join Date
- Apr 2006
- Bangkok, Thailand
HOWTO: Windows Key & L to Lock Screen
So, to get it working, you can follow these steps
Go to Desktop > Preferences > Keyboard (or run gnome-keyboard-properties) then choose the Layout Options tab and under Alt/Win key behaviour select "Super is mapped to Win-keys".
Start Configuration Editor (gconf-editor) and select apps/metacity/global_keybindinngs.
Create a new key called "run_command_15" of type String with value "<Mod4>L".
Now in apps/metacity/keybinding_commands create a new key called "command_15" of type String with value "gnome-screensaver-command --lock".
You can repeat these steps to create as many other keybindings as you like. I don't know the steps on KDE, but I believe KDE has much better keyboard shortcut support than Gnome.
It took me hours to figure all this out, hence my post here. Comments / feedback most welcome.
- 07-16-2006 #2
- Join Date
- Jul 2006
Thanks for the great workaround!!
It worked fine for me, however instead of "gnome-screensaver-command --lock" I needed "xscreensaver-command -lock" so one has to look around what screensaver is actually installed.