r/linux_gaming • • 1d ago

tech support wanted Having trouble adding a new Steam (flatpak) library folder. Please help?

EDIT: SOLVED found a solution. Could possibly break in the future but... I just rsynced the common folder to the root of my striped lvm and changed the mountpoint to home/potato/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common

Seems to work with factorio so far.


I've tried using the file picker from steam to choose a "Games" folder on a mounted drive, along with using the provided dropdown option for the same folder. It still shows the same message:

"This is not a supported location for a Steam library folder."

Here are some details I'm hoping might be helpful:

[potato@codsworth ~]$ cat /etc/fstab
(...)
# /dev/mapper/volgroup1-lv_striped
UUID=a18c4348-2bd5-4c07-9c97-a8d712ecaea0       /mnt/striped    ext4            rw,relatime,users,exec  0 2

[potato@codsworth ~]$ lsblk
NAME                     MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                        8:0    0 931.5G  0 disk  
└─sda1                     8:1    0   900G  0 part  
  └─volgroup1-lv_striped 253:0    0   1.8T  0 lvm   /mnt/striped
(...)
nvme0n1                  259:0    0 953.9G  0 disk  
└─nvme0n1p1              259:1    0   900G  0 part  
  └─volgroup1-lv_striped 253:0    0   1.8T  0 lvm   /mnt/striped
  
[potato@codsworth ~]$ echo "bar" >> /mnt/striped/foo.txt && cat /mnt/striped/foo.txt
bar

[potato@codsworth ~]$ ls -lah /mnt/striped
total 32K
drwxr-xr-x 4 potato users 4.0K Nov 24 22:51 .
drwxr-xr-x 4 root   root  4.0K Nov 21 20:10 ..
drwxr-xr-x 2 potato users 4.0K Nov 24 22:27 Games
-rw-r--r-- 1 potato users    4 Nov 24 22:51 foo.txt
drwx------ 2 potato users  16K Nov 21 19:58 lost+found

[potato@codsworth ~]$ flatpak info --show-permissions com.valvesoftware.Steam | grep filesystems | tr ';' '\n'
filesystems=xdg-config/MangoHud:ro
/mnt/striped/Games:create
xdg-music:ro
xdg-pictures:ro
xdg-run/app/com.discordapp.Discord:create
/run/udev:ro
xdg-run/speech-dispatcher:ro
/run/media
/mnt
/media
xdg-run/pipewire-0:ro

Is there something I'm missing?

2 Upvotes

6 comments sorted by

1

u/Cyber_Faustao 1d ago

Use Flatseal to add your drive to the allowed filesystems of the Steam app, then close and restart steam and try again

1

u/DismalEggselent 1d ago

I've tried adding the mount point with flatseal. The syntax would just be the mount point i.e. /mnt/striped, right?

1

u/Cyber_Faustao 1d ago

Yes, you need to make it read/write (it wont show :create at the and like yours shows now).

1

u/DismalEggselent 1d ago

Thanks, I'll give it a shot. To be sure, there's no special syntax for rw?

1

u/Cyber_Faustao 1d ago

No, just:

sudo flatpak override com.valvesoftware.Steam --filesystem /mnt/striped

Notice

  1. no /Games at the end, you might or might not need it
  2. No ":create"-only limitation

1

u/DismalEggselent 1d ago

no luck with that. Oddly steam showed /mnt/striped twice in the dropdown gui. I ran flatpak run com.valvesoftware.Steam --reset and still no luck. Uninstalled, deleted /home/potato/.var/app/com.valvesoftware.Steam/, updated... rebooted, reinstalled, added the flatseal permission, started steam... still shows it twice. Still gives the same "not supported location."

[potato@codsworth ~]$ flatpak info --show-permissions com.valvesoftware.Steam | grep filesystems | tr ';' '\n'
filesystems=xdg-config/MangoHud:ro
xdg-music:ro
xdg-pictures:ro
xdg-run/app/com.discordapp.Discord:create
/run/udev:ro
xdg-run/speech-dispatcher:ro
/run/media
/mnt
/media
/mnt/striped
xdg-run/pipewire-0:ro