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

Where settings of (suspended) activities are stored

Tags: activities, settings activities, settings activities, settings
(comma "," separated)
User avatar
hook
Registered Member
Posts
205
Karma
0
OS
My old laptop died, so I had to reinstall the whole system and restore from backups. Due to a different screen size by 2", I decided not to just drop the whole KDE settings, but restore bit by bit.

There is an activity that amongst other stuff includes some vital text pasted on the Plasma Notes that I *need* for my work. So as you can imagine, I want to get hold of that and paste it onto the new install.

The only problem is that while the backups were being made, that specific activity was suspended.

Normally, running activities are storred in ~/.kde4/share/apps/plasma-desktop/activities/ and the filename is its activityId, which looks like a hash or random alphanumeric string. But suspended activities are not storred there.

I managed to figure out what that activity's activityId, by looking at ~/.kde4/share/config/activitymanagerrc.

(while I am writing this I stumbled upon the actual solution, so I'm just going to post it below if anyone else needs it)

So the settings for all activities are stored in ~/.kde4/share/config/plasma-desktop-appletsrc and there you have to:
  • find the Containments number (e.g. 156), by matching it with the activity name (e.g. "Work") or activityId (e.g. "e0073cee-a806-4956-ab33-f467c10a3074")
  • match that number (e.g. 156) with other entries in that file, where you can see the contents/settings of the plasmoids in a tree-structure


It's time to prod some serious buttock! ;)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
By Plasma Notes, you are referring to an applet on your desktop correct?
If so, you will probably find the content of these notes in the "plasma-desktop-appletsrc" file.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
hook
Registered Member
Posts
205
Karma
0
OS

Sat Sep 07, 2013 11:58 am
bcooksley wrote:By Plasma Notes, you are referring to an applet on your desktop correct?
If so, you will probably find the content of these notes in the "plasma-desktop-appletsrc" file.


Yes, and I did find them there. The character encoding was a bit off, but easily fixed :]


It's time to prod some serious buttock! ;)


Bookmarks



Who is online

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