Using the super/windows key for keybindings



I'm currently writing an extension (for tiling windows) that I want to
add a lot of global keybindings for. There are two problems with this:

Firstly, it may be hard to get my work merged since I'm pretty sure
the only way it can currently be done is by adding to mutter's
all-keybindings.h, and the keybindings will be useless without my
extension. However, I'm sure a lot of other extensions could be in a
similar boat, and I'm hopeful that something can be done to make these
settings modifiable at runtime rather than baked in at compile time.

The bigger problem for my prototype right now is that I can't seem to
add any keybindings that work with the left super (windows) key. I've
tried adding both:

keybind (key_win_t,         handle_win_t, 0, BINDING_PER_WINDOW,
"<Mod4>t", _("Win-t"))
   and
keybind (key_win_t,         handle_win_t, 0, BINDING_PER_WINDOW,
"<Super>t", _("Win-t"))

Both of these work and do indeed trigger my javascript callback when
the *right* super key is pressed (with "t"), but neither work when the
left super key is used.

Is this a known bug? Is there any way to work around it? I'm trying to
mimic the keyboard shortcuts for bluetile, so it's reasonably
important that I be able to use the super key in shortcuts...

Cheers,
 - Tim.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]