Geek Stuff Linux Tutorials

How to Install XFCE Desktop Environment on Ubuntu

How To Install XFCE Desktop Environment on Ubuntu
Written by Vivek

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 take 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.

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, 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 even lesser number of pre-installed packages.

How To Install XFCE Desktop Environment on Ubuntu

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, 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 if your computer isn’t big on resources.

Don’t miss: How to Enable Flatpak Support in Ubuntu

Packages installed

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
  • greybird-gtk-theme
  • gtk2-engines-xfce
  • libbonobo2-0
  • libbonobo2-common
  • libbonoboui2-0
  • libbonoboui2-common
  • libexo-1-0
  • libexo-2-0
  • libexo-common
  • libexo-helpers
  • libgarcon-1-0
  • libgarcon-common
  • libglade2-0
  • libgnome-2-0
  • libgnome2-common
  • libgnomecanvas2-0
  • libgnomecanvas2-common
  • libgnomeui-0
  • libgnomeui-commo
  • libgnomevfs2-0
  • libgnomevfs2-common
  • libjpeg-turbo-progs
  • libkeybinder-3.0-0
  • liborbit-2-0 libthunarx-2-0
  • libtumbler-1-0
  • libwnck-common
  • libwnck22
  • libxfce4panel-2.0-4
  • libxfce4ui-1-0
  • libxfce4ui-2-0
  • libxfce4ui-common
  • libxfce4ui-utils
  • libxfce4util-bin
  • libxfce4util-common
  • libxfce4util7
  • libxfconf-0-2
  • orage pavucontrol
  • tango-icon-theme
  • thunar
  • thunar-data
  • thunar-volman
  • tumbler
  • tumbler-common
  • xfce4
  • xfce4-appfinder
  • xfce4-notifyd
  • xfce4-panel
  • xfce4-pulseaudio-plugin
  • xfce4-session
  • xfce4-settings
  • xfconf
  • xfdesktop4
  • xfdesktop4-data
  • xfwm4
  • xscreensaver
  • xscreensaver-data
  • xubuntu-icon-theme

Must read: How to Create a Persistent Ubuntu USB

How to install Xfce desktop environment 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.

How To Install XFCE Desktop Environment on Ubuntu

Since GNOME uses gdm3 and it is the default desktop environment on Ubuntu, we’ll assume you probably have the gdm3 login manager installed.

How To Install XFCE Desktop Environment on Ubuntu

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.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.