gnome-screensaver-command --lockThis is useful in the context of remapping keyboard shortcuts. For some reason, lots of internet searches come up with the equivalent X-based command for locking the screen.
Showing posts with label key-mapping. Show all posts
Showing posts with label key-mapping. Show all posts
Sunday, June 10, 2012
Lock Screen Command in Gnome/Cinnamon
The correct lock screen command in Gnome (and hence Cinnamon) is:
Mapping Keyboard Shortcuts in Cinnamon
Using gconf-editor, follow instructions at http://www.maphew.com/Linux/Use_WinKey_in_Ubuntu.html.
The example is to map Super+E (or Windows+E) to start nautilus, like Windows opens Windows Explorer. The important steps (in gconf-editor) are:
The example is to map Super+E (or Windows+E) to start nautilus, like Windows opens Windows Explorer. The important steps (in gconf-editor) are:
- Go to /Apps/metacity/global_keybidings
- Set run_command_1 to <Super>E
- Go to /Apps/metacity/keybinding_commands
- Set command_1 to /usr/bin/nautilus
Subscribe to:
Comments (Atom)