FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 04-26-2008, 01:34 AM
"Dotan Cohen"
 
Default How to copy ~/.kde from old system to new?

I have installed Kubuntu 8.04 on the same computer that had 7.04 . I
need to copy 7.04's ~/.kde and ~/.qt folders over to the 8.04 user's
home directory, however, because KDE is running I am getting errors
rewriting files. I tried deleting 8.04's ~/.kde folder and the just
coping, however the system recreates the folder as soon as I erase it.
I no longer have the LiveCD as I passed it on to my neighbor who is
probably installing this very moment. How can I work directly with the
~/.kde folder while KDE is running? Thanks in advance.

Note: 7.04 system was KDE 3.5.8, 8.04 system is KDE 3.5.9.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-26-2008, 01:56 AM
"John DeCarlo"
 
Default How to copy ~/.kde from old system to new?

On Fri, Apr 25, 2008 at 9:34 PM, Dotan Cohen <dotancohen@gmail.com> wrote:

How can I work directly with the

~/.kde folder while KDE is running? Thanks in advance.


I would kill kdm and copy it from the command line.

--
John DeCarlo, My Views Are My Own
--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-26-2008, 04:23 PM
Sylviane et Perry White
 
Default How to copy ~/.kde from old system to new?

On Saturday 26 April 2008 03:34, Dotan Cohen wrote:
> I have installed Kubuntu 8.04 on the same computer that had 7.04 . I
> need to copy 7.04's ~/.kde and ~/.qt folders over to the 8.04 user's
> home directory,
(snip)
Hi,
Please excuse my ignorance but I wonder why you need to copy those folders and
if that is good practice. I would fear that by trying only to restore some
custom settings you had on 7.04 you could overwrite 8.04 files with
incompatible older files.
Could someone elaborate on this?

Just out of curiosity, but thanks anyway Perry

--
BOFH excuse #138: BNC (brain not connected)

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-26-2008, 06:39 PM
Bruce Marshall
 
Default How to copy ~/.kde from old system to new?

On Saturday 26 April 2008, Sylviane et Perry White wrote:
> Hi,
> Please excuse my ignorance but I wonder why you need to copy those folders
> and if that is good practice. I would fear that by trying only to restore
> some custom settings you had on 7.04 you could overwrite 8.04 files with
> incompatible older files.
> Could someone elaborate on this?
>
> Just out of curiosity, but thanks anyway****************Perry

My thoughts are a bit different.

I have always kept my /home from release to release and had very minimal
trouble. That and the fact that I back up /home every night makes it an
easy task.

I usually install a new release on a 'lab rat' machine on the first go and
find any problems that way. But if I were to do it on my primary machine, I
would make a copy of /home before I upgraded.

In no way would I wish the swapping of files from an old release to a new
release manually. Too easy to miss something.

On the other hand, copying all of ~/.kde over from an older release
shouldn't be a problem because if something goes bad, you can always delete
the copy and start .kde from scratch on the new release. And still have
your old copy of it.

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-26-2008, 07:46 PM
Nils Kassube
 
Default How to copy ~/.kde from old system to new?

Bruce Marshall wrote:
> On the other hand, copying all of ~/.kde over from an older release
> shouldn't be a problem because if something goes bad, you can always
> delete the copy and start .kde from scratch on the new release. And
> still have your old copy of it.

Overwriting ~/.kde with data from an older release should never be a
problem because the files will be updated to the new version after the
next login. However overwriting with data from a newer version than the
actually started version might be a problem.


Nils

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-26-2008, 09:03 PM
"Michael W. Holdeman"
 
Default How to copy ~/.kde from old system to new?

On Friday 25 April 2008 21:56:18 John DeCarlo wrote:
> On Fri, Apr 25, 2008 at 9:34 PM, Dotan Cohen <dotancohen@gmail.com> wrote:
> > How can I work directly with the
> > ~/.kde folder while KDE is running? Thanks in advance.
>
> I would kill kdm and copy it from the command line.

I usually do this as well, but alwaqys have trouble getting my emails to copy?

Mike

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-27-2008, 02:42 PM
Larry Hartman
 
Default How to copy ~/.kde from old system to new?

