Steam for Linux

Steam for Linux

Games default download folder
Hey,

I notice the games are downloaded in the /home/user/steam or something similar.
My /home/ partition is kinda small and I don't want Steam to download games there. I have a big partition mounted in /media/ . Is there a way to download Steam games there? (for ex: /media/Partition/steam )
I`m running Ubuntu 12.04 64bit. I'm not a linux guru, so a step-by-step guide would help a lot :-)
Thanks!
< >
Wyświetlanie 1-15 z 16 komentarzy
Cyb.org 7 listopada 2012 o 15:58 
mv $HOME/Steam /media/Partition/steam
ln -s /media/Partition/steam $HOME/Steam
steam
emilper 7 listopada 2012 o 15:58 
you can make a folder anywhere you like, for example /media/sparehdd/steam/ then link it in your home with
ln -s /media/sparehdd/steam /home/user/steam

Nolf.RocketRaccoon 7 listopada 2012 o 15:58 
Thanks, will try that out.
pidi12 7 listopada 2012 o 16:22 
yes, what they said, same method you'd use when linking to your steamapps folder from a wine prefix/crossover bottle.
"ln --help" or "man ln" may help =)
Nolf.RocketRaccoon 7 listopada 2012 o 16:45 
Ok, followed what you guys said, and I get the following:
/usr/bin/steam: line 64: exec: /media/Stuff/Games/steamubuntu/steam.sh: cannot execute: Permission denied

After googling a bit, apparently my partition isn't mounted with "exec".
I use this (a command I added in Startup Applications) to auto mount the partition (for some reason, seemed easier than to edit fstab):

/usr/bin/udisks --mount /dev/sda3

Is there anyway I can add the "exec" param to this command, or should I just use fstab to auto mount it?
Netist 7 listopada 2012 o 16:50 
sudo mount -o exec /dev/sda3 /mount/path

If the partition is always mounted, you should be using fstab, though.

Just add exec to the <options> column. Although, I believe using defaults under <options> enables exec.
gibblets 7 listopada 2012 o 17:03 
I'm confused as to why you would keep the ~/Steam directory/symlink at all if you wanted to move it... why not just change the ~/.steam/root symlink from ~/Steam to whever you want it to be? Just make sure you have user write access to wherever you move it.
Nolf.RocketRaccoon 7 listopada 2012 o 17:07 
This works :-)
Thanks!
Netist 7 listopada 2012 o 17:11 
Początkowo opublikowane przez Vash:
I'm confused as to why you would keep the ~/Steam directory/symlink at all if you wanted to move it... why not just change the ~/.steam/root symlink from ~/Steam to whever you want it to be? Just make sure you have user write access to wherever you move it.
You can't really change the directory from ~/Steam to something else. Not very easily, at least.

There's more involved than just ~/.steam/root

Not to mention that Steam has a habit of overwriting changes to these files.

This is why people have been complaining about it.
Ostatnio edytowany przez: Netist; 7 listopada 2012 o 17:12
gibblets 7 listopada 2012 o 17:15 
Hmm, didn't know it changed it back. What's the point of ~/.steam/root if it's not moveable? Why not just go directly to ~/Steam from the start? Maybe there's a way to change it through a variable?
Netist 7 listopada 2012 o 17:16 
Początkowo opublikowane przez Vash:
Hmm, didn't know it changed it back. What's the point of ~/.steam/root if it's not moveable? Why not just go directly to ~/Steam from the start? Maybe there's a way to change it through a variable?
I believe you can coax it into doing what you want by editing /usr/bin/steam

Like I said, it's kind of a pain. In fact, the file claims you can override the value on the command line. I haven't tried it yet, but judging by the reactions of others so far, it doesn't work as expected.
Ostatnio edytowany przez: Netist; 7 listopada 2012 o 17:17
lordjaba 22 listopada 2012 o 8:02 
Symlinkig is the way but not for "common" users. I was happy to see "steam library folders" but it was for short time. I add my "media" disk to the list but i still can't choose it during install. It shold be fixed.
SmileyChris 6 grudnia 2012 o 13:27 
I added a second library folder (to a separate mounted drive), same issue - there's no option to choose it during installation of a game.
Shusting 6 grudnia 2012 o 17:01 
I also have a small Home partition (didn't anticipate something like Steam when I was setting up my system.
I made a symbolic to redirect Steam to a larger NTFS drive I have, and now no games run, seemingly due to lack of perms.
I mount the drive with:
UUID=64AE912E7EB0CA74 /media/pacanlu ntfs-3g gid=users,fmask=0000,dmask=0000,exec 0 0
Any ideas?

P.S. Also, yeah, it seems like no games have the option to install anywhere but the default location. Maybe that feature hasn't been implemented in the Linux client yet.

Update: I changed it to
UUID=64AE912E7EB0CA74 /media/pacanlu ntfs-3g uid=1000,gid=1000,fmask=0000,dmask=0000,exec 0 0
and now TF2 launches, FTL still downloads 0 files, and I haven't tested anything else. I haven't had any luck connecting to a server on TF2 yet, and it's awfully slow to start up, but I'm pretty sure I've gotten past anything to do with permissions now.
Ostatnio edytowany przez: Shusting; 7 grudnia 2012 o 13:47
AgentGinpu 9 grudnia 2012 o 12:21 
+1 needs fix
< >
Wyświetlanie 1-15 z 16 komentarzy
Na stronę: 1530 50

Data napisania: 7 listopada 2012 o 15:52
Posty: 16