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 @j4k3@lemmy.world 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!
Idk that much about bazzite, but I’ve been running silverblue/kinote for awhile. /home shouldn’t be read only. Same for /etc and /var. Can you create any files in $HOME OR $HOME/.config/ ?
Yes - I can create (and later edit) files under /home/curious_dolphin, even under /home/curious_dolphin/.config, but for some reason once I’ve created a file under /home/curious_dolphin/.config/MangoHud, I cannot edit it even though the file and its parent directory appear to have the same permissions as the other files that I can edit.
In other words, after creating test.txt under /home/curious_dolphin/.config/MangoHud, I cannot edit it:
curious_dolphin@bazzite:~$ ls -la ./.config/MangoHud/ total 20 drwxr-xr-x. 1 curious_dolphin curious_dolphin 42 Feb 20 14:46 . drwxr-xr-x. 1 curious_dolphin curious_dolphin 552 Feb 20 14:47 .. -rw-r--r--. 1 curious_dolphin curious_dolphin 9671 Feb 20 12:22 MangoHud.conf -rw-r--r--. 1 curious_dolphin curious_dolphin 5 Feb 20 14:46 test.txt
However, after creating test.txt under /home/curious_dolphin/.config, I can edit it:
curious_dolphin@bazzite:~$ ls -la ./.config total 44 drwxr-xr-x. 1 curious_dolphin curious_dolphin 552 Feb 20 14:47 . drwx------. 1 curious_dolphin curious_dolphin 460 Feb 20 14:41 .. drwxr-xr-x. 1 curious_dolphin curious_dolphin 42 Feb 20 14:46 MangoHud -rw-r--r--. 1 curious_dolphin curious_dolphin 10 Feb 20 14:47 test.txt