cannot use the Unity Tweak Tool

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.


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