Ubuntu

How to Install MATE Desktop on Ubuntu 22.04

The graphical user interface which we can see on the screen consists of the different icons, menu bars, toolbars, Desktop themes, and clocks all combined to form a Desktop environment. The Ubuntu 22.04 comes by default with the GNOME desktop and we can verify this by running the following command in the terminal:

$ echo $SDG_CURRENT_DESKTOP

The MATE desktop environment is the updated version of the GNOME 2 and it contains the eye-catching themes and colors following the Linux norms. Many other applications are introduced in the MATE desktop environment which come by default with it, for example, Caja is the file manager of the MATE desktop environment, similarly, Pluma is the text editor just like the Nano text editor used in the GNOME desktop environment.

In this write-up, we will install the MATE desktop environment in the latest release of Ubuntu 22.04 using the CLI method.

How to install the MATE Desktop on Ubuntu 22.04

For the installation of the MATE desktop environment, we will install the MATE package available in its default repository by using the command:

$ sudo apt install ubuntu-mate-desktop -y

A notification will appear on lightdm, click on the “Ok” button:

Choose the lightdm as the default  display manager:

When the installation is complete, reboot the system:

$ reboot

Click on the button next to the username, to select the desktop environment:

Choose the “MATE” and log in by entering the password:

The Desktop environment has been changed to the “MATE” and now if we want to go back to the GNOME, we will change the desktop environment from the password screen:

And now we are back to the default GNOME desktop environment of the Ubuntu:

And if we want to remove the MATE, use the following command:

$ sudo apt remove -y ubuntu-mate-desktop mate-* ubuntu-mate-* plymouth-theme-ubuntu-mate-* lightdm && sudo apt autoremove -y && sudo apt install --reinstall -y gdm3

Conclusion

The MATE desktop environment is lightweight and provides the ease to change the themes of the operating system according to our own choice. In this write-up, the MATE desktop environment has been installed using the command line, and then we learn to switch to different desktop environments.

About the author

Hammad Zahid

I'm an Engineering graduate and my passion for IT has brought me to Linux. Now here I'm learning and sharing my knowledge with the world.