Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-25-2014, 10:06 PM
|
#1
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
Shell scripts to migrate user settings and profiles from Windows to Linux
Do any of you IT wizards who deal with both Windows and Linux have any shell scripts handy to migrate user profiles and settings from Windows to Linux?
Mostly this would cover cross-platform apps. I am thinking this is basically copy the Windows setting directory to the equivalent "hidden" directory in the user's /home.
For example:
Firefox
Thunderbird
Chrome/Chromium
LibreOffice/OpenOffice
Pidgin
GIMP
Inkscape
Skype
Adobe Reader
VLC
SMPlayer
Miro
Dropbox
KeePass
Audacity
Hulu player
Downloads->/home/Downloads
My Documents->/home/Documents
My Music->/home/Music
My Pictures->/home/Pictures
My Scans->?
My Save Stuff->?
My Videos->/home/Videos
etc.
Thanks again.
Last edited by Woodsman; 04-25-2014 at 10:07 PM.
|
|
|
04-26-2014, 02:24 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,817
|
As for Firefox or Chrome, you can use their sync feature to copy preferences to another machines
|
|
1 members found this post helpful.
|
04-26-2014, 10:40 AM
|
#3
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Some Windows 'shell' environment variables that may help:
Code:
%APPDATA%
%USERPROFILE%
If you type "set" in cmd and start poking around, you'll see these. Some overlap the others.
But that should get you started.
My output for comparison:
Code:
C:\Users\Administrator>dir %appdata% %USERPROFILE% /b
Adobe
Download Manager
Dropbox
Duplicati
FileZilla
HeidiSQL
Macromedia
Mozilla
MySQL
Spark
VMware
webex
winscp.rnd
.csp_ovftool_settings.js
.S_O_L rc
Contacts
Desktop
Documents
Downloads
Dropbox
Favorites
g2mdlhlpx.exe
Links
Music
Pictures
Saved Games
Searches
Videos
Last edited by Habitual; 04-26-2014 at 10:41 AM.
|
|
|
05-29-2014, 01:33 AM
|
#4
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
I was going to start a new thread but might as well use this thread.
I am looking for a method to migrate MRU lists from MS Office apps to LibreOffice apps. Ideally, something that is automated rather than manual.
Looks like MS Office apps store that information in the registry and LO apps store that information in ~/.config/libreoffice/4/user/registrymodifications.xcu.
Any ideas to move the data from one to the other?
Thanks.
|
|
|
05-29-2014, 09:58 AM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by Woodsman
I was going to start a new thread but might as well use this thread.
I am looking for a method to migrate MRU lists from MS Office apps to LibreOffice apps. Ideally, something that is automated rather than manual.
Looks like MS Office apps store that information in the registry and LO apps store that information in ~/.config/libreoffice/4/user/registrymodifications.xcu.
Any ideas to move the data from one to the other?
Thanks.
|
No clue about this one.
Registry data, I believe it binary in nature but it can be exported to .txt
Some locations seem to be recorded here...
Other than exporting those to a .txt file and running a grep over them to get them into registrymodifications.xcu in the proper format, I don't know of any 'automated' way to accomplish that.
Sorry, wish I had more.
|
|
|
05-29-2014, 01:51 PM
|
#6
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
Original Poster
|
Thanks for the link.
Next to find a good linux based Windows shortcut (lnk) parser. For example, system MRU lists are Windows lnk shortcuts.
Edit: Looks like the strings command will do the trick:
openlnk
Now to figure out which lnk files are worth migrating to a Linux system and how to insert the target information into recently-used.xbel.
Last edited by Woodsman; 05-29-2014 at 03:19 PM.
|
|
|
All times are GMT -5. The time now is 10:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|