Mirrored ~/.config ?

Post here if you are a new Porteus member and you're looking for some help.
tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Mirrored ~/.config ?

Post#16 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
You have mind and feelings. Be wise and clever.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Mirrored ~/.config ?

Post#17 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.

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

Re: Mirrored ~/.config ?

Post#18 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