I recently installed Ubuntu 13.04.
I changed my shortcut for "Lock screen" to the sleep button on my keyboard.
But instead of just locking the screen it puts my computer into hibernation/suspend mode, which is kind of annoying. I can't find where the hibernation mode is bound to the sleep button.
I already tried gsettings set org.gnome.settings-daemon.plugins.power button-sleep 'nothing'
(as mentioned here) but it doesn't affect the sleep button and it still goes into hibernation/suspend.
Can you help me?
XF86Sleep
to bind (even after changing the config setting to 'nothing'). However I was able to bindAlt
+XF86Sleep
. Also, I wanted it to lock the screen and turn off the monitor, so I usedgnome-screensaver-command -l; xset dpms force off
. – Tobias J Apr 18 '14 at 03:14