[Bug 1946794] [NEW] unity-tweak-tool: GLib-GIO-ERROR

Launchpad Bug Tracker 1946794 at bugs.launchpad.net
Sat Dec 4 20:23:09 UTC 2021


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

unity-tweak-tool_0.0.7+-0ubuntu9 is giving an GLib-GIO-ERROR:

(unity-tweak-tool:8927): GLib-GIO-ERROR **: 15:26:30.421: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'antialiasing'
Trace/breakpoint trap (core dumped)

This is probably coming from /usr/lib/python3/dist-packages/UnityTweakTool/section/spaghetti/theme.py which is still referencing "antialiasing" and "hinting" instead of "font-aliasing"
and "font-hinting" as in the new schema in desktop.interface:

diff theme.py theme.py.fixed 
166c166
<         if gsettings.antialiasing.get_string('antialiasing') == 'none':
---
>         if gsettings.antialiasing.get_string('font-antialiasing') == 'none':
168c168
<         elif gsettings.antialiasing.get_string('antialiasing') == 'grayscale':
---
>         elif gsettings.antialiasing.get_string('font-antialiasing') == 'grayscale':
170c170
<         elif gsettings.antialiasing.get_string('antialiasing') == 'rgba':
---
>         elif gsettings.antialiasing.get_string('font-antialiasing') == 'rgba':
174c174
<         if gsettings.antialiasing.get_string('hinting') == 'none':
---
>         if gsettings.antialiasing.get_string('font-hinting') == 'none':
176c176
<         elif gsettings.antialiasing.get_string('hinting') == 'slight':
---
>         elif gsettings.antialiasing.get_string('font-hinting') == 'slight':
178c178
<         elif gsettings.antialiasing.get_string('hinting') == 'medium':
---
>         elif gsettings.antialiasing.get_string('font-hinting') == 'medium':
180c180
<         elif gsettings.antialiasing.get_string('hinting') == 'full':
---
>         elif gsettings.antialiasing.get_string('font-hinting') == 'full':

Sorry for the late bug report but got tied up working on gtk3-nocsd for
GTK4.

If you don't have a Unity desktop to test on and want to test your changes
before commit I have a 21.10 machine setup with Unity for testing purposes
and will be glad to test it for you if needed.

Thanks,
Brett "WolfMan" Bogert
bbogert24 at gmail.com

** Affects: unity-tweak-tool (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch
-- 
unity-tweak-tool:  GLib-GIO-ERROR
https://bugs.launchpad.net/bugs/1946794
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list