this post was submitted on 20 Feb 2025
16 points (100.0% liked)

Linux Gaming

16370 readers
627 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

EDIT:

I solved the problem by creating the file somewhere editable and creating a link to the file under /home/curious_dolphin/.config/MangoHud, which enables me to configure MangoHud in a text file without using Goverlay. Credit to @[email protected] for the tip. Thanks to all who chimed in.

ORIGINAL POST:

I'm having a hard time configuring MangoHud on Bazzite. I've perused MangoHud's GitHub and Bazzite's documentation, but I'm stuck because once I've created MangoHud.conf, I cannot edit it despite double checking the file permissions. When I attempt to save my changes, it says "Error opening file /home/curious_dolphin/.config/MangoHud/MangoHud.conf: Read-only file system." I get that I'm on an immutable distro, so this is by design, but in this case, how do I configure MangoHud? I'd like to do this without using Goverlay if possible.

Steps to reproduce the issue:

  • In Bazzite, open up the file browser, browse to /home/curious_dolphin/.config/, and create the MangoHud directory.
  • In the file browser, enter the new MangoHud directory and create the MangoHud config file by right clicking and selecting New Document > MangoHud.conf.
  • Right click the new .conf file and select "Open With Text Editor."
  • Make desired edits in the text editor.
  • Hit Ctrl+S to save my changes.

Result:

"Error opening file: Read-only file system"

I've checked the file permissions. -rw-r--r--. 1 curious_dolphin curious_dolphin 9671 Feb 20 12:22 ./.config/MangoHud/MangoHud.conf.

Can anyone point me in the right direction? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 day ago* (last edited 1 day ago) (1 children)

You are supposed to use /var/home/user instead of /home/user in your paths, scripts, etc (or /var/$HOME). Im not certain on the why but iirc its because on immutable systems only /var is writable so anything writable has to be under it.

[–] [email protected] 2 points 21 hours ago

Thanks for chiming in. I've confirmed creating the file in the file browser under "Home > .config > MangoHud" places the file in /var/home/curious_dolphin/.config/MangoHud, so I'm still scratching my head as to why I'm unable to edit the document after the initial save. As a workaround, I've placed the config file in my top level home folder (aka /var/home/curious_dolphin) w/ a link to it from /var/home/curious_dolphin/.config/MangoHud where the app expects, and this seems to be working as desired.