LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2012, 06:27 PM   #1
Blackened Justice
Member
 
Registered: Jun 2011
Posts: 82

Rep: Reputation: Disabled
Different configurations from the same home directory, is it possible?


Hey everyone,

I'm currently setting up my system to run two distros, one Gnome based, and the other KDE based. I have a partition dedicated to /home, in order to have my Documents, Music, Pictures, etc. easily accessible from multiple environments (and allowing me to install another distro without performing numerous time consuming data transfers).

Anyway, I don't want to share the numerous ".*" configuration files also present in a user's home directory, wanting the different distros (almost) completely isolated from each other. Is there any way to have the Documents, Music, Pictures, etc. shared between OSs but the configuration files independent?

Cheers
 
Old 02-08-2012, 06:38 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Use different dirs for your user home dir and common dir for Documents, Music...
then you symlink Documents, Music... into your different user home dirs ?

Or make a login script that move your dot files accordingly
(beware of race conditions though)

Last edited by Cedrik; 02-08-2012 at 06:41 PM.
 
Old 02-08-2012, 06:41 PM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You already have one installation.
When you do the next one, install "alongside" the existing one - since you don't want to share configurations, you won't be keeping the same /home so that will be fine.

Log in to the new install - you'll have a default /home/you
Locate the partition that has your old installation (still) on it and mount it - say at /media/sda1
Then you need only make a link to /media/sda1/home/you/Documents called /home/Documents
 
Old 02-08-2012, 07:22 PM   #4
Blackened Justice
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Hmm, I guess symlinks would solve it Perhaps with the exception of having a little "shortcut symbol" on the icon when viewed in Nautilus which obstructs the icon's associated decoration (can't really recall right now if it behaves the same way in Dolphin).

The login script option seems like too much of a hassle to actually get to work...
 
Old 02-09-2012, 06:03 PM   #5
Blackened Justice
Member
 
Registered: Jun 2011
Posts: 82

Original Poster
Rep: Reputation: Disabled
Ok, I have now got it perfectly set up The symlinks are working great thus far, Dolphin really isn't that intrusive with the "shortcut symbol" on the icon, so I decided to just mount the partition under Gnome, and have the KDE distro access it through symlinks.

Cheers
 
  


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
[SOLVED] 'Could not chdir to home directory /home/[user]: Permission denied' arashi256 Linux - Newbie 25 11-11-2011 10:29 AM
"Home directory already exists. Please enter another home directory path." Daravon Ubuntu 2 02-15-2009 11:26 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 05:02 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM


All times are GMT -5. The time now is 02:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration