Bug#673612: Keyboard shortcuts no longer work with gnome-shell 3.4
Josh Triplett
josh at joshtriplett.org
Mon Jun 4 18:53:24 UTC 2012
clone 673612 -1 -2
retitle 673612 Keyboard shortcuts using <Super>+key no longer work: <Super> grabbed by the shell
forwarded 673612 https://bugzilla.gnome.org/show_bug.cgi?id=659899
retitle -1 Terminal, window movement, and custom keybindings not migrated from GConf to gsettings
reassign -2 gnome-core
retitle -2 Please increase versioned dependency on metacity to (>= 1:2.34.3-2) for gsettings schemas.
thanks
On Mon, Jun 04, 2012 at 12:34:03PM +0200, Michael Biebl wrote:
> On 20.05.2012 21:57, Josh Triplett wrote:
> > On Sun, May 20, 2012 at 12:36:09PM +0200, Michael Biebl wrote:
> >> On 20.05.2012 09:00, Josh Triplett wrote:
>
> >
> >> Keyboard shortcuts have been switched from gconf to gsettings.
> >> - Were existing shortcuts not migrated?
> >
> > Correct. The shortcut for a terminal has disappeared entirely rather
> > than migrating to a custom shortcut or similar. And the section for
> > window management shortcuts seems to have disappeared as well; I don't
> > see any way to add shortcuts for maximize, fullscreen, or move window to
> > top/bottom/left/right.
>
> The window manager keybinding definitions for g-c-c are shipped as
> /usr/share/gnome-control-center/keybindings/50-metacity-*.xml
> in metacity-common. After installing this package, you should be able to
> configure those keys in g-c-c again.
>
> We've been discussing, where to add a dependency on metacity-common
> (libmutter, g-c-c, gnome-shell) but haven't quite agreed on something yet.
gnome-core already has a dependency on metacity. However, I didn't
install metacity or metacity-common from experimental, so I didn't have
a version of metacity-common with the gsettings schemas until May 30th.
The window manager keybindings seem to show up now.
Might I suggest changing gnome-core's versioned dependency on metacity
to (>= 1:2.34.3-2)?
(Also, why does gnome-core depend on metacity, given that GNOME 3.4
doesn't actually use metacity, just metacity/mutter's libraries and
such?)
> The shortcut for a web browser has stopped
> > working as well.
>
> What is
> gsettings get org.gnome.settings-daemon.plugins.media-keys www
> set to?
~$ gsettings get org.gnome.settings-daemon.plugins.media-keys www
'<Super>b'
Looks like the bug report below regarding <Super> handling explains most
of this bug. I've retitled this bug accordingly, and cloned it for the
other issues.
> None of the shortcuts I've previously set appear
> > anywhere in the keyboard settings dialog.
>
> Were those custom shortcuts or did you just re-assign different keys to
> a predefined shortcut?
Both; I'd defined some new custom shortcuts and also assigned keys to
predefined shortcuts:
~$ gconftool-2 --config-source=xml:readwrite:/home/josh/.gconf.shared -R /apps/metacity
/apps/metacity/window_keybindings:
move_to_side_e = <Super>Right
move_to_side_s = <Super>Down
toggle_maximized = <Super>m
move_to_side_n = <Super>Up
toggle_fullscreen = <Super>f
move_to_side_w = <Super>Left
/apps/metacity/keybinding_commands:
command_1 = firefox -new-tab "about:blank"
/apps/metacity/global_keybindings:
run_command_terminal = <Super>n
run_command_1 = <Super>b
[...]
Now that I've upgraded metacity and metacity-common, some of the
shortcuts I want to set have shown up again. None of my previous
settings appear to have migrated, though.
> >> - Do keyboard shortcuts not work at all?
> >
> > The default shortcuts seem to work, for what they provide: alt-tab,
> > alt-F4, volume keys, screenshots, etc. I can also create keyboard
> > shortcuts using Ctrl+Alt+key and those work fine. Shortcuts using
> > Super+key don't, though.
>
> Regarding the poor handling of the Super key, see buxy's email and
> also https://bugzilla.gnome.org/show_bug.cgi?id=659899
>
> I'm not an expert on this matter, so help with this particular issue
> would be greatly appreciated.
That bug report makes the issue pretty clear. With the window manager
catching the <Super> modifier and using it to open the activities
overview, nothing other than the window manager can use <Super>+key for
shortcuts. So, all the <Super>+key shortcuts in gnome-settings-daemon
(such as launching a browser) don't work, but those in the window
manager (such as moving windows around) work just fine.
> > If I set the shortcuts to use a modifier other than Super, I can invoke
> > them. Any shortcut I set using Super does not seem to work, though the
> > keyboard settings dialog itself recognizes it just fine.
> >
> > Also, I see no way to recreate my existing shortcuts for maximization,
> > fullscreen, or moving windows up/down/left/right.
>
> See above, wrt. metacity-common
Now that I have the proper version of metacity-common installed,
shortcuts for maximize and fullscreen show up again. Shortcuts for
moving windows up/down/left/right don't exist anymore, though. However,
while I don't see them in the dialog anywhere, <Super>+left and
<Super>+right now maximize windows to the left and right halves of the
screen, which works nicely; <Super>+up and <Super>+down got mapped to
maximize and restore, which work for me. So, I don't actually need the
window movement keybindings anymore.
> Fwiw, the media keys are stored under
> org.gnome.settings-daemon.plugins.media-keys:
> gsettings list-recursively org.gnome.settings-daemon.plugins.media-keys
>
> The window management keybindings are stored under
> org.gnome.desktop.wm.keybindings:
> gsettings list-recursively org.gnome.desktop.wm.keybindings
Thanks,
Josh Triplett
More information about the pkg-gnome-maintainers
mailing list