Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-02-16 09:54:59



Reply to topic  [ 5 posts ] 
Is it possible to load settings from another directory 
Author Message

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
I tried to load settings from the directory ~/.coolvl as follows (running in terminal window)

/opt/CoolVLViewer-x86_64-1.31.0.11/cool_vl_viewer --settings ~/.coolvl/user_settings/settings_coolvlviewer_1310.xml

the viewer started with:
Running from /opt/CoolVLViewer-x86_64-1.31.0.11
Sourcing /opt/CoolVLViewer-x86_64-1.31.0.11/cool_vl_viewer.conf...
Sourcing /home/mich/.secondlife/cool_vl_viewer.conf..

and the session ended with this warning:
2023-10-29 14:22:40Z WARNING: LLControlGroup::saveToFile: Unable to open settings file: /home/mich/.secondlife/user_settings//home/mich/.coolvl/user_settings/settings_coolvlviewer_1310.xml
so it appended the settings directory I had in mind, to the .secondlife directory.

I would like to know if it is possible to use the 'old' --settings directive.



2023-10-29 14:41:19
Profile

Joined: 2009-03-17 18:42:51
Posts: 5915
Reply with quote
The settings file you pass in the command line via "--settings" is always prefixed with the settings directory path (i.e. it is not supposed to be a full path, but just a filename).

Simply use:
Code:
cp ~/.coolvl/user_settings/settings_coolvlviewer_1310.xml ~/.secondlife/user_settings/settings_coolvlviewer_1310-2.xml
/opt/CoolVLViewer-x86_64-1.31.0.11/cool_vl_viewer --settings settings_coolvlviewer_1310-2.xml


Or, if you want the viewer to use /home/mich/.coolvl/ instead of /home/mich/.secondlife/ for its files:
Code:
export SECONDLIFE_USER_DIR="/home/mich/.coolvl"
/opt/CoolVLViewer-x86_64-1.31.0.11/cool_vl_viewer


But with Linux, they are many more options, such as using symbolic links... Or even using a full custom wrapper script in ~/.secondlife/cool_vl_viewer.conf ...


2023-10-29 15:30:23
Profile WWW

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
Thank you. I haven't used the old variables in a long time, though I used to.
I noticed that all files that belong to The CoolVL Viewer are in ~/.SecondLife except all my CoolVL Viewer chat logs are in ~/.coolvl so I wanted to consolidate that, to begin with.


2023-10-29 19:26:17
Profile

Joined: 2009-03-17 18:42:51
Posts: 5915
Reply with quote
RossoAms wrote:
except all my CoolVL Viewer chat logs are in ~/.coolvl so I wanted to consolidate that, to begin with.
You can also configure the chat/IM logs directory from the "Preferences" floater "IM & logs" tab, once logged in.


2023-10-29 19:34:29
Profile WWW

Joined: 2023-10-03 14:07:30
Posts: 58
Reply with quote
Henri Beauchamp wrote:
RossoAms wrote:
except all my CoolVL Viewer chat logs are in ~/.coolvl so I wanted to consolidate that, to begin with.
You can also configure the chat/IM logs directory from the "Preferences" floater "IM & logs" tab, once logged in.


Oh sure.


2023-10-30 12:37:08
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.