[How To] Setup External Drives With Steam Flatpak

With Windows, all you have to do is plug in your formatted external drive, go in Steam, and tell it to use the external drive for your games library. But on Linux, its a lot harder. First and formost, when you buy a hard drive, it never comes preformatted for Linux.

The first thing your going to want to do after plugging in your new external drive, is go into your DISKS utility, and format the DISK to use GPT. Once done, create a EXT4 partition using available space. Once done, click on the > symbol to mount the drive.

For security reasons, the drive is automatically permissioned to ROOT only, this is a problem, the permissions need to be changed. Hold CTRL ALT T to open terminal. Sudo -i then enter your password. Now type nautilus and this will open Nautilus with root privileges.

Right click on your external drive and go to properties. Now go to permissions. Change everything that says Read Only, to Create And Delete files. Make sure "Group" is set to your username. Go to the extra permissions for enclosed files, and do the same there.

After your done with that, you might notice a couple of folders already on the drive called Lost In Found, and Trash, which are only viewable, if you have hidden files turned off by holding CTRL H. If you set your permissions correctly, you will see these files under the NON-ROOT version of Nautilus.

Make sure to delete those folders, as Steam has extreme oddities about it, in the fact it only wants to create a Steam library on the drive, if there are no other files and folders on the drive. If anything is already on the drive, Steam acts like a toddler who wants it, its way right now.

By default, Flatpak apps have no direct communication with ROOT portions of your Linux OS. Supposedly the next step can be done by terminal, but I never could get it to work.

Easiest way, is to install the app called FLATSEAL. The goal, is to make Steam Flatpak see the /mnt root directory. There is a section in there to add directories, and if you scroll down, you'll find it. Just click on the + symbol, and simply type in /mnt.

If you've done everything correctly, you should be able to go into Steam now, go to settings, then to downloads, then to steam library. You should be able to add a library on your external drive by clicking on the + symbol. Navigate to the /mnt directory, choose that, and you should be able to go from there.

Hope this helps...


5 Likes

Moved to Tutorials.

2 Likes

Brain freeze been thawed, thanks mate

4 Likes

Hey man, I went through the trouble of creating a profile on here so I could thank you. Thank you for taking the time to put this out there. I was tinkering on the Latest Ubuntu and I was running into the same issue. I am glad someone took the time to make a post about Flatseal, I had never heard of it!!! Again thank you!!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Moved topic since we have a Gaming category now.


1 Like

This didn't work for me :sweat_smile: I followed everything in the tutorial, but when i opened the terminal and typed "nautilus" I get an error message. Other than that I did everything exactly as you wrote

You are at the part where you are going to select the drive to change permissions I assume. Make sure you type

sudo nautilus then type your password.

I'd be really surprised if Nautilus is not installed, it comes with Zorin OS, as its the default file manager.


You can ignore the message or open nautilus with

nautilus admin:/
1 Like

Oooo, I like that, fancy!


Thanks for the tip! I'm definitely doing something wrong tho since it's still not working. I'm also a Linux noob, still learning hehe. I tried "nautilus admin:/" now, seems to go well. Do I now right click on the drive in the left side of the file manager with the icons or do I click through a folder

1 Like

Thats perfectly ok, you are learning, and learning is fun, and adds new skills to your bucket. :slightly_smiling_face:

Correct, right click the drive in your screenshot, then click properties, then go to the permissions tab. Then do what I showed in my screenshot. :+1:

You are doing great, believe in yourself as I believe in you. :handshake:


Haha thank you! Loving Linux so far, except when it gets a little difficult hehe. I've got the permissions correct exactly as in your pictures. And deleted the Lost In Found and Trash. I've also got the Flatseal app and wrote "/mnt" under the Filesystem tab. I then go to Steam to add the drive, but it still does absolutely nothing when I try to add it.

When trying to add the drive, where do I click from here?

You add the drive in steam under storage, not in the OS file manager.

You click on the + icon, them select your drive from the down arrow. Steam should see the drive, especially if it has been mounted. According to your screenshot, it is mounted. Maybe you need to restart the computer if your having issues, or restart the steam app IDK.

Steam should see your mounted drive, if you enabled it in Flatseal.

Additionally:

When you have your drive selected, as seen in my screenshot, make sure to click on the 3 horizontal dots, and make drive default. In doing so, you will see a yellow star, as seen in my screenshot.


That's the issue, it doesn't appear in the list so I have to click Add Drive which then opens up the file manager in the screenshot before

Apologies, its been just under a year since I last did this for my 2TB drive, and memories fade.

Yes, you are on the right track. Click add drive, it does open OS file manager, you are correct!

Then select the drive you want to add on the left side list.

Then click the select button upper right. It should accept the drive.

Again, its been awhile since I done this, and my brain got a bit zapped by a stroke early this year, so things take me a bit longer now.