By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 709 - A proposed KDE3 profile directory migration tool
Summary: A proposed KDE3 profile directory migration tool
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: other (any) (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other All
: P1 enhancement
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-01 14:31 CST by Darrell
Modified: 2012-10-19 15:53 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
A shell script to migrate to TDE an existing KDE3 profile directory (10.35 KB, application/octet-stream)
2011-12-01 14:31 CST, Darrell
Details
Updated shell script to migrate an existing KDE3 profile directory to TDE. (10.92 KB, patch)
2012-01-21 20:44 CST, Darrell
Details | Diff
Updated shell script to migrate an existing KDE3 profile directory to TDE. (10.89 KB, application/octet-stream)
2012-01-21 21:49 CST, Darrell
Details
Updated shell script to migrate an existing KDE3 profile directory to TDE. (10.30 KB, application/octet-stream)
2012-06-15 11:45 CDT, Darrell
Details
Updated script to prevent migration when $HOME/.trinity is a sym link. (10.72 KB, patch)
2012-06-15 14:29 CDT, Darrell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2011-12-01 14:31:25 CST
Created attachment 201 [details]
A shell script to migrate to TDE an existing KDE3 profile directory

Currently TDE provides no method to automate migrating an existing KDE3 profile directory. Attached is a first effort at such a tool. Currently the tool is a shell script.

Testing is required to ensure the modified config files work correctly in TDE.

Testing is required on different distros.

Testing is needed to support both a command line and graphical login.

Testing is needed to make the disk space test more robust.

Regarding the SVN/GIT source tree, placing the script in the same location as startkde is a good location. Packagers will need to know about the script to ensure the script is packaged correctly.
Comment 1 Calvin Morrison 2011-12-01 15:11:37 CST
Hey this looks good.

I am only concerned that this will cause more problems than it will solve. Hopefully with testing though it should be good.

Calvin Morrison
Comment 2 Darrell 2011-12-01 23:36:31 CST
If there is no nice way to merge the script into the login process, then we can post the script to our web site and let people use the script as they see fit.

Command line folks will have no problem using the script. I see a problem with newbies who boot only into graphical login mode. Do they know how to toggle to a console? What if the distro does not allow opening a console from graphical login mode? How do they use the script under such conditions? A new login in TDE creates a new profile directory.

My testing here revealed no show stoppers with the script. I mention in the script comments that possibly window sizes in kwinrulesrc might not work, but I need to test that further. I tend to do much of my testing in a virtual machine with a specific testing user's account. Thus the window size issue could be an effect of the virtual machine. I don't know yet.

There are many TDE apps I don't use. People will have to test their favorite TDE apps to know more. I recommend creating a testing user's account, copy the entire normal user's kde3 profile, chown to the new account, and then go from there.
Comment 3 Darrell 2012-01-21 20:44:16 CST
Created attachment 287 [details]
Updated shell script to migrate an existing KDE3 profile directory to TDE.

Updated to support renaming project.

Script works well. Now has some basic sanity checks like disk space availability.

Perhaps this script can be added to the web site as a link in the upcoming FAQ, regarding the KDE3 questions? Needs more testing by others, of course. We can add a disclaimer that the script has been tested, but is provided "as is" and creating a new profile is recommended.
Comment 4 Darrell 2012-01-21 21:49:25 CST
Created attachment 288 [details]
Updated shell script to migrate an existing KDE3 profile directory to TDE.

Updated to work with renamed env. variables.
Comment 5 Darrell 2012-01-21 21:50:20 CST
I updated our upcoming FAQ to references the script.
Comment 6 Darrell 2012-06-15 11:45:38 CDT
Created attachment 665 [details]
Updated shell script to migrate an existing KDE3 profile directory to TDE.
Comment 7 Darrell 2012-06-15 14:29:17 CDT
Created attachment 666 [details]
Updated script to prevent migration when $HOME/.trinity is a sym link.
Comment 8 Darrell 2012-06-15 22:07:26 CDT
Pushed to GIT in hash 6ebf92cb.

This closes the bug report.