this post was submitted on 09 Sep 2023
92 points (97.9% liked)

Linux

48348 readers
475 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have read many conflicting things, like always. Just wondering if there's a safe way to use several DE's on one distro without messing up my damn computer lol I've tried it several times and it always messed things up. I'm currently brand new to fedora workstation 38 too btw. Thanks alot

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 43 points 1 year ago (1 children)

What things are being messed up? You should be able to just install as many DEs as you want without them interfering with each other - just select which you want on the login screen,

[–] [email protected] 9 points 1 year ago (3 children)

is it really that simple? I was trying ways to like separate them or block them from each other

[–] [email protected] 22 points 1 year ago

No, it really is that simple. I've got Cinnamon installed since I prefer it for everyday; also, Gnome3 on Wayland for gaming (I've three monitors with different refresh rates, which doesn't work as you'd hope on X11). Log out, change desktop, log in again. No problems at all, except for more packages to update.

[–] [email protected] 11 points 1 year ago (3 children)

Pretty much, yes but they will interfere in few ways:

  • themes setup can get messy at times, but you should be able to easy override the settings
  • file associations can be inappropriate
  • you'll have varoius of app suits installed and app menus will have them all
load more comments (3 replies)
[–] [email protected] 6 points 1 year ago (1 children)

What do you mean separate them from each other?

