From dedc0b1457e8991555d8031c1da687cbdaed83ae Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 7 May 2024 16:44:46 +0200 Subject: [PATCH 1/1] provide some non-default settings to GTK3 apps --- profiles.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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", -- 2.30.2