HGL
foreign-sapphire

Heroic Games Launcher (Flatpak) ~/Games Folder

Upon launching the flatpak it auto generates the ~/Games folder with a Heroic folder inside. I am trying to prevent this as I have a custom folder for games mounted through a btrfs partition. I have configured the "default install path" and "new wine prefix folder path" as well as "wine prefix folder path" to point to said folder. I can install and run games just fine, I just want to prevent the automatic creation of the ~/Games folder
8 Replies
conscious-sapphire
conscious-sapphire5mo ago
you can modify Heroic's permissions using Flatseal
foreign-sapphire
foreign-sapphireOP5mo ago
I even checked the config.json file in the .var flatpak path and there is no mention of a ~/Games folder as well
conscious-sapphire
conscious-sapphire5mo ago
~/Games:create is there if you remove it, or remove the :create part it will not get created
foreign-sapphire
foreign-sapphireOP5mo ago
I would like to avoid flatseal if possible. Could I use a flatpak override for that? Could the HEROIC_GAMES_FOLDER environment variable maybe be set to the custom folder?
flat-fuchsia
flat-fuchsia5mo ago
If you're on KDE, flatpak perms are built into the system settings now
foreign-sapphire
foreign-sapphireOP5mo ago
A flatpak info --user --show-permissions com.heroicgameslauncher.hgl shows the ~/Games/Heroic:create you mentioned under [Context] and filesystems. I am running the equivalent of dwm on wayland. That's not really an option for me
dependent-tan
dependent-tan5mo ago
I think you can use flatpak override ... to change permissions without using flatseal https://www.man7.org/linux/man-pages/man1/flatpak-override.1.html
foreign-sapphire
foreign-sapphireOP5mo ago
Yeah flatpak override is probably the way to go. I just wonder if I can do a flatpak override --user --nofilesystem=~/Games Running flatpak override --user --nofilesystem=~/Games/Heroic com.heroicgameslauncher.hgl seems to have fixed the issue Marking this as solved, thanks for the help you guys :)

Did you find this page helpful?