Page 1 of 1

(Solved) [3.2.2] [x64] placing /root/.config using symlink

Posted: 16 Jan 2017, 23:19
by Oracle
I intended to place .config using symbolic link to /mnt/sda1/personalization/root/.config

So all the personalization changes will be saved automatically,

I copied all 001,002 and 003 /root/.config files to /mnt/sda1/personalization/root/.config,
replace .config folder in 001,002,and 003 with absolute symbolic link to /mnt/sda1/personalization/root/.config
xzm them, reboot

But too bad, it doesn't works :%) could anyone help me?

001-core /root
=====
.bash_profile
.bashrc
.config/
...mc/
......ini
002-xorg /root
=====
.config/
...gnome-mplayer/
......gnome-mplayer.conf
003-xfce4 /root
=====
.cache/
.config/
...Thunar/
...autostart/
...dconf/
...gecko-mediaplayer/
...gnome-player
...mimeapps.list
...xfce4/
.local/
.mplayer/

Re: [3.2.2] [x64] placing /root/.config using symbolic link

Posted: 17 Jan 2017, 08:11
by tome
You don't need rebuild all modules, add only one module https://www.dropbox.com/s/irrquelyxwk00 ... 7.xzm?dl=1 to your base or modules directory inside porteus folder. This module should be loaded as last, therefore 9999-... in name, and you can't use old changes if they contain /root/.config.

BTW, why only /root/.config and not whole /root symlink, another root subdirectories and files are also important for keeping changes.

Re: [3.2.2] [x64] placing /root/.config using symbolic link

Posted: 17 Jan 2017, 09:02
by Oracle
Thank you tome, :Bravo: :Bravo: :Bravo: :Bravo: :Bravo:
This is very cool, I gonna try create it later, now I could symbolic link anything I wish to preserve.

Where to read about the 9999 stuff module numbering load order?

Re: [3.2.2] [x64] placing /root/.config using symbolic link

Posted: 17 Jan 2017, 16:05
by Oracle
I just tried it, the desktop become totally different,

After you logon, it produces a choice to use default or empty panel,

Use Default
Image

Use Empty Panel
Image

All the pre-configured settings from official ISO gone :%)

Re: [3.2.2] [x64] placing /root/.config using symbolic link

Posted: 17 Jan 2017, 16:07
by Oracle
Could I use 000 xzm for symbolic link purpose? Create folders? For personalization? :fool:

Re: (Solved) [3.2.2] [x64] placing /root/.config using symli

Posted: 17 Jan 2017, 22:12
by Oracle
Just figured out how stupid I am, :wall:

Thanks tome, your solution work flawlessly, :D :D :D :D :D

To others who want to use such method of personalization, you must copy all the files & directories from booted /root/.config to /mnt/sda1/personalization/root/.config first :Yahoo!:

After reboot, changes will link to your personalize folder.

Re: (Solved) [3.2.2] [x64] placing /root/.config using symli

Posted: 18 Jan 2017, 00:26
by Oracle
I created the following to have permanent updatable USM support. :D
root@porteus:/mnt/sda1/098-usm# find . -ls
786433 4 drwxr-xr-x 5 root root 4096 Jan 18 06:17 .
786436 4 drwxr-xr-x 4 root root 4096 Jan 18 06:22 ./usr
786438 4 drwxr-xr-x 2 root root 4096 Jan 18 06:23 ./usr/share
655407 0 lrwxrwxrwx 1 root root 39 Jan 18 06:22 ./usr/share/usm -> /mnt/sda1/personalization/usr/share/usm
786437 4 drwxr-xr-x 2 root root 4096 Jan 18 06:22 ./usr/bin
655510 0 lrwxrwxrwx 1 root root 40 Jan 18 06:22 ./usr/bin/usmgui -> /mnt/sda1/personalization/usr/bin/usmgui
655509 0 lrwxrwxrwx 1 root root 37 Jan 18 06:22 ./usr/bin/usm -> /mnt/sda1/personalization/usr/bin/usm
786434 4 drwxr-xr-x 2 root root 4096 Jan 18 06:17 ./var
655511 0 lrwxrwxrwx 1 root root 33 Jan 18 06:16 ./var/usm -> /mnt/sda1/personalization/var/usm
786435 4 drwxr-xr-x 2 root root 4096 Jan 18 06:15 ./etc
655397 0 lrwxrwxrwx 1 root root 33 Jan 18 06:15 ./etc/usm -> /mnt/sda1/personalization/etc/usm