X-Git-Url: https://git.ralfj.de/bubblebox.git/blobdiff_plain/dedc0b1457e8991555d8031c1da687cbdaed83ae..a050464b530b491e7712be2a874662d474d30c55:/profiles.py?ds=inline diff --git a/profiles.py b/profiles.py index 57dc010..fb957d8 100644 --- a/profiles.py +++ b/profiles.py @@ -7,7 +7,8 @@ DEFAULT = group( bwrap_flags("--unshare-user", "--unshare-pid", "--unshare-cgroup"), # A different hostname is useful to be able to see when we are inside the sandbox. # However, some applications will not like this unless the hostname also exists in `/etc/hosts`! - bwrap_flags("--unshare-uts", "--hostname", "bubblebox"), + # Also, gnome-shell doesn't display window icons properly when this is set. + #bwrap_flags("--unshare-uts", "--hostname", "bubblebox"), # Make sure the sandbox cannot inject commands into the host terminal. # TODO: This flag breaks some CLI applications, like job control in shells. # Consider using SECCOMP instead. @@ -60,7 +61,7 @@ def DESKTOP(name): # 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", ".config/glib-2.0", ".XCompose", ".local/share/applications"): Access.Read, + (".config/fontconfig", ".fonts", ".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...)