load more comments (1 replies)
[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (1 children)

In general it is safe to install as many DEs as you want. There is some overlap between (user) configuration files though which might be annoying.

It should be fine to experiment, but you might need to restore some settings afterwards. For daily use I would just stick to one DE. Personally I don't think there is really a reason to use multiple DEs as a single user. It would throw me off and mess with my workflow.

Also keep in mind that many DE also provide a set of default tools which add clutter. So you probably want to keep it low for this reason alone.

load more comments (1 replies)
[–] [email protected] 19 points 1 year ago* (last edited 1 year ago)

gdm works pretty well with selecting and jumping to all kinds of different DEs. It shouldn’t really be a problem. The only thing I might watch out for is KDE/gnome for example can install a TON of dependencies that you might not necessarily want in both. You can wind up with a lot of duplicate programs. and your home directory will be full of all kinds of config files.

But you can run hyprland, i3, xfce, awesome, etc alongside each other without too much hassle.

I have had the same arch linux install for the past 13 years and have been on a ton of different DEs in that time including times when I switched back and forth between a few concurrently installed. It never caused any issues for me other than trying to clean up all the K programs that had been installed, and cleaning up my home dir.

[–] [email protected] 16 points 1 year ago (1 children)

It can mess with configs, themes and some other annoying stuff so I never did it again but there is no big risk or anything, it's just a little tedious to fix small things afterwards!

[–] [email protected] 2 points 1 year ago (1 children)

ahhh I see, I don't quite know how to configure and tweak the new DE to work properly though. I also read to use different usernames for each DE, but I don't see why that matters.

[–] [email protected] 2 points 1 year ago

If you create multiple user accounts you can contain the user specific parts for those accounts if I am not wrong, certain thing will probably still be a little messy but I only tried it on the same account before and never did again, that could pribably help a little!

[–] [email protected] 15 points 1 year ago (1 children)

There's no one "proper" way. Running multiple DEs shouldn't break anything, but each DE comes with it's own set of dependencies and other software, so it does add clutter. There will also be considerable overlap with config files, so if you change a setting in one DE, it could change settings when using another DE.

Having a separate user account per DE will prevent most of the configuration overlap, but it doesn't solve the abundance of packages you'll have installed from having multiple DEs. I don't think there's a great "clean" way to do it.

One thing I love about Linux though, is how relatively flexible the user home directory is. When moving to a new distro or PC, usually everything you need to copy over is within your home directory. For what you're trying to do, I'd consider throwing /home on a separate partition. That way, you can try out multiple DEs and distros, without blowing away your home folder. And you'd be surprised at how small your root partition can be, the vast majority of your storage should likely be reserved for /home. The Steam Deck, for example, uses a root partition that is only 5 gb. On a typical Linux system, I've found 64 gb to be plenty for root.

When switching distros and/or DEs, consider cleaning out various config files in your home folder. Almost all of them will be hidden files that have a filename that begins with a period. I only keep specific config files for programs I want to retain data for, like Google Chrome (.config/google-chrome), Thunderbird (.thunderbird), and Steam (.local/share/Steam). If you use SSH keys you'll want to keep your .ssh folder too. But deleting all other config files will give you a pretty clean start when changing DEs.

load more comments (1 replies)
[–] [email protected] 10 points 1 year ago

Move to silverblue/kinoite and when the urge to use another DE just rebase the OStree to the other branch - Silverblue for Gnome, Kinoite for KDE, Sericea for sway, Vauxite for xfce and there are some other not yet official branches for other DEs on Quay

[–] [email protected] 9 points 1 year ago (6 children)

Other than some autostart apps, you are free to do whatever you want. I actually like having at least 2 DEs, one generic with default settings and one customized for everyday use. Also, they should use different backends. Then if I completely mess up with my config, I've got a fallback.

[–] [email protected] 2 points 1 year ago

Autostarts are the one thing I'd point to too. It's nothing harmful but can be a little annoying if you need different scripts or tools to run on your different DEs.

load more comments (5 replies)
[–] [email protected] 8 points 1 year ago (2 children)

I'm an ultra-noob, so those who know more please correct me.

I'm playing with Linux VMs and recently I installed Debian to check it out. When it asked what DE I wanted, I chose all of them :).

The only hard conflict (AFAIK) is the [compontent / feature responsible for loging in] (I don't know the technical term). Because each DE comes with a different one, you need to choose one.

What I found very confusing in practice is that I could see some DE apps and configuration settings from other DEs. So, unless you know what belongs to what, it's a bit of a mess (in my VERY limited experience).

[–] [email protected] 6 points 1 year ago (1 children)

Destop Manager (DM).

There a couple of them. Gnome has it's preferred, I'd risk KDE has its own (was never a user of KDE), there is LightDM, etc.

And they tend to dislike eachother

[–] [email protected] 8 points 1 year ago (3 children)

LightDM says it's a Display Manager.

I know that naming is hard but, oh my..., terms are so confusing when you're starting:

  • Desktop Environment
  • Windows Manager
  • Desktop Manager
  • Display Manager
  • Tiling Window Manager
  • Compositing Window Manager

... I'm still not sure which ones are synonyms, sub categories or independent components :/.

[–] [email protected] 5 points 1 year ago

Always messed those up but I'm not ashamed.

[–] [email protected] 4 points 1 year ago

I've used Linux for about a decade and I still mix them up sometimes if I'm not actively working with them

[–] [email protected] 2 points 1 year ago

There are just too many terms, just give enough context and people will understand it regardless tho!

[–] [email protected] 2 points 1 year ago

The program responsible for logging in and starting your window manager is called the display manager. Sddm is the default for KDE and GDM is the default for Gnome.

Technically, you don't even need a display manager as you could login and start the window manager manually directly from the TTY. That's just mainly useful for when you break something in your display manager config though.

[–] [email protected] 7 points 1 year ago (9 children)

I have kind of messed some things up by installing KDE on my Fedora that already has Gnome. This was almost a year ago, now. I would not advise doing this. It is a bigger hassle than it was worth, and I'm just looking forward to a free moment when I can wipe and clean install.

load more comments (9 replies)
[–] [email protected] 7 points 1 year ago (2 children)

My Endeavour OS has Plasma, GNOME, Xfce, bspwm and Hyprland on it. I haven't really had any problem with them.

load more comments (2 replies)
[–] [email protected] 7 points 1 year ago (1 children)

I think usually if you use 1 DE per user, it works out fine.

[–] [email protected] 2 points 1 year ago (3 children)

that's what I heard and that's what I tried, but gnome is automatically default with new users obviously. Its fine to just install a new desktop right on top of gnome like that? and are there any other factors I need to worry about such as display managers or anything else? thanks

[–] [email protected] 3 points 1 year ago (1 children)

Display managers usually let you choose the DE when you log in.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago

I am using SDDM (from KDE) for two separate accounts - one for awesome and one for KDE.

[–] [email protected] 5 points 1 year ago

Brings back memories.

My last experiment with that was a few years ago and I thank the creator of debfoster for the help to clean the house up after.

Unless things have changed and you run perhaps a fully containerized system or mannually install just the DE without any bundled SW, you'll face DE seepage. KDE will throw new programs into the user space that will show on GNOME, getting a windows manager will probably throw conky into the system, Cinnamon will throw a few other things into the pile, and so and so forth.

My personal experience taught me that the system loads those resources for any user to access at will.

If you are looking to evaluate which DE will be the better fit for you, I'd advise trying one by one for at least a week or go for live mediums.

[–] [email protected] 5 points 1 year ago (1 children)

Gnome developers had the genius idea that a session cannot be locked when GDM is not the login manager, so using GDM is basically a requirement for real-world scenarios outside VMs.

Often distributions have some sort of meta package that installs everything related to that desktop, including many applications. Better install the session package and the file manager package and go from there.

[–] [email protected] 8 points 1 year ago (1 children)

I don’t have this issue on Arch Linux with SDDM, Plasma, GNOME, and Xfce.

[–] [email protected] 1 points 1 year ago (1 children)

on Arch Linux

OP uses Fedora.

[–] [email protected] 3 points 1 year ago

Aaah. Fedora recommends GDM anyhow I think, even for Plasma. I imagine they might be packaging things differently given how GNOME is the default (and the distro has a default) DM.

[–] [email protected] 4 points 1 year ago (2 children)

I haven’t had much issue installing multiple.

The biggest problem I’ve had is if you then want to uninstall one. Usually have to start over.

Something like nixos might be able to handle that much better.

[–] [email protected] 2 points 1 year ago (1 children)

Can confirm have switched around DEs quite a bit on my NixOS machine

Only concern is config files get left over, switching from pantheon to gnome caused some settings to get messed up (pantheon is based on gnome and also uses gsettings)

Though that's not a concern if you embrace it fully and do all your gnome config declaratively

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 3 points 1 year ago (1 children)

Shouldn't do much if you only have 1 other desktop. For example I used Pop!_OS for years which comes with Gnome, but I MUCH prefer KDE Plasma so I had that installed the whole time and just never touched Gnome (it was still there, removing it would have broken stuff).

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago (6 children)

Your DM should be able to handle multiple DEs just install from command line and pick which DE you want from the DM.

load more comments (6 replies)
[–] [email protected] 2 points 1 year ago

I mostly use Sway (which is Wayland based) but also have Gnome and LXDE installed. I use one of those with X11 when I need to screenshare, because I can't make that work on wayland. No real issues besides them having each others apps in their launcher menus.

load more comments
view more: next ›