Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 1241  / 3 Years ago, mon, may 17, 2021, 7:12:56

It is common to share /home mount and $HOME directories across multiple OSs, e.g. Ubuntu and Debian. The respective desktop environments (say, Ubuntu Gnome vs. Debian Gnome) try to share various configurations in $HOME/.config and $HOME/.local — this can cause conflicts and confusion. E.g., the same fonts or themes may not be available on both OS installs. Different extensions and their versions may also create a mess. Is there a way to avoid this problem, short of creating a separate $HOME for each OS and then perhaps symlinking a shared "real" home directory from those?


More From » dual-boot

 Answers
3

If you are sharing the same $HOME, then it is up to you to make sure that works as expected. If both systems are using the same desktop environment and you have different versions of extensions etc., then that will indeed cause problems. A simple workaround is to use a different desktiop environment on the two systems so the settings don't overlap.


Although it is indeed common to share $HOMEs across distributions, that was much simpler a few years ago when there were fewer desktop environments around and most settings were about the shell and not the GUI. You can still do it, but you do want to be a bit more careful and try to avoid situations where the two systems have different config options. So install the same themes on both systems (this should happen automatically if they both have the same GUI and version), make sure you install the fonts on both systems and so on. As long as you keep them more or less in sync, you should be able to minimize the issues.


To make it 100% robust, however, you will need to have the configurations separate. One trick would be to move your config files and directories to another place and then symlink them depending on what system you load. For instance, you can have a partition that is only mounted by Ubuntu and one that is only mounted by Debian and store your ~/.config/ and various ~/.foo files there. Then, in your $HOME, you replace all these with symlinks to /mnt/dynamicallyMountedDrive. You set up the two systems to mount either one or the other partition to /mnt/dynamicallyMountedDrive and that means your symlinks will always point to the right setup for the right OS.


This way, you still have your actual data shared between the two systems, but the configurations are separate.


[#498] Tuesday, May 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionpromoti

Total Points: 14
Total Questions: 112
Total Answers: 113

Location: Tonga
Member since Tue, Nov 30, 2021
3 Years ago
tionpromoti questions
Fri, Apr 15, 22, 03:58, 2 Years ago
Tue, Jun 1, 21, 23:05, 3 Years ago
Mon, Jul 5, 21, 06:11, 3 Years ago
;