Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] trouble with custom keyboard shortcuts in gnome 3.4
Date: Thu, 27 Sep 2012 02:17:55
Message-Id: CADPrc816cwHWPkTpDMN6jDLFLVFk7=y3DJ3E5gm=YWRurb42Rg@mail.gmail.com
In Reply to: Re: [gentoo-user] trouble with custom keyboard shortcuts in gnome 3.4 by "Canek Peláez Valdés"
1 On Wed, Sep 26, 2012 at 9:11 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
2 > On Wed, Sep 26, 2012 at 5:21 PM, Allan Gottlieb <gottlieb@×××.edu> wrote:
3 >> My new install is gnome 3.4, which is running pretty well.
4 >> I am having trouble with an (important-to-me) custom keyboard shortcut.
5 >>
6 >> I am an emacs user so changed many of the shortcuts to use the "Windows
7 >> key", i.e. super. This works Super+Up moves to the workspace above,
8 >> etc.
9 >
10 > Be aware that Super+Up, Super+Left, and Super+Right work for maximize,
11 > mazimize to the left, and maximize to the right.
12 >
13 >> However, I have had 2 custom keyboards with previous gnome's
14 >>
15 >> Super+T gnome-terminal
16 >> Super+E emacs
17 >>
18 >> This does not work. Pressing Super+T gives t, Super+E gives e.
19 >>
20 >> However if I set the shortcuts to be
21 >> alt+T gnome-terminal
22 >> alt+e emacs
23 >> it works fine. However, I can't give up alt+T and alt+e as they are
24 >> used in emacs.
25 >
26 > Known bug:
27 >
28 > https://bugzilla.gnome.org/show_bug.cgi?id=659899
29 > https://bugzilla.gnome.org/show_bug.cgi?id=655615
30 >
31 > Basically, GNOME Shell treats the Super key as special, and sometimes
32 > shortcuts binded to it fail. It is a bug, however, and devs are
33 > discussing how to handle it. In the mean time, may I recommend trying:
34 >
35 > Ctrl+Alt+e -> Emacs
36 > Ctrl+Alt+t -> Terminal
37 >
38 > It is not optimal, and the bug should be fixed. But it has a workaround.
39 >
40 > Regards.
41
42 BTW, it can be done with an extension (according to the bug) using
43 global.display.add_keybinding(). I haven't wrote any GNOME Shell
44 extension, but I've heard it's not difficult.
45
46 Regards.
47 --
48 Canek Peláez Valdés
49 Posgrado en Ciencia e Ingeniería de la Computación
50 Universidad Nacional Autónoma de México