Re: Using the super/windows key for keybindings



i am guessing these basic hotkeys are hardcoded in the interface, like Alt+' also, which in my case is Alt+0, since i am using a hungarian keyboard, but it works nevertheless, unlike these Ctrl+Y and other keybindings of brosers for example. 
please keep in mind that laptops don't have right super key, so writing extensions that use that key cannot be used by people whi have laptops.

T.


On 16 May 2011 15:47, Seth Galitzer <sgsax ksu edu> wrote:
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

_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list



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