How can I install games on a different drive using Heroic Launcher?
Asked by
TechieTurtle84
I'm new to Ubuntu after leaving behind Windows 11, and I have three internal hard drives set up. Drive 1 is a small SSD where Windows 10 used to run, Drive 2 is a larger one dedicated to programs, and Drive 3 is for data storage. I've created symlinks for these drives to organize them nicely in my home directory.
Now, I want to install a game from GOG using Heroic Launcher on Drive 2, but it's currently putting the game files in a hidden directory: ./.var/app/com.heroicgameslauncher.hgl/Programs/LutisLibrary/Planescape Torment - Enhanced Edition/. I'm not sure how to find out where this is or how to configure Heroic to install directly on the D: drive (Drive 2). Any advice on how to approach this?
Answers
All your Flatpak apps, including Heroic Launcher, keep their files in the .var directory. Since they're sandboxed, they can't interact with everything automatically. Using Flatseal can help you configure permissions. For instance, I have configured Flatseal to allow my game managers to access directories like /mnt/Programs/. Make sure you check the settings in Heroic Launcher tooโthere's usually an option to designate where your games are stored.
Reply to this answer
It sounds like you're dealing with Flatpaks, which tend to be sandboxed and have limited access to your file system by default. You might want to check out Flatseal to manage these permissions. One way I do it is by creating a symlink to the storage drive in my home directory. This lets the application see that link and access files more easily. Give that a tryโit's pretty straightforward!
Reply to this answer
If you're using something like Bottles for managing games, you can set fake drive letters that point to your actual Linux folders. I gave my Bottles instance permission to access /mnt/Programs/ through Flatseal and mapped that to a 'D drive.' So when I install games, I can select that location right in the installer interface. It might be worth checking if Heroic Launcher or other similar tools have a feature like this.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions