Comment 3 for bug 1078564

Revision history for this message
Maximilian Federle (ppd) wrote : Re: single-key shortcuts in unity don't work

I try to set the rotate keys on my Lenovo x230t, where you can turn the screen. The keys show up fine in the system settings when I assign them to a action, for example a custom shortcut which launches gedit.

The one shows up as "0xa1" and the other one as "RotateWindows". As I noted just today, the 0xa1 key is "free" for xbindkeys right from the beginning when I start unity. RotateWindows requires the above mentioned method of setting it in unity and then unsetting.

I tried setting shortcuts in ccsm, but found no plugin for all-purpose shortcuts. Therefore I experimented with changing shortcuts of unity itself. Here I noted that setting the "RotateWindows" to some action (I chose open panel menu) works decently. It shows up as Xf86RotateWindows though. On the other hand setting 0xa1 is impossible. CCSM will just not recognize it when I press it.

So I summarize:

1) In the keyboard settings I can set both keys to actions although they won't work. However I can "free" keys for xbindkeys this way.
2) In CCSM I can only set the RotateWindows key, this works then. 0xa1 (161) gets ignored.
3) If I start xbindkeys, it can get a hold of 0xa1 by default, RotateWindows gets only free to grab if I set and unset it again in the keyboard settings.

I'm interested in doing any diagnostical work required. Thanks for having a look at this issue!