© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•2y ago•
6 replies
Geechan

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:

Traceback (most recent call last):
  File "/app/lib/python3.10/site-packages/gradience/frontend/main.py", line 623, in apply_color_scheme
    PresetUtils().apply_preset("gtk4", self.preset)
  File "/app/lib/python3.10/site-packages/gradience/backend/theming/preset_utils.py", line 258, in apply_preset
    with open(
OSError: [Errno 30] Read-only file system: '/home/geechan/.var/app/com.github.GradienceTeam.Gradience/config/gtk-4.0/gtk.css'
Traceback (most recent call last):
  File "/app/lib/python3.10/site-packages/gradience/frontend/main.py", line 623, in apply_color_scheme
    PresetUtils().apply_preset("gtk4", self.preset)
  File "/app/lib/python3.10/site-packages/gradience/backend/theming/preset_utils.py", line 258, in apply_preset
    with open(
OSError: [Errno 30] Read-only file system: '/home/geechan/.var/app/com.github.GradienceTeam.Gradience/config/gtk-4.0/gtk.css'


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/
/home/
where it should be
/var/home/
/var/home/
. I've run into this same issue with some other apps too, and it always required me to manually specify
/var/home/
/var/home/
, but Gradience lacks an option to specify the working directory.

If there's a proper solution to fix the
/home
/home
symlink issues (or if it's a different problem entirely), I'd appreciate some help. Thanks!
Solution
Update: fixed by setting the flatpak file permissions
xdg-config/gtk-3.0:ro
xdg-config/gtk-3.0:ro
and
xdg-config/gtk-4.0:ro
xdg-config/gtk-4.0:ro
to
xdg-config/gtk-3.0
xdg-config/gtk-3.0
xdg-config/gtk-4.0
xdg-config/gtk-4.0
for Gradience, respectively. Gradience doesn't play nicely with the default permissions
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Read-only file system error trying to install MangoHUD
BazziteBBazzite / 🛟bazzite-help
2y ago
Read only system suddenly
BazziteBBazzite / 🛟bazzite-help
7mo ago
Installing drivers with a read-only file system
BazziteBBazzite / 🛟bazzite-help
3y ago
Setting up Razer Nari headset - "read-only file system"
BazziteBBazzite / 🛟bazzite-help
2y ago