3

I'm a KDE user, and When I switch Linux distributions, I don't want to copy my entire home folder, since most of the configuration files there will be created automatically when I install\run programs on the new installation.

There are, however, some applications that I've put a lot of work into their configuration, and I like to hand-pick their configuration files that I want to migrate to the new installation.

Now, I'm having trouble doing that with the KDE configuration itself - I can't find my way around the .kde and .kde4. I don't want to migrate the entire folder - but I need some specific settings from there.

So, the question is - what do I need to do to migrate the following KDE settings:

  • File associations
  • Activities

That's it. I need a way to migrate those - be it copying specific files, copying parts of files, or using a tool.

Thanks in advance!

2 Answers 2

5

All the file associations are stored in

  • ~/.local/share/applications/mimeapps.list

For the KDE acitivies have a look at these files

  • activitymanagerrc

  • plasma-desktop-appletsrc

3
  • OK, the mime types file looks simple enough, and so is activitymanagerrc, But plasma-desktop-appletsrc seems full of legacy configurations. Is it enough if I copy the Containment section that have activity= set to the activity I want to migrate, and all the Containment sections that have the same index? Commented Mar 14, 2012 at 22:54
  • 1
    plasma-desktop-appletsrc stores the plasma containments, so applets, wallpaper and stuff like that for your activity. It might be sufficient to copy the section with the activity id. But im not sure if this is the recommend practice. I would copy activitymanagerrc, plasma-desktoprc and plasma-desktop-appletsrc to be safe Commented Mar 15, 2012 at 20:34
  • OK, thanks! Though seeing how messy that file is, I think I prefer to configure that activity myself than to carry legacy configurations. Commented Mar 16, 2012 at 2:08
0

This tool will do the job: https://github.com/nekromoff/kde-migrant It works for any KDE version.

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. Commented Mar 26 at 0:25

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.