SuperMario
New Member
I recently had trouble with adding a new library location to Steam even though my drive was mounted. After a few days of tinkering, I managed to get it and I would just like to share my steps as it could save someone a lot of trouble.
Step 1.
Firstly I mounted my drive named minihdd in my /etc/fstab like this:
UUID=e90d70e6-95ce-4b95-b08b-e9b8a9f85253 /media/minihdd ext4 defaults 0 2
Step 2.
I ran these to give myself the needed permission
sudo chown -R myuser:myuser /media/minihdd
sudo chmod -R 755 /media/minihdd
Step 3.
Create a folder in the drive named SteamLibrary and inside that folder make another one named steamapps
Step 4.
Make sure Steam is closed when you do this, in the console you're going to edit the library JSON files of Steam itself
myuser@mypc:~$ nano /home/myuser/.var/app/com.valvesoftware.Steam/.local/share/Steam/config/libraryfolders.vdf
Step 5.
Now with the first file open in nano add a second JSON object just below the first default one of steam, once your done copy your object
"1"
{
"path" "/media/minihdd/SteamLibrary"
"label" ""
"contentid" "6523492605140113856"
"totalsize" "983350451712"
"update_clean_bytes_tally" "0"
"time_last_update_verified" "0"
"apps"
{
}
}
Step 6.
Make sure to copy your object from the previous step because it needs to be pasted again in this location:
myuser@mypc:~$ nano ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/libraryfolders.vdf
Step 7.
Now that it's completed open Steam again and you should see the new storage location added.
Step 1.
Firstly I mounted my drive named minihdd in my /etc/fstab like this:
UUID=e90d70e6-95ce-4b95-b08b-e9b8a9f85253 /media/minihdd ext4 defaults 0 2
Step 2.
I ran these to give myself the needed permission
sudo chown -R myuser:myuser /media/minihdd
sudo chmod -R 755 /media/minihdd
Step 3.
Create a folder in the drive named SteamLibrary and inside that folder make another one named steamapps
Step 4.
Make sure Steam is closed when you do this, in the console you're going to edit the library JSON files of Steam itself
myuser@mypc:~$ nano /home/myuser/.var/app/com.valvesoftware.Steam/.local/share/Steam/config/libraryfolders.vdf
Step 5.
Now with the first file open in nano add a second JSON object just below the first default one of steam, once your done copy your object
"1"
{
"path" "/media/minihdd/SteamLibrary"
"label" ""
"contentid" "6523492605140113856"
"totalsize" "983350451712"
"update_clean_bytes_tally" "0"
"time_last_update_verified" "0"
"apps"
{
}
}
Step 6.
Make sure to copy your object from the previous step because it needs to be pasted again in this location:
myuser@mypc:~$ nano ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/libraryfolders.vdf
Step 7.
Now that it's completed open Steam again and you should see the new storage location added.