from cyberwolfie@lemmy.ml to linux@lemmy.ml on 20 Jan 21:14
https://lemmy.ml/post/25009748
Flatseal won’t start by itself anymore, which is a known issue. I got it running by running
GSK_RENDERER=gl com.github.tchx84.Flatseal
and inspired by a response in the above linked issue, I wanted to add GSK_RENDERER=gl
as a variable in Flatseal so I could open it without having to manually run this in the terminal.
However, I seem to have screwed that up, and written GSK_RENDERER=ng
instead, because the application still won’t run, and now I get the following output anytime I try to open it by the method above:
(com.github.tchx84.Flatseal:2): Gsk-WARNING **: 22:09:54.997: Unrecognized renderer "ng". Try GSK_RENDERER=help MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:782: FINISHME: support YUV colorspace with DRM format modifiers MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:814: FINISHME: support more multi-planar formats with DRM modifiers Gdk-Message: 22:09:55.406: Error 71 (Protocol error) dispatching to Wayland display.
However, I can’t for the life of me seem to correct this. I’ve tried running the above command again, I’ve tried overriding it with flatpak
:
flatpak override --env=GSK_RENDERER=gl com.github.tchx84.Flatseal
(which yielded a “permission denied”, and nothing happening after running with sudo)
I’ve reinstalled the applications several times, including removing the config files from ~/.var/app/com.github.tchx84.Flatseal
and checked that /var/app/
does not contain any config files.
I just want to reset the user input changes I made to this flatpak and start over, but I’m getting no where…
threaded - newest
.
Sorry I originally posted around permissions as I misunderstood; deleted that. The solution is below:
If it’s a user installed flatpak you should find the config files in:
~/.local/share/flatpak/overrides
Edit the document for the flatseal app. Thats where flatseal or the flatpak override tool makes it’s config changes for user installed flatpaks (including env overrides). You can also delete the flatseal file (which will be the name of the flatpak - com.github.tchx84.Flatseal) "to set back to default.
There will only be a few files - files are only created when there are overrides set. Anything running default permissions/config won’t have an override file.
EDIT: For completeness, for System wide flatpaks all the files are in:
/var/lib/flatpak
Just to explain why they’re stored there: you’re trying to change the config of the sandbox itself not the app. Flatpak manages the sandbox and it is flatpak that needs to know what permission an app should have. Any files in “~/.var/app/…” pertain to the app itself inside it’s sandbox.