Pre-configure gnome

Josef Wolf jw at raven.inka.de
Mon Oct 16 16:14:12 UTC 2023


Hello,

I want to preconfiure gnome desktop for all users. For this, I create
/usr/share/glib-2.0/schemas/50_my-settings.gschema.overide with desired
settings and run glib-compile-schemas to create the database.

Unfortunately, not all of my seetings are honored, although my file has the
highest precedence because it starts with 50_* and all other overrides start
with 00_* or 10_*.

Investigating the situation reveals that some keys have an extension of
":GNOME" or ":ubuntu" like this:

  $ grep -A3 gnome.mutter *override
  $ 00_org.gnome.shell.gschema.override:[org.gnome.mutter:GNOME]
  $ 00_org.gnome.shell.gschema.override-attach-modal-dialogs=true
  $ 00_org.gnome.shell.gschema.override-edge-tiling=true
  $ 00_org.gnome.shell.gschema.override-dynamic-workspaces=true
    --
  $ 10_ubuntu-settings.shell.gschema.override:[org.gnome.mutter:ubuntu]
  $ 10_ubuntu-settings.shell.gschema.override-attach-modal-dialogs=true
  $ 10_ubuntu-settings.shell.gschema.override-edge-tiling=true
  $ 10_ubuntu-settings.shell.gschema.override-dynamic-workspaces=true
    --
  $ 50_my-settings.shell.gschema.override:[org.gnome.mutter]
  $ 50_my-settings.shell.gschema.override-edge-tiling=true
  $ 50_my-settings.shell.gschema.override-dynamic-workspaces=true
  $ 50_my-settings.shell.gschema.override-

I suspect those :GNOME and :ubuntu extensions might be the reason that my
settings are ignored.

Can somebody elaborate?

Thanks!

-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list