hi all,
since i’m new to plasma, i’m playing around a lot with the themes. i would like to save my current made desktop “theme” (modifications of panels, colors, widgets etc pp.) to be able to try existing themes including the offered desktop layout - and can switch back afterwards.
a way may be to just copy ~/.config/*, but that’s to inaccurate. so the question is:
which files would have be to saved and restored for this?
if this is clear, i can simply generate a one liner, which can do the job. i think that may help other users as well (-:
best, me (-:
it’s difficult to say what all you would need to save because no one but you knows what you have added/customized on your desktop.
~/config
and ~/.local/share
are both places where your tweaks can be saved, but there are also other directories where stuff is stored by the system
i would suggest having a look at konsave for ideas about where things are stored and if you need to save them or not.
the config file gives lots of insights into where things are stored.
1 Like
that’s true. i had the built in global theme switcher in mind, which may have a scope of files which get touched when a global theme including desktop layouts is applied. may be i try to dig into the source of that as well.
i found this topic, btw, which is pretty close, and interestingly leads to this KDE Feature Request.
switching the theme plus desktop and monitoring the file activities would be another idea. one had to sort out the files which coincidentally would have been modified at the same time, which makes it second choice.
thank you very much for your helpfull answer, and the very interresting link to konsave! indeed the configs give a good starting point!
i think i’ll try to contribute in the feature request, so this topic may be flagged as closed.
thanks again and have a great day, KDE plasma is absolutly beautifull, btw.
best, me (-:
sudo pacman -S konsave
will save your configuration with konsave -S (name you want)
and restore it with konsave -a (saved name)