How to copy ~/.kde from old system to new?

Nils Kassube kassube at
Mon Apr 28 06:15:41 UTC 2008

D. Michael McIntyre wrote:
> On second thought, the only way you can truly go wrong is if you forget
> the username and password you just created during the installation.  If
> you call yourself the same thing, you should take ownership of your own
> files when you boot the first time, but if you call yourself something
> different, your user will still own your old home directory, but you
> will own it in addition to your brand new home directory created from
> /etc/skel.

If you have multiple accounts, it may be a problem. If you create the 
accounts with the same names but in a different sequence than on the old 
system, the home directories will have the correct names but wrong 
ownership. The filesystem stores the ownership using numbers, not names. 
You would have to run a command like this:

cd /home; for d in *; do sudo chown -R $d:$d $d; done

As an alternative you could find out the UID/GID for each user with

ls -ln /home

before you create the accounts. Then use these numbers while creating the 


More information about the kubuntu-users mailing list