Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to change SECONDLIFE_USER_DIR ?

Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
05-22-2008 01:18
I have several different viewers with differing logins and to different grids to handle and it is becoming a problem with clashing caches and settings.

From the README:
User data is stored in the hidden directory ~/.secondlife by default; you may
override this location with the SECONDLIFE_USER_DIR environment variable if
you wish.

How do we do this please?

And is that permanently on a folder by folder basis? Or does it have to be included in a command, say a shell script? And if a shell script is a better solution, have you got an example?

Because I have no idea of how to this.


Thank you, you nice person you:)
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------
Katherine Dyszel
Registered User
Join date: 11 Apr 2008
Posts: 7
changing environment variables
05-22-2008 04:09
export SECONDLIFE_USER_DIR="/some/new/directory"

put at at the top of a shell script that launches your viwer
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
05-22-2008 16:55
Nice one..Thank you.
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------