Unity-for-Arch
Unity-for-Arch copied to clipboard
Unity Tweak Tool - missing schemas

Hi i've noticed that when you go to use Unity-Tweak-Tool its displaying the contents of the above screenshot. i don't have a copy of the default from ubuntu /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml
thanks, -Tsiklon
org.gnome.settings-daemon.peripherals.touchpad.deprecated seems to exist in the that schema instead of org.gnome.settings-daemon.peripherals.touchpad.
I tried replacing all instances of this (in /usr/lib/python3.4/site-packages/UnityTweakTool/section, grep for touchpad), but then I just get this:
(unity-tweak-tool:9732): GLib-GIO-ERROR **: attempting to create schema 'org.gnome.settings-daemon.peripherals.touchpad.deprecated' without a path
Aha! The directory moved to org.gnome.desktop.peripherals.touchpad. Go figure.
This appears to be related to https://github.com/chenxiaolong/Unity-for-Arch/issues/215
For anyone confused on how to apply auscompgeek's fix, you need to update the following lines to use org.gnome.desktop.peripherals.touchpad instead of org.gnome.settings-daemon.peripherals.touchpad:
/usr/lib/python3.4/site-packages/UnityTweakTool/section/system.py
Line 182> 'schema' : 'org.gnome.desktop.peripherals.touchpad', Line 193> 'schema' : 'org.gnome.desktop.peripherals.touchpad', Line 205> 'schema' : 'org.gnome.desktop.peripherals.touchpad',
/usr/lib/python3.4/site-packages/UnityTweakTool/section/spaghetti/gsettings.py
Line 113>touch = gnome('desktop.peripherals.touchpad')
what if you don't even have this
site-packages
folder in python3.4?
FIX:
If you can't find /usr/lib/python3/site-packages/, then you should have /usr/lib/python3/dist-packages/ instead.
http://askubuntu.com/questions/616267/cannot-use-the-unity-tweak-tool