Gradience fails to apply themes. "OSError Read-only file system"
The Gradience flatpak refuses to apply any themes I give it, whether it's my generated ones or the ones included (such as the Vapor theme). It spits out the following error on trying to apply the theme:
I have a pretty good guess as to what's going on, but not sure how to resolve it. I believe Gradience is trying to access my home directory, but fails to read the symlink under
/home/
where it should be /var/home/
. I've run into this same issue with some other apps too, and it always required me to manually specify /var/home/
, but Gradience lacks an option to specify the working directory.
If there's a proper solution to fix the /home
symlink issues (or if it's a different problem entirely), I'd appreciate some help. Thanks!Solution:Jump to solution
Update: fixed by setting the flatpak file permissions
xdg-config/gtk-3.0:ro
and xdg-config/gtk-4.0:ro
to xdg-config/gtk-3.0
xdg-config/gtk-4.0
for Gradience, respectively. Gradience doesn't play nicely with the default permissions2 Replies
Solution
Update: fixed by setting the flatpak file permissions
xdg-config/gtk-3.0:ro
and xdg-config/gtk-4.0:ro
to xdg-config/gtk-3.0
xdg-config/gtk-4.0
for Gradience, respectively. Gradience doesn't play nicely with the default permissionsinteresting, that should have been default
I will see about adding that to the flatpak setup service
so it's configured ahead of time