Sunday, April 28, 2024
54
rated 0 times [  54] [ 0]  / answers: 1 / hits: 31977  / 2 Years ago, sat, february 12, 2022, 6:02:31

I have a "power button" on my keyboard that enables standby or hibernate. I can't find the mapping of this key anywhere in "sytem settings>Keyboard", "system>power management", "compiz config> or similar (where I could find it before unity). How can I disable (not remap) this button?



I do not want to disable hibernate/sleep altogether, it's simply this key that gets pressed a lot by accident and it's getting quite annoying.


More From » shortcut-keys

 Answers
6

Disable the suspend button in your system



gsettings set org.gnome.settings-daemon.plugins.power button-suspend "nothing"


Revert to the default value



gsettings set org.gnome.settings-daemon.plugins.power button-suspend "suspend"





Disable the sleep button in your system



gsettings set org.gnome.settings-daemon.plugins.power button-sleep "nothing"


Revert to the default value



gsettings set org.gnome.settings-daemon.plugins.power button-sleep "hibernate"





Disable the hibernate button in your system



gsettings set org.gnome.settings-daemon.plugins.power button-hibernate "nothing"


Revert to the default value



gsettings set org.gnome.settings-daemon.plugins.power button-hibernate "hibernate"





Settings those options above does not disable the functions in your system, you can still use the cog wheel menu to hibernate / suspend, this only disables keyboard and other buttons you might have in your computer.


[#39712] Sunday, February 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
asketbridiculou

Total Points: 168
Total Questions: 116
Total Answers: 115

Location: Antigua and Barbuda
Member since Sat, Jan 28, 2023
1 Year ago
;