How to change keyboard sleep button to hibernate?
Posted
by
Allu2
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Allu2
Published on 2011-11-17T17:45:48Z
Indexed on
2011/11/17
18:08 UTC
Read the original article
Hit count: 228
I have a keyboard with a "sleep" button that does indeed make my computer go to sleep. The problem is that Ubuntu can't really handle sleep on my computer, causing it go into a non-responsive mode, having the CPU fan spinning at full speed and it stops receiving any input.
Hibernation instead works mainly as it should. I would like to set the sleep key to hibernate, but the keyboard settings' hotkeys tab doesn't have this "sleep" keybinding and though I could make new one with hibernate --force
as the command, it would require root rights to run.
How can I change the keyboard sleep button action to hibernate?
© Ask Ubuntu or respective owner