I'm working on the next version of writerdeckOS and want to have two default directories in the home folders for any users created:
- Documents
- USBs (which will be linked to plugged in USBs)
I'm moving out of user space and into global space. So with that, I'm trying to determine where the "default populated folders" are configured (note: I'm using a headless version of Debian as my base OS).
Turns out SOOOOO much is controlled by the desktop environment!!! Like much of your default folders are specifically configured within Gnome, or XFCE, or KDE, etc.
But I'm not using a desktop environment. I'm using Bash as a Command Line Interface with Tmux as a multiplexor.
So I sorted out where Bash sets out its default folder schema and default user profiles, etc in Debian headless.
It's in /etc/skel !!!! Cool!!!!
So I created a unique directory in /etc/skel in my base build installation. Then used Penguins Eggs to build me an installation ISO...
...and sure enough!!! The default folder is in both my Live instance and in my installed instance!!!!
Yay!!!!
Next I'll see if I can get that "USBs" folder to sync with a global mount point... that's gonna be goofy...
#writerdeckOS #writerdeck #linux