How to Install and Switch Desktop Environments in Fedora

Fedora is a popular Linux distribution known for its cutting-edge features and stability. One of the best things about Fedora is the flexibility to choose and switch between different desktop environments (DEs).

A desktop environment includes everything you need to interact with your computer, such as the graphical user interface, file manager, window manager, and other utilities.

Some popular desktop environments in Linux include:

  • GNOME (default on Fedora)
  • KDE Plasma
  • Xfce
  • LXQt
  • Cinnamon
  • MATE

Each desktop environment has its own look and feel, and you can choose one based on your preferences.

In this article, we will guide you on installing and switching desktop environments in Fedora using the command line interface (CLI).

Installing Desktop Environments in Fedora

To install different desktop environments in Fedora, first, you need to list all the available desktop environments by running the following command.

dnf group list
OR
dnf5 group list
List Desktop Environments in Fedora
List Desktop Environments in Fedora

Before installing a new desktop environment, it’s a good idea to update your system to make sure all packages are up to date.

sudo dnf update

Now, let’s install some popular desktop environments with the help of the below commands.

sudo dnf install @kde-desktop-environment        [KDE Plasma]
sudo dnf install @cinnamon-desktop-environment   [Cinnamon]
sudo dnf install @xfce-desktop-environment       [XFCE]
sudo dnf install @mate-desktop-environment       [Mate]
sudo dnf install @lxqt-desktop-environment       [LXQT]

After the installation is complete, reboot your system to make sure the new desktop environment is available.

sudo reboot

Switching Desktop Environments in Fedora

Before login, at the login screen, select your username (e.g TecMint) from the list of usernames (if there is no other user, the default username will appear). Then click on the Preferences icon right below the password field, near the Sign In button.

A window showing a list of several different desktop environments should appear. Select the desktop if you want, and enter the password to log in, as shown in the screenshot below.

Select Desktop Environment in Fedora
Select Desktop Environment in Fedora

After login, you should now have a Cinnamon desktop environment as shown in the following screenshot.

Cinnamon Desktop Fedora
Cinnamon Desktop Fedora

Alternatively, install the switchdesk (used to switch desktop from command-line) and switchdesk-gui (used to switch desktop from GUI).

sudo dnf install switchdesk switchdesk-gui

Once you have installed the above programs, launch the desktop switching program switchdesk-gui by searching for it in the Activities search bar. After it opens, select the default desktop from the list of available desktop environments, and click OK.

Fedora Desktop Environment Switching
Fedora Desktop Environment Switching

You can also switch your Fedora desktop from the command line by simply passing the selected desktop environment as the only argument to the switchdesk command, for example, to switch to Cinnamon, run the following command.

sudo switchdesk cinnamon
Conclusion

You can install a variety of desktop environments such as KDE Plasma, Xfce, Cinnamon, MATE, and LXQt to customize your experience. After installation, you can easily switch between them using the login screen or the command line.

Now you can enjoy a more personalized and tailored experience on your Fedora system!

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

12 Comments

Leave a Reply
  1. Thank you! It works just fine for me on Fedora 33. I didn’t opt to install the switching application. I just log out and switch at the login manager, then log back in. I left out the '@' at the beginning the first time and it gave me an error. But, when I properly included that, I was able to install multiple Desktop Environments without an issue.

    Reply
  2. This doesn’t work under Fedora 32 anymore, despite being identical to Fedora’s documentation:

    [root@localhost-live ~]# dnf groupinstall mate-desktop-environment
    Last metadata expiration check: 0:05:46 ago on Sun 16 Aug 2020 12:43:47 PM PDT.
    No match for group package "xorg-x11-drv-omap"
    No match for group package "isdn4k-utils"
    No match for group package "xorg-x11-drv-armsoc"
    No match for group package "powerpc-utils"
    No match for group package "lsvpd"
    Error: 
     Problem: problem with installed package fedora-release-workstation-32-1.noarch
      - package fedora-release-workstation-32-1.noarch conflicts with 
    system-release provided by fedora-release-matecompiz-32-1.noarch
    
    Reply
  3. However if I use KDE and then use gnome the gnome-session also has KDE programs running in the background, like Baloo and KDE launcher.. this seems to make it impractical to use different desktop environments with the same user.. or am I missing something?

    Reply
  4. I noticed that your screenshot of switchdesk-gui does not list “Cinnamon.” That’s the same problem I have. I’ve installed MATE (mate-desktop-environment in Fedora 30), and I can select it from the gear icon on the login screen. But it doesn’t “stick” and it’s not listed as one of choices in switchdesk-gui.

    Reply
  5. Well written, simple and straight-forward directions. Exactly what I was looking for to explore and enjoy the variety of desktops out now – nobody should be stuck with just one desktop flavor!

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.