You are not logged in.

#1 2010-11-21 03:20:14

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

.wine is placed in /root partition intead of /home

I am attempting to install Steam, but have an issue.  I made separate partitions when I installed Arch for /root, /boot, /swap, and /home.  My /root partition is not very large (~8Gb if I remember correctly) and therefore is unable to handle large files (such as all of the Orange Box games under Steam). 

I am installing steam as per the wiki (https://wiki.archlinux.org/index.php/Steam), and when I do winecfg for the first time to create an initial ~/.wine, it makes the folder on my /root partition instead of my /home partition, like I want it.  As a result, when I attempt to install steam games (such as TF2), it does not have enough disk space.

Is there a way to make winecfg make the .wine folder in a different directory (and have wine point to it), or did I do something wrong by making /root a separate partition?

Thanks in advance.

Offline

#2 2010-11-21 03:24:23

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: .wine is placed in /root partition intead of /home

You should *not* be the root user, when running wine.

$ echo $HOME
/root

Last edited by brebs (2010-11-21 03:24:47)

Offline

#3 2010-11-21 03:25:20

Snowknight
Member
Registered: 2009-06-11
Posts: 55
Website

Re: .wine is placed in /root partition intead of /home

You can set the variable WINEPREFIX to specify a different directory. Try running WINEPREFIX=/home/wine-steam/ wine steam.exe. You can add export WINEPREFIX=<path here> to your bashrc to make it the default. But I'm more interested in your partition layout. Could you post your fstab here? It's not completely related to this issue. Well, maybe.

Last edited by Snowknight (2010-11-21 03:26:08)

Offline

#4 2010-11-21 03:31:41

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

Re: .wine is placed in /root partition intead of /home

I feel dumb.  I know better than to do such things but I forgot to log out of SU after installing wine with Pacman.  Thank you much!

Offline

#5 2010-11-21 03:47:44

daemonspecter
Member
Registered: 2010-11-21
Posts: 11

Re: .wine is placed in /root partition intead of /home

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

#/dev/sda3 /boot ext2 defaults 0 1
#/dev/sda4 / ext4 defaults 0 1
#/dev/sda5 /home ext4 defaults 0 1
#/dev/sda6 swap swap defaults 0 0
/dev/sda3 /boot ext2 defaults 0 1
/dev/sda4 / ext4 defaults 0 1
/dev/sda5 /home ext4 defaults 0 1
/dev/sda6 swap swap defaults 0 0




Edit: Sorry I should have edited the last post instead of adding my own at the end, I don't use forums often enough >.<

Last edited by daemonspecter (2010-11-21 03:53:13)

Offline

#6 2010-11-21 08:41:41

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: .wine is placed in /root partition intead of /home

daemonspecter wrote:

I feel dumb.  I know better than to do such things but I forgot to log out of SU after installing wine with Pacman.  Thank you much!

Why not just use sudo when your using Pacman etc?

Offline

#7 2010-11-21 13:03:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: .wine is placed in /root partition intead of /home

You can use https://wiki.archlinux.org/index.php/Color_Bash_Prompt to get an e.g. red prompt if you're running root - hopefully this way you won't install or edit files as root if you don't need to, because you will be reminded by the red prompt.

Offline

Board footer

Powered by FluxBB