[Cuis-dev] Cuis directories

Hilaire Fernandes hfern at free.fr
Thu Jul 23 02:24:17 PDT 2026


Hi Juan,

Le 22/07/2026 à 17:03, Juan Vuletich a écrit :
> Hope this helps.

I observed a different behavior for the userBaseDirectory

To clarify, my bundles application has this structure:

hilaire at PCHome:/tmp$ tree -A -L 2 DyboApp/
DyboApp/
├── DyboAppMulti.sh
├── DyboApp.sh
├── License.txt
├── Logs
│   └── transcript.txt
├── README
├── Resources
│   ├── dkm
│   ├── graphics
│   ├── image
│   ├── myExports
│   ├── myPDF
│   ├── refData
│   ├── scripts
│   └── userData
├── UserChanges
│   ├── dybo-dau.user.changes
│   └── dybo.user.changes
├── UserPrefs.txt
└── VM
     └── Linux-x86_64

As you can see the UserPrefs.txt is saved in DyboApp; so 
#userBaseDirectory is set there, I did not, so Cuis does.

I observed different behavior compare to what you described. To me the 
#userBaseDirectory is set at the location from where is started my 
application.

For example:

cd /tmp
./DyboApp/DyboApp.sh

#userBaseDirectory => /tmp

The former UserPrefs.txt *is not found*


cd /tmp/DyboApp
./DyboApp.sh

#userBaseDirectory => /tmp

The former UserPrefs.txt *is found*


cd /home/hilaire/Documents
/tmp/DyboApp/DyboApp.sh

#userBaseDirectory => /home/hilaire/Documents


Of course I can set #userBaseDirectory to whatever value I want, for 
example ~/.config/dyboapp/ But how is set its default value?

As it will be super useful when building Cuis application, I created a 
new documentation in the DrCuis workbench 
(https://github.com/DrCuis/Workbench/wiki/Cuis-Base-Directories). I will 
edit it all along our discussion. Of course, every one is welcome to 
edit it too.

Thanks

Hilaire

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260723/8736ccf7/attachment.htm>


More information about the Cuis-dev mailing list