chenxiaolong / Unity-for-Arch

Porting Ubuntu's Unity Shell to Arch Linux
161 stars 40 forks source link

Unity Tweak Tool - missing schemas #214

Open Tsiklon opened 9 years ago

Tsiklon commented 9 years ago

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

auscompgeek commented 9 years ago

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 commented 9 years ago

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

ghost commented 9 years ago

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

tgharib commented 9 years ago

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

roblav96 commented 8 years ago

what if you don't even have this

site-packages

folder in python3.4?

roblav96 commented 8 years ago

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