On Saturday 26 April 2008 12:46:04 pm Nils Kassube wrote:
> Bruce Marshall wrote:
> > On the other hand, copying all of ~/.kde over from an older release
> > shouldn't be a problem because if something goes bad, you can always
> > delete the copy and start .kde from scratch on the new release. And
> > still have your old copy of it.
>
> Overwriting ~/.kde with data from an older release should never be a
> problem because the files will be updated to the new version after the
> next login. However overwriting with data from a newer version than the
> actually started version might be a problem.
>
>
> Nils

I actually need this conversation. I have my /home/ files saved in separate
partition, I need to wipe the system files clean on one of my machines and
reload. I wish to reuse those files in the /home/ directory when I
reestablish user accounts for this same user.

What steps do I need to take? Initially my instincts tell me that I should use
the same username. My experience with MS tells me that if used the same
username the OS would build new directories anyways and ignore what is
already present....

Larry


--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-27-2008, 02:54 PM
Bruce Marshall
 
Default How to copy ~/.kde from old system to new?

On Sunday 27 April 2008, Larry Hartman wrote:
> What steps do I need to take? Initially my instincts tell me that I should
> use the same username. *My experience with MS tells me that if used the
> same username the OS would build new directories anyways and ignore what is
> already present....

Since your partitions are already present and I assume you are just going to
reinstall the system, you need to use the 'manual' method of selecting
partitions.

When you do the manual method, you will be presented with a list of all of
your partitions, without mount points. (they will look like /dev/sda1, 2,
5, etc)

Select a partition from this list, and click on 'Edit'. There you will be
able to select the mount point and whether you want the partition formatted
or not. And select the FS type to because what is showing is "do not use
partition" and that will get you nowhere.

So select your /home partition and select that it be mounted at /home but
not to format it. (the default is no format)

Select your '/' partition the same way.

And if you have other partitions you want at other mount points, you can type
in the name of the mount point and all of the fstab entries will be made for
those too.


FWIW, I always do any partition diddling with Acronis DiskDirector before I
do my fresh installs. I think it makes life easier and avoids having to tell
the system about the new partitions it wants to make up.

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-27-2008, 03:05 PM
"D. Michael McIntyre"
 
Default How to copy ~/.kde from old system to new?

On Sunday 27 April 2008, Larry Hartman wrote:
> What steps do I need to take? Initially my instincts tell me that I should
> use the same username.

If you're keeping it in the same family (Debian-based original distro
Debian-based new distro) then this is about as easy as it gets. Be sure not
to format your original /home partition when you install the new OS. If you
use the same username(s) you had before (and if you have more than one,
re-create them in the same order they were in originally,) that is all you
need to worry about. You will log in and own your old files, and shouldn't
normally experience any unusual side effects.

If you change usernames, or create users in a different order, you can run
into file ownership problems. Now that I think about it, this could be a
fairly annoying problem on Ubuntu, because there is no root login by default,
and if you don't own your own home directory, you might not be able to log in
to use sudo to change the ownership back to yourself. There are ways around
that, but it would be far less complicated just to keep the username the same
as it was before.

If you change to a different flavor of distro, the ranges of numbers used for
userids can vary, so that could be another problem to consider. The first
user on a Debian or Ubuntu system is 1000, I think, whereas it used to be 500
on Mandrake, I think.

--
D. Michael McIntyre

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 04-27-2008, 03:14 PM
Nils Kassube
 
Default How to copy ~/.kde from old system to new?

Larry Hartman wrote:
> I actually need this conversation. I have my /home/ files saved in
> separate partition, I need to wipe the system files clean on one of my
> machines and reload. I wish to reuse those files in the /home/
> directory when I reestablish user accounts for this same user.
>
> What steps do I need to take? Initially my instincts tell me that I
> should use the same username.

Further to what Bruce Marshall wrote, you should use the same assignment
between user name and UID / GID. I think, you could reuse the
files "/etc/passwd", "/etc/shadow" and "/etc/group" from the old
installation to keep the assignment.

> My experience with MS tells me that if
> used the same username the OS would build new directories anyways and
> ignore what is already present....

Well, Linux IS different


Nils

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org