vanilla-gnome-default-settings replaces some keybindings with non-vanilla defaults

Bug #1860382 reported by Nathaniel Smith
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-gnome-default-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm using Ubuntu 19.10, with the vanilla-gnome-default-settings package installed (version 18.10.1).

The vanilla-gnome-default-settings package contains a file:

/usr/share/glib-2.0/schemas/20_vanilla-gnome-default-settings.gschema.override

This contains a number of override settings, including:

```
[org.gnome.mutter.keybindings]
toggle-tiled-left = ['<Super>Left','<Primary><Super>Left']
toggle-tiled-right = ['<Super>Right','<Primary><Super>Right']
```

Despite the package name, these are *not* the vanilla gnome defaults. Upstream gnome sets these to just `['<Super>Left']` and `['<Super>Right']`; the bindings with `<Primary>` in them seem to be invented by Ubuntu. As evidence, here's the latest upstream schema for these settings:

https://gitlab.gnome.org/GNOME/mutter/blob/65401ed3f98928b6cdddc2099909ac26cceaed65/data/org.gnome.mutter.gschema.xml.in#L145

And unfortunately, these non-default bindings break the "PaperWM" extension: https://github.com/paperwm/PaperWM/issues/233

Examining my system, it looks like the version of `org.gnome.mutter.gschema.xml` that Ubuntu ships actually matches the upstream here. So I think the correct fix is to simply drop the `[org.gnome.mutter.keybindings]` section from the `20_vanilla-gnome-default-settings.gschema.override` file.

The fix can be verified by running `gsettings list-recursively | grep toggle-tiled`. If the output contains `<Primary>`, then that's bad. If it doesn't contain `<Primary>`, then that's good.

Revision history for this message
Tim Lunn (darkxst) wrote :

Hi,
  Thanks for your bug report. This package was originally Ubuntu-Gnome default settings and at that time contained a small selection of overrides we chose to keep for that project.

It would probably worth reviewing the remaining overrides as a larger collective and perhaps there are others that can also be dropped now.

Changing default key-bindings for an existing release (19.10) might not get past an SRU. but implementing the changes for Focal 20.04 should be ok.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-gnome-default-settings - 20.04.0

---------------
ubuntu-gnome-default-settings (20.04.0) focal; urgency=medium

  * debian/vanilla-gnome-default-settings.gsettings-override
    - Override Ubuntu theme settings for GDM
    - Switch backgrounds to upstream defaults
    - Drop keybinding overrides originally inherited from Unity (LP: #1860382)
    - Apply overrides to GNOME session only where relevant and drop
      some overrides no longer required
    - Use default Ubuntu logo on login screen
  * debian/control
    - Build-depend on debhelper-compat (= 12) and drop debian/compat.
    - Bump standards version
  * d/vanilla-gnome-default-settings.{preinst,postinst,prerm}:
    - Don't set gdm3.css anymore, instead set gdm3-theme.gresource
      by gnome-shell) (LP: #1868914)

 -- Tim Lunn <email address hidden> Sat, 21 Mar 2020 13:43:56 +1100

Changed in ubuntu-gnome-default-settings (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.