I have a couple Fn shortcuts on my F1-F12 keys. F12 is the calculator, F11 puts my PC to sleep. The amounts I confuse those keys by accidents are astronomical.
How can I disable my suspend/sleep key entirely, or optionally map it to something else?
$ gsettings set org.gnome.settings-daemon.plugins.power button-suspend "nothing" No such key “button-suspend” $ gsettings set org.gnome.settings-daemon.plugins.power button-sleep "nothing" No such key “button-sleep” $ gsettings set org.gnome.settings-daemon.plugins.power button-hibernate "nothing" No such key “button-hibernate”
I'm on arch-linux using Gnome 3.28.3. I checked everything in
gnome-tweak-tool without success. A search for
dconf-editor comes up with only this, and I'm sure this isn't what I'm looking for:
I tried to find out the name (?) of the key using
xev, in an attempt to give
xbindkeys a try to re-map the key, but it doesn't work with the calculator shortcut (nothing shows up in
xev) so I assume it won't work with the sleep one either (I'd rather not try).
Note: I do not want to disable sleep/suspend all-together. Just that special keyboard key.
Edit: I'm now on the newest gnome version (3.32). Issue still persists.