Unity-for-Arch icon indicating copy to clipboard operation
Unity-for-Arch copied to clipboard

Unity Tweak Tool - missing schemas

Open Tsiklon opened this issue 10 years ago • 6 comments

screenshot from 2015-05-26 22-06-31

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

Tsiklon avatar May 26 '15 21:05 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

auscompgeek avatar May 31 '15 01:05 auscompgeek

Aha! The directory moved to org.gnome.desktop.peripherals.touchpad. Go figure.

auscompgeek avatar May 31 '15 01:05 auscompgeek

This appears to be related to https://github.com/chenxiaolong/Unity-for-Arch/issues/215

ghost avatar May 31 '15 01:05 ghost

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')

tgharib avatar Jul 26 '15 16:07 tgharib

what if you don't even have this

site-packages

folder in python3.4?

roblav96 avatar Oct 28 '15 12:10 roblav96

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

roblav96 avatar Oct 28 '15 12:10 roblav96