Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Default directory for user data

Neva Zuhal
Registered User
Join date: 1 Oct 2006
Posts: 1
01-20-2007 19:15
How do I set the default directory for user data to a different directory than .home? The README shows the command SECONDLIFE_USER_DIR but I haven't been able to get it to work. I have been trying

SECONDLIFE_USER_DIR="/home/myhomedirectory/asubdirectory/.secondlife". What is the proper way to set this?

Thanks
Alejandro Rosenthal
Freethinker
Join date: 13 Oct 2006
Posts: 22
01-20-2007 23:08
"SECONDLIFE_USER_DIR" is an evironmental variable, not a command. You will need to export it into the environment before starting Second Life.

Add this to your ~/.bashrc (assuming you're using bash as your shell. Most Linux systems do by default.):
CODE
export SECONDLIFE_USER_DIR="/path/to/new/.secondlife"

After you have done so, execute it as a command in the current shell so you will not have to logout and login for the shell to be aware of the change.

As an alternative, if this is only temporary, you can do this:
CODE
cd /path/to/Second_Life
SECONDLIFE_USER_DIR="/path/to/new/.secondlife" ./secondlife


I have tested both methods on my box and they do, indeed, work.

Hope this helps.

-- AR