Siduction Forum

Siduction Forum => Software - Support => Topic started by: jure on 2018/12/20, 19:36:01

Title: Desktop Design wieder herstellen
Post by: jure on 2018/12/20, 19:36:01
Hallo zusammen,

wo finde ich die config Dateien für das kpl Desktop Design, also Arbeitsfläche und die kpl untere Leiste. Ich möchte die aus einem backup wieder herstellen ...
Es geht um kde.


Gruß

Juergen

Title: Re: Desktop Design wieder herstellen
Post by: piper on 2018/12/20, 20:00:02
If your talking plasma5, and I haven't done this in awhile, so I don't know if this still works.

Backup your plasma files, appears to be ~/.config/plasma* (this will also backup the plasma-workspace folder)


Code: [Select]
tar -cf plasma-backup-`date +%Y-%m-%d--%H-%M` ~/.config/plasma*


To restore you would need to stop plasma and restore the backed up files

1) stop plasma


Code: [Select]
kquitapp plasmashell

2) restore backed up files

3) restart plasma


Code: [Select]
plasmashell   
Title: Re: Desktop Design wieder herstellen
Post by: melmarker on 2018/12/20, 21:30:19
unfortunally piper isn't right - jure, search  /etc/skel - and if there are any questions  (most people will have, even kde devs) try irc
Title: Re: Desktop Design wieder herstellen
Post by: piper on 2018/12/20, 21:36:04
Well, i just tested with restoring plasma 5 panels and it worked like a charm, gonna try other things
Title: Re: Desktop Design wieder herstellen
Post by: piper on 2018/12/20, 22:14:09
The problem with /etc/skel way would be uuid's

/.config/khotkeysrc as an example

Code: [Select]
[Data]
DataCount=4

[Data_1]
Comment=KMenuEdit Global Shortcuts
DataCount=1
Enabled=true
Name=KMenuEdit
SystemGroup=1
Type=ACTION_DATA_GROUP

[Data_1Conditions]
Comment=
ConditionsCount=0

[Data_1_1]
Comment=Comment
Enabled=true
Name=Search
Type=SIMPLE_ACTION_DATA

[Data_1_1Actions]
ActionsCount=1

[Data_1_1Actions0]
CommandURL=http://google.com
Type=COMMAND_URL

[Data_1_1Conditions]
Comment=
ConditionsCount=0

[Data_1_1Triggers]
Comment=Simple_action
TriggersCount=1

[Data_1_1Triggers0]
Key=
Type=SHORTCUT
Uuid={d03619b6-9b3c-48cc-9d9c-a2aadb485550}

Restoring stuff like that to a new system may not work as intended, although I haven't used /skel since lfs
Title: Re: Desktop Design wieder herstellen
Post by: melmarker on 2018/12/21, 00:14:42
piper - there is some black magic in - so nobody can say  that my or your method will work with new versions :D
Title: Re: Desktop Design wieder herstellen
Post by: jure on 2018/12/21, 09:42:14
thx piper & melmarker

I just copy the corresponding plasma files from my luckbackup snapshots to ~/.config
an the old design was back ;-)

Adjusting these in kde systemsetting is  :'(
Title: Re: Desktop Design wieder herstellen
Post by: piper on 2018/12/21, 15:30:11
@Jure

Yes, that will work also, I have done that before, it works great backing up seconds before a new install

luckybackup still works good, I just tested this, haven't used it in many years.

@Melmrker

I agree, but I did have some good reading with skel & uuid's
Title: Re: Desktop Design wieder herstellen
Post by: melmarker on 2018/12/21, 19:54:44
piper - it's not about the uuids part - but the kde/plasma configs are js magic - so i have a look only at release times - my little knowledge might be outdated :D