LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2014, 10:06 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
 
Old 04-26-2014, 02:24 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,817

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
As for Firefox or Chrome, you can use their sync feature to copy preferences to another machines
 
1 members found this post helpful.
Old 04-26-2014, 10:40 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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.
 
Old 05-29-2014, 01:33 AM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
 
Old 05-29-2014, 09:58 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Woodsman View Post
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.
 
Old 05-29-2014, 01:51 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell scripts in Windows Cygwin Micro420 Programming 14 10-17-2009 12:25 PM
Samba 2.2.8a: How to migrate user profiles from a Broken domain to a new one ferrantepunto Linux - Software 0 06-11-2004 05:13 AM
windows user wanting to migrate to linux enhancedcrash Linux - Newbie 8 10-19-2003 04:37 PM
writing Linux shell scripts in Windows NightWolf_NZ Linux - Newbie 3 09-10-2003 10:28 PM
Migrating to another system, would like to keep user settings and profiles.. BxBoy Linux - General 3 08-01-2003 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration