Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
    
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? –  Idan Arye Mar 14 '12 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 –  Henrik Nymann Jensen Mar 15 '12 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. –  Idan Arye Mar 16 '12 at 2:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.