Ubuntu 20.04: Install MATE for desktop environment

This article will describe installing MATE for desktop environment.

1 Install MATE

#!/bin/sh -e

cat <<EOF | sudo tee /etc/X11/default-display-manager
sudo DEBIAN_FRONTEND=noninteractive apt install -y ubuntu-mate-desktop
sudo reboot

2 Login to MATE

After reboot, lightdm-gtk-greeter will be started. You can select other desktop environment.


MATE is displayed.


3 Uninstall MATE

#!/bin/sh -e

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
sudo reboot