# How to completely separate desktop enviroments?

How could I completely separate desktop environments from each other? For example if I install Cinnamon and MATE, both desktop environments' applications show in the main menu, and the launchers list them too, even if they are useless in the actual DE. So in the end everything just messes up when there are more than one DE installed.

Is there any method to separate them more?

-

You can do it the «hard way».

1.- Open your DE. For instance, Cinnamon.

2.- Check every installed application in the menu and write down those you don't want to appear.

3.- Open your File Manager (Nautilus or Nemo)

4.- Go to /usr/share/applications (also check .local/share/applications in your home folder) and identify the file name of the applications you don't want to appear under your present DE

5.- Open a terminal and type

cd /usr/share/applications

6.- For each application, type

sudo nano [nameoftheprogram].desktop

For instance:

sudo nano yelp.desktop

7.- Find this line

OnlyShowIn=

and delete the DE you don't want. If there isn't this line, add it and add also the DE.

8.- Repeat steps 6, 7 and 8 for each program.

-
Now that's an interesting tidbit about .desktop files, even though I don't actually use Ubuntu (Arch user here). –  Vicky Chijwani Jan 16 '13 at 7:32

No, there isn't any practical way of separating these desktop environments, but why would you want to do that anyway? Deleting a DE would remove all the contents, for example I recently installed KDE Plasma Workspace and didn't like it (screwed up my system), to find my GNOME was full of KDE deafult apps. It's hard enough to remove the whole DE, but if you manage to remove it all, that's the only to remove it.

-
Ok, I knew that, but I would like to try out many different DE-s on one single system, and it would be much better if they wouldn't screw up each other's things. –  Semmu Nov 20 '12 at 20:50
Create user accounts for each of the Desktop environments. This is the best way to enjoy the DE's. I have 3 accounts arin, arin-kde, arin-gnome and i use unity, kde, gnome3 respectively in each one of them. I never use to open the kde account with gnome3, because i encountered several problems and slowdowns while doing so. All the best. –  Arin Chakraborty Dec 25 '12 at 21:47
Actually, you can install DE's without their custom apps, by adding the --no-install-recommends parameter like this: sudo apt-get install --no-install-recommends kubuntu-desktop –  Seth Dec 25 '12 at 22:05
I wish that before I installed KDE... Now I feel stupid :) –  sharksfan98 Dec 28 '12 at 17:28

One idea is to dual boot two copies of linux - one set-up to use one "desktop" environment, and the other set-up to use another. (For example installing lubuntu and mint) If you keep /home in a separate partition, you can access this partition from both systems.

-