Results 1 to 7 of 7

Thread: What not to copy in /home ?

  1. #1
    Join Date
    Jun 2006
    Location
    Antarctica
    Beans
    500
    Distro
    Kubuntu 12.04 Precise Pangolin

    What not to copy in /home ?

    Hello all,
    Linux has long made it easy to change system: just take /home/user and move it to the new system. Done. Or is it ? I noticed that if I do that, then the brand new shiny KDE seen on the first boot of the new system (before the copy), turn to an oldish looking style.

    So the question is: are there some subdirectories of ~ that are better off not being copied ? Maybe .local, .kde, .cache, .dbus, .gnome2 ?

    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    De Kwakel - Holland
    Beans
    3,657

    Re: What not to copy in /home ?

    Quote Originally Posted by dargaud View Post
    Hello all,
    Linux has long made it easy to change system: just take /home/user and move it to the new system. Done. Or is it ? I noticed that if I do that, then the brand new shiny KDE seen on the first boot of the new system (before the copy), turn to an oldish looking style.

    So the question is: are there some subdirectories of ~ that are better off not being copied ? Maybe .local, .kde, .cache, .dbus, .gnome2 ?

    Thanks
    Guess it depends on what version of KDE to what version of KDE you're copying. Are they the same version?
    I assume this is from Ubuntu to Ubuntu at least?

  3. #3
    Join Date
    Dec 2009
    Location
    Southern Maryland
    Beans
    1,575
    Distro
    Ubuntu

    Re: What not to copy in /home ?

    You're right. Many suggest removing your /.* files/directories on the home partition so that your configuration items do not carry into the new install and bork the system, particulary if you move from one version to another. Obviously the system will be different so what you have setup in Kubuntu 10.04, for example, will be different than Kubuntu 10.10. Unless you want to try to retain those settings and see how they work, removing them will force the system to install the current config options instead, or at least that's my best understanding of it.

  4. #4
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: What not to copy in /home ?

    Quote Originally Posted by TBABill View Post
    Many suggest removing your /.* files/directories on the home partition
    If I would do this, almost only the desktop background pictures would make it into the new home directory.
    How about you, dargaud, would it still make sense then, to copy it at all?

  5. #5
    Join Date
    Jun 2006
    Location
    Antarctica
    Beans
    500
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: What not to copy in /home ?

    It doesn't matter which kde version it is, it's more like a generic question. And as for removing ~/.* there are plenty of things that are worth keeping... So, nobody has made a list of those non-critical ones ?

  6. #6
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: What not to copy in /home ?

    That depends of course on the apps you use. Actually it is the critical ones, those regarding the actual OS/DE, which may cause difficulties. So, the approach should be to retain as much as necessary/possible of your real personal stuff, and leave the rest behind. If you can't stay off of moving them all, you need to check "~/.xsession-errors" afterwards, and sort out the issues one-by-one, and be prepared that it may even happen that you don't get to a desktop at all after moving the files/dirs.

  7. #7
    Join Date
    Dec 2008
    Beans
    369

    Re: What not to copy in /home ?

    Quote Originally Posted by dargaud View Post
    Maybe .local, .kde, .cache, .dbus, .gnome2 ?

    Thanks
    All of the above, and then some.

    The best way to make sure everything (settings, caches, etc) is copied seamlessly is with good ol' rsync.

    But if your themes and fonts were installed system-wide on the old system they need to be installed system-wide on the new one, or the themes/fonts you're using simply won't work.
    Last edited by deconstrained; March 16th, 2011 at 09:08 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •