Linux allows users to switch entire desktop environments in case the default DE doesn’t suit you. This is true for any Linux distribution including Ubuntu. For a while, Ubuntu had Unity as the default desktop and now it has switched to GNOME. Neither of these is exactly very resource-friendly and takes up around 300MB or more of RAM. If you have an older PC or a PC with not so good hardware GNOME might not be the best performer. A lightweight alternative, the XFCE desktop environment can be really useful here and below we’ll see how to install it on Ubuntu.
Let’s be clear though, despite being known for their resource-heavy nature, Ubuntu with GNOME, Unity or even KDE is quite less demanding compared to other operating system platforms. Chances are if you’re coming from Windows or macOS, installing Ubuntu will itself do wonders for your aging hardware. In case that the default Ubuntu with GNOME is still too much for your system, the XFCE desktop environment is a great choice.
XFCE Desktop Environment
XFCE stands for XForms Common Environment. It is the default desktop environment for Xubuntu, an official lightweight Ubuntu flavor. Xubuntu is lighter than Ubuntu, despite installing XFCE and removing GNOME. It has less pre-installed apps and an even lesser number of pre-installed packages.
XFCE is based on the GTK toolkit but it is not a GNOME fork. It uses the XFWM window manager and its configuration is entirely mouse-driven, with the configuration files hidden from the casual user. By default, XFCE does not feature any desktop animations which is expected because XFCE is lightweight by choice. Animations are one of the biggest draws on system resources.
It does support compositing though so you can always install something like Compiz. Not only can you get animations but even the fanciest of animations that’ll attract anyone’s eyeballs.
When you install XFCE desktop on Ubuntu, you can still keep your default desktop so you’re not losing out on anything in case you don’t like XFCE. You can choose which desktop environment to log into during boot. Although, once you’ve used XFCE and decide that you like it, you’ll probably want to uninstall the older DE (Desktop Environment) if your computer isn’t big on resources. Alternatively, you can also try the Unity desktop on Ubuntu 18.04 and 19.04.
The latest version of XFCE is XFCE4 and installing it requires downloading and installing several packages that it is dependent on and that it makes use of. All of this only amounts to about 112MB compared to more than 500MB of packages required for installing something like GNOME. Below is a full list of all the packages that will be downloaded and installed.
- desktop-base exo-utils
- liborbit-2-0 libthunarx-2-0
- orage pavucontrol
You can boot into USB whenever you want, you should create a persistent Ubuntu USB drive.
Steps to Install XFCE desktop on Ubuntu
Installing XFCE desktop on Ubuntu used to require installing the entire Xubuntu desktop packages which was pretty much like installing Xubuntu on top of Ubuntu. That’s not the case anymore and you can install the XFCE desktop simply with a simple command. Launch Terminal and enter the following command.
sudo apt install xfce4
You’ll be asked to enter your password and then you’ll need to press y on your keyboard to confirm the installation. Once installed, log out of your current desktop session and you’ll be able to select XFCE from the login screen. The selection menu can be located differently on different login managers such as gdm3 or sddm.
Since GNOME uses gdm3 and it is the default desktop environment on Ubuntu, we’ll assume you probably have the gdm3 login manager installed.
Click on the gear icon next to the Sign-in button and select XFCE from the list. You can switch back to GNOME or any other desktop the same way. On your first login, you’ll be asked to choose a configuration. Click on Use default config.
You have successfully installed the XFCE desktop environment on your Ubuntu computer. XFCE is not the only option if you are looking for a great looking DE. Here are 3 great desktop environments for Linux that are lightweight and fast.