Gonzalo Garramuño
unread,May 21, 2024, 7:23:17 AMMay 21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fltkc...@googlegroups.com
I build my application on Rocky Linux 8.9. I try running it under a
fresh Ubuntu 22.04.4 LTS.
When I do, I get:
(mrv2:540344): GLib-GIO-ERROR **: 20:47:45.978: Settings schema
'org.gnome.settings-daemon.plugins.xsettings' does not contain a key
named 'antialiasing'
Trace/breakpoint trap (core dumped)
The work-around I am using is to:
sudo cp
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.bad
sudo nano
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
(remove lines 19 and 20)
< </schema>
< <schema
id="org.gnome.settings-daemon.plugins.xsettings.deprecated">
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
However, when I reported the bug to the Gnome guys, they suggested the
following:
That being said, from what I know about the gsettings API it is
intentional that it aborts when accessing non-existing schemas/keys to
make sure default values are only defined in one place and won't go out
of sync. If you still want to use schemas you have no control over and
fall back to custom default values for cases where they don't exist on a
system, you can use g_settings_list_schemas and g_settings_list_keys to
check if they exist before trying to access them.
The g_settings API seems like it is commented out and was used in:
drivers/X11/Fl_X11_Screen_Driver.cxx