How to Install Xfce on Linux Mint 21 or 20

This guide will cover how to install Xfce on Linux Mint 21 or 20 using the command-line terminal, tailored for those with Cinnamon or similar desktops installed who wish to switch between environments on their Linux Mint system.

Xfce stands out as a lightweight desktop environment for Linux, especially suited for those seeking efficiency and simplicity in their workflow. Its design philosophy emphasizes speed and resource efficiency, which makes it an excellent choice for both older hardware and modern systems where performance is key. Here are some of the notable features of Xfce:

  • Speed and Performance: Xfce is renowned for its fast performance and low resource usage, making it ideal for systems with limited hardware capabilities.
  • User-Friendly Interface: Despite its minimalistic approach, Xfce provides an intuitive and easy-to-navigate user interface.
  • Customizability: It offers extensive customization options, allowing users to tailor their desktop environment to their preferences.
  • Stability and Reliability: Xfce is known for its stability and reliability, providing a consistent user experience without frequent crashes or bugs.
  • Compatibility: Compatible with a wide range of applications and software, making it a versatile choice for various user needs.

With these key features and benefits, Xfce stands as a compelling choice for a desktop environment. Now, let’s delve into the main content of this guide, focusing on the installation process of Xfce on Linux Mint.

Install Xfce on Linux Mint via APT

Update Linux Mint Before Xfce Installation

Prior to initiating the installation of Xfce, it’s crucial to ensure your Linux Mint system is fully updated. To achieve this, execute the following command in the terminal:

sudo apt update && sudo apt upgrade

This command refreshes the list of available packages and installs the latest versions, ensuring your system has all the latest security patches and improvements.

Install Xfce on Linux Mint via APT Command

Having updated your system, you’re now ready to install the Xfce desktop environment. Enter this command in the terminal:

sudo apt install xfce4 xfce4-goodies

This command installs the Xfce desktop environment along with xfce4-goodies, a collection of additional plugins and utilities that enhance the Xfce experience.

Installation prompt for Xfce on Linux Mint
Screenshot showing the installation prompt for Xfce on Linux Mint.

After the installation of Xfce is complete, a system restart is necessary to apply the changes. Restart your Linux Mint system by typing the following command:

reboot

Executing this command will reboot your system, allowing you to log in and experience the newly installed Xfce desktop environment.

Log in to XFCE on Linux Mint

After restarting your desktop, the login screen appears. At this point, switch to the Xfce desktop environment before logging in. Click the settings icon in the top right corner of the screen and select “Xfce Session” to replace the default “Linux Mint (Default).”

Selecting Xfce session at Linux Mint login screen
How to select Xfce session on Linux Mint’s login screen.

With Xfce successfully installed on Linux Mint, you’re ready to delve into its distinct features. The initial login unveils visual alterations such as a new color scheme and background. Xfce, while lightweight, offers a contemporary and stylish user interface.

To maximize your experience with Xfce, consider these simple yet effective customizations:

  • Personalize Your Desktop Background: Tailor your desktop’s appearance with unique backgrounds, color schemes, and icon sets to reflect your style.
  • Explore Xfce’s Panel and Window Manager: These tools are customizable to fit your workflow. The panel provides quick access to applications and system functions, while the window manager efficiently manages your application windows.
  • Utilize Xfce’s Application Launcher: This feature allows for the efficient organization and launching of your applications.
  • Check Out Xfce’s Built-in Applications:
    • Thunar File Manager: A versatile and easy-to-use file manager.
    • Xfce Terminal: A responsive and feature-rich terminal emulator.
    • Xfce Calculator: A simple yet powerful calculator for your everyday needs.
Customized Xfce desktop environment on Linux Mint
A look at a customized Xfce desktop environment on Linux Mint.

Managing XFCE on Linux Mint

Effectively managing XFCE in Linux Mint requires attention beyond the initial setup. Key aspects include regularly updating the environment, understanding how to switch display managers, and knowing how to remove XFCE if needed.

Updating XFCE and Associated Packages in Linux Mint

Keeping your system up-to-date is vital for security and performance. XFCE updates are included in the regular update process. To update, start by refreshing your package list:

sudo apt update

This command checks for the latest package versions. After updating the package list, upgrade your installed packages, including XFCE:

sudo apt upgrade

This step ensures your XFCE desktop is up-to-date with the latest enhancements and security patches.

Switching Between Display Managers

XFCE typically uses LightDM, but you might prefer GDM3, especially when using GNOME. To switch the display manager:

sudo dpkg-reconfigure lightdm

Select your desired display manager in the prompt that appears. Remember, the change takes effect after a system reboot, as the display manager is activated during the boot process.

Removing XFCE from Linux Mint

To remove XFCE from Linux Mint, perhaps to explore a different desktop environment or revert to a previous setup, use the following command:

sudo apt autoremove '^xfce' --purge

This command uninstalls XFCE and its related files.

Reinstalling GNOME after removing XFCE involves refreshing the package list and reinstalling GNOME packages:

sudo apt update
sudo apt install gnome gdm3 task-gnome-desktop --reinstall

Before rebooting, set GDM3 as the active display manager to avoid landing in a terminal or text-based login interface. To apply all changes, a system reboot is required:

sudo reboot

This step finalizes all modifications.

Conclusion

In this guide, we’ve walked through the essential steps of managing XFCE on Linux Mint. From updating the system and switching display managers to removing XFCE, we covered the key aspects to keep your desktop environment running smoothly. Remember, regular updates are crucial for both security and performance. If you’re experimenting with different desktop environments, knowing how to switch between display managers and cleanly remove XFCE can be incredibly helpful. Keep exploring and customizing to make the most of your Linux Mint experience.

Leave a Comment