Re: Using the super/windows key for keybindings



I've noticed this, too. Even when just assigning hotkeys from the System Settings Keyboard applet. Right super works, but not left. When I set the key assignemnt, even if I use the left super, only the right one works. Both are reported as Mod4.

Seth

On 05/14/2011 08:03 PM, Tim Cuthbertson wrote:
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.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sgsax ksu edu
785-532-7790


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