How to clean up shared home directory?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
Rehdon
Level 3
Level 3
Posts: 172
Joined: Tue Nov 29, 2011 9:18 am

How to clean up shared home directory?

Post by Rehdon »

Hi guys,
being a faithful LM Cinnamon user I have at least a couple of LM installations on my main desktop. At the moment I have LM 18.3 which I consider the main working (and stable) OS, LM 19.2 which I've played with in the past (strangely not so stable, plus I miss the middle mouse button menu for copying/moving/linking files...) and an Ubuntu 19.10 partition (to see how the post-Unity Ubuntu is shaping up).

I'm going to overwrite the 19.2 partition with the latest 19.3 LM Cinnamon, which is working fine on my laptop (except for the promised hi-dpi fine tuning, but that's another story), but since I'm one of the early Cinnamon users my /home has lots of configuration stuff dating back to the early days, and I wonder if some of the instability problems I had are somewhat related to this.

So, here's the question: what's the best way to clean up my /home so that it works fine with LM Cinnamon 18.3 and 19.3? Or should I only try to have the 19.* series as main OS? I don't think there are system tools doing just that, are there?

Thank you in advance,

R
jglen490
Level 5
Level 5
Posts: 999
Joined: Sat Jul 15, 2017 9:57 pm

Re: How to clean up shared home directory?

Post by jglen490 »

Since /home contains user config files for installed software as well as user data files, sharing the same /home among different OSes can result in software problems, especially if there are different versions of the same software in use among the multiple OSes.

One solution (and there are undoubtedly others) is to have different users within /home that correspond to each different OS. Then, where there are user files (docs, spreadsheets, pics, videos, etc) shared among those users, have a separate directory with nothing but those common user files (i.e., /mnt/docs). That way the config files will be in each user directory and common user files will be in one common directory. Even that can be "iffy" when widely different versions of software are used in each OS.
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB
User avatar
JoeFootball
Level 9
Level 9
Posts: 2934
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: How to clean up shared home directory?

Post by JoeFootball »

Rehdon wrote: ... I wonder if some of the instability problems I had are somewhat related to this.
Yes, I would suspect that as well. :)
Rehdon wrote: ... what's the best way to clean up my /home so that it works fine with LM Cinnamon 18.3 and 19.3?
I would have LM 18.3 and LM 19.3 have their own /home directories for their own settings, and share whatever else you'd like to be shared accomplished via a different manner.

I too have multiple LM installations, but each one has its own /home directory, and they all share the same /data partition. e.g., all my music, pictures, videos, etc., are leveraged by each OS using the same /data, but each has its own independent /home for its settings, etc.

EDIT: Kind acknowledgement given to jglen490 for beating me to the Submit button with essentially the same answer. :)

Joe
Last edited by JoeFootball on Fri Dec 27, 2019 12:35 pm, edited 1 time in total.
jglen490
Level 5
Level 5
Posts: 999
Joined: Sat Jul 15, 2017 9:57 pm

Re: How to clean up shared home directory?

Post by jglen490 »

Um, I think that's what I said :?
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB
User avatar
JoeFootball
Level 9
Level 9
Posts: 2934
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: How to clean up shared home directory?

Post by JoeFootball »

jglen490 wrote: Um, I think that's what I said :?
Indeed. :)

Joe
Rehdon
Level 3
Level 3
Posts: 172
Joined: Tue Nov 29, 2011 9:18 am

Re: How to clean up shared home directory?

Post by Rehdon »

Thank you both jglen490 and JoeFootball :)

I think I'll try it this way:

- have a separate /home for each distro (LM 18.3 and 19.3, possibly Ubuntu and/or other I want to test)
- have the minimum necessary in each /home
- keep everything else on another partition
- link from the latter to each /home

It will take some time to set it up, but I see no other way.

Thanks,

R
Post Reply

Return to “Cinnamon”