This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to backup Plasma 5 panels

Tags: None
(comma "," separated)
colinw
Registered Member
Posts
13
Karma
0

How to backup Plasma 5 panels

Sat Oct 10, 2015 5:58 pm
More info:
enbattery mysteriously kept being added to new panels I created until I stumbled apon:
~/.local/share/plasma/plasmoids and removed files with references to enbattery.

This seems to be some kind of local home for user-downloaded plasmoids.

Speaking of plasmoids, I would love to be able to figure out how to backup and restore my custom panels in kde5. A recent foray into fixing the desktop configuration vis-a-vis my external monitor wiped out my old panel with about 20 custom icons and shortcuts. What files would I have had to backup in *KDE5* to be able to restore the old panel? I'll start a new question as well.bAC
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: How to backup Plasma 5 panels

Sat Oct 10, 2015 6:21 pm
@colinw - I split this out from the thread you posted in as it is a separate topic


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
note: I don't really use Plasma 5 yet but this looks correct

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

Code: Select all
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 all
kquitapp plasmashell

2) restore backed up files

3) restart plasma
Code: Select all
plasmashell


OpenSuse Leap 42.1 x64, Plasma 5.x

colinw
Registered Member
Posts
13
Karma
0

Re: How to backup Plasma 5 panels

Sat Oct 10, 2015 9:01 pm
Just verified that this works. Thanks again, google01103!

Added bonus: turns out I had a recent backup of the whole .config directory - panel + shortcuts restored!
Ayhomaru
Registered Member
Posts
3
Karma
0
OS

Re: How to backup Plasma 5 panels

Thu Dec 12, 2019 9:34 pm
I did not find any plasma panel configs in ~/.config/panel* folders (I have kde plasma version 5.17). I actually found plasma desktop layout settings (including the default kde plasma panel) stored in this file:
Code: Select all
~/.local/share/plasma/look-and-feel/United/contents/layouts/org.kde.plasma.desktop-layout.js


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]