Debian Bug report logs - #675982
Terminal, window movement, and custom keybindings not migrated from GConf to gsettings

version graph

Package: gnome-shell; Maintainer for gnome-shell is Debian GNOME Maintainers <[email protected]>; Source for gnome-shell is src:gnome-shell (PTS, buildd, popcon).

Reported by: Josh Triplett <[email protected]>

Date: Sun, 20 May 2012 07:03:01 UTC

Severity: important

Found in version gnome-shell/3.4.1-1

Full log


Message #47 received at [email protected] (full text, mbox, reply):

Received: (at control) by bugs.debian.org; 4 Jun 2012 18:53:35 +0000
From [email protected] Mon Jun 04 18:53:35 2012
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 265; spammy,
	1. spammytokens:0.998-1--mutters hammytokens:0.000-+--biebl, 0.000-+--Biebl,
	0.000-+--H*u:1.5.21, 0.000-+--H*UA:1.5.21, 0.000-+--H*u:2010-09-15
Return-path: <[email protected]>
Received: from relay4-d.mail.gandi.net ([217.70.183.196])
	by busoni.debian.org with esmtp (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1SbcPH-0003Mc-3e; Mon, 04 Jun 2012 18:53:35 +0000
X-Originating-IP: 217.70.178.131
Received: from mfilter11-d.gandi.net (mfilter11-d.gandi.net [217.70.178.131])
	by relay4-d.mail.gandi.net (Postfix) with ESMTP id 8093B1720A1;
	Mon,  4 Jun 2012 20:53:31 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter11-d.gandi.net
Received: from relay4-d.mail.gandi.net ([217.70.183.196])
	by mfilter11-d.gandi.net (mfilter11-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024)
	with ESMTP id owWP0zJRJkrs; Mon,  4 Jun 2012 20:53:29 +0200 (CEST)
X-Originating-IP: 50.43.46.74
Received: from leaf (static-50-43-46-74.bvtn.or.frontiernet.net [50.43.46.74])
	(Authenticated sender: [email protected])
	by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 93B08172071;
	Mon,  4 Jun 2012 20:53:28 +0200 (CEST)
Date: Mon, 4 Jun 2012 11:53:24 -0700
From: Josh Triplett <[email protected]>
To: Michael Biebl <[email protected]>
Cc: [email protected]
Subject: Re: Bug#673612: Keyboard shortcuts no longer work with gnome-shell
 3.4
Message-ID: <20120604185323.GA19385@leaf>
References: <20120520070033.3108.18954.reportbug@leaf>
 <[email protected]>
 <20120520195753.GA9217@leaf>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.21 (2010-09-15)
Delivered-To: [email protected]
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



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:54:26 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.