From: Ralf Jung Date: Tue, 7 May 2024 14:44:46 +0000 (+0200) Subject: provide some non-default settings to GTK3 apps X-Git-Url: https://git.ralfj.de/bubblebox.git/commitdiff_plain/dedc0b1457e8991555d8031c1da687cbdaed83ae provide some non-default settings to GTK3 apps --- diff --git a/profiles.py b/profiles.py index 3d395c5..57dc010 100644 --- a/profiles.py +++ b/profiles.py @@ -56,10 +56,13 @@ def DESKTOP(name): }, }), X11(), - # Access to some key user configuration + # Access to some key user configuration. + # We set GSETTINGS_BACKEND to make GTK3 apps use the config file in ~/.config/glib-2.0. + # (The "right" solution here is probably the settings portal...) home_access({ - (".config/fontconfig", ".XCompose", ".local/share/applications"): Access.Read, + (".config/fontconfig", ".config/glib-2.0", ".XCompose", ".local/share/applications"): Access.Read, }), + bwrap_flags("--setenv", "GSETTINGS_BACKEND", "keyfile"), # Access to basic d-bus services (that are hopefully safe to expose...) dbus_proxy_flags( "--call=org.kde.StatusNotifierWatcher=@/StatusNotifierWatcher",