How do I re-map hardware buttons in Gnome?

asked 2014-12-08 09:41:53 -0500

Hugh gravatar image

updated 2014-12-08 14:08:35 -0500

mether gravatar image

Good day!

Using Fedora 20 x64 with Gnome 3 here... So what I'm trying to figure out is, how does Gnome detect which hardware button is meant for what purpose, and where does it set the function for a particular button?

For instance, my machine has Vol+/Vol- buttons; suppose I want to un-bind their default functions and re-map them to Brightness+/Brightness- instead, where can I tweak that?


edit retag flag offensive close merge delete


The case you mention might require some work as it is harder remapping such special keys than mapping k to m or the like. Is it in particular your volume keys you want to remap, and do you want them to exactly change the brightness? Or do you "just" want to learn something in general about remapping keys, which might not work for that particular case?

humanplayer2 gravatar imagehumanplayer2 ( 2014-12-12 13:01:27 -0500 )edit

I'm interested in this question, too. In my case the sleep button (Fn+F4) is very close to the volume buttons (Fn+F5). I often hit it accidentally, so I want to unmap it. How to do that?

henrysgg gravatar imagehenrysgg ( 2015-02-13 20:54:20 -0500 )edit