Re-mapping a hardware button?

Hugh Tay <[email protected]>
Newsgroups gmane.comp.gnome.general
Message-ID <CAK3Frg3rkrVgPzy_dK+wF0b2eShXSveqVQ9BVKwrVD9mL0Lm6A@mail.gmail.com>
Good day Gnomes,

I'm using Fedora 20 x64 with Gnome 3 on a machine with a hardware button
that defaults to locking/unlocking screen rotation. However this button's
function is quite useless since the gyro/accel driver isn't working on my
machine.

After digging a little, I found that the hardware button is mapped to the
key combo "Super+O", but I am unable to override the default lock/unlock
icon by setting a custom shortcut in the Gnome keyboard settings that binds
this key combo to a script that rotates the screen instead.

So my question is - can I re-map the hardware button to trigger a different
key combo (e.g. "Super+R") that allows me to bind my rotation script as a
custom shortcut in Gnome keyboard settings? The net effect I want to
achieve is that when I press the hardware button, it executes my rotation
script.

Many thanks,

Hugh Tay

_______________________________________________
gnome-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.