12

I can't change themes in my Ubuntu 15.04 after update. It says:

The following schema is missing
org.gnome.settings-daemon.peripherals.touchpad

I've used the dconf editor but touchpad doesn't appear. Mouse and keyboard setting also doesn't open.

2 Answers2

11

It's a configuration error in UTT. You need to update some configuration files to use:

org.gnome.desktop.peripherals.touchpad

instead of

org.gnome.settings-daemon.peripherals.touchpad

Just open terminal and type:

sudo -H gedit /usr/lib/python3/site-packages/UnityTweakTool/section/system.py

Then change the following lines so they look like:

  • Line 182: 'schema' : 'org.gnome.desktop.peripherals.touchpad',
  • Line 193: 'schema' : 'org.gnome.desktop.peripherals.touchpad',
  • Line 205: 'schema' : 'org.gnome.desktop.peripherals.touchpad',

Save changes, close gedit and, again in terminal:

sudo -H gedit /usr/lib/python3/site-packages/UnityTweakTool/section/spaghetti/gsettings.py

Change the following line to:

  • Line 114 (in 15.10 its line 120): touch = gnome('desktop.peripherals.touchpad')

Save and exit. UnityTweakTool should now start without problems.

Note:

If you can't find /usr/lib/python3/site-packages/, then you should have /usr/lib/python3/dist-packages/ instead.

muru
  • 207,228
2

The missing schemas are provided by the gnome-settings-daemon-schemas package.

Try to reinstall it with (in a terminal):

sudo apt-get install --reinstall gnome-settings-daemon-schemas

The schemas should now be installed in:

/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml