Mirrored ~/.config ?

Post here if you are a new Porteus member and you're looking for some help.
User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Mirrored ~/.config ?

Post#31 by blue4meridian » 05 Sep 2015, 18:48

Salutations... :good:

Yes. That is the exact syntax of the mirror.sh script.

Best Regards... :beer:

tome
Contributor
Contributor
Posts: 571
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Mirrored ~/.config ?

Post#32 by tome » 05 Sep 2015, 19:52

I tried tome's suggestion and it boots to the default "guest" desktop
However... the "guest" desktop does not mirror the "root" (superuser) desktop
Instead of

Code: Select all

cp -a
use

Code: Select all

cp -af

User avatar
brokenman
Site Admin
Site Admin
Posts: 5542
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Mirrored ~/.config ?

Post#33 by brokenman » 05 Sep 2015, 20:20

I think the problem here is you want to boot into guest and then copy the root config files into guest, then own them. You will need to either put this earlier in the boot sequence (before guest logins) or use sudo so that guest does not need to enter a password for sudo.

The other thing is that perhaps not ALL config files for your desktop reside in /home/guest/.config. Some universal configs may live in /etc or /usr.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Mirrored ~/.config ?

Post#34 by blue4meridian » 05 Sep 2015, 21:08

Salutations... :good:

@ tome... tried it but still no change.
@ brokenman... ~/rootcopy/etc/* and ~/rootcopy/usr/* are my preferred method of "overwriting" default (global?) parameters.

However... ~/.config/* is easier than ~/rootcopy/etc/* or ~/rootcopy/usr/*.

Best Regards... :beer:

Posted by 100.1.102.215 via http://webwarper.net
This is added while posting a message to avoid misusing the service
Last edited by blue4meridian on 05 Sep 2015, 22:24, edited 7 times in total.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Mirrored ~/.config ?

Post#35 by Bogomips » 05 Sep 2015, 22:02

Can now safely bow out with arrival of cavalry. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply