Lightweight desktop environments to replace GNOME for CentOS

desktop-environmentgnomegnome3virtual machine

For a project I need to write and execute Ansible scripts in a Linux environment (CentOS).

Though using the command line and vi is interesting, I need to use graphical file explorer and Visual Studio Code to edit files.

Because the Linux VMs available to me have low memory (3GB) and run on slower CPUs, GNOME 3 for Desktop is too slow.

Are there lighter GUIs in which I can run Visual Studio code?

Best Answer

Given your use case, and if you are this low on memory, the best choice would be to switch to a lightweight Desktop Environnement (DE), such as:

If you are (even sort of) new to Linux, I would suggest you to stay away from Tilling Window Managers (TWM); although being extremely lightweight and powerful once configured and mastered, I do not think one of these would be a good idea given your situation.

If you want to install XFCE (example):

First, you need to add the Extra Packages for Enterprise Linux (EPEL) repository, as this is where you will install packages from:

# yum -y install epel-release

Then you can install XFCE Desktop Environment as following:

# yum -y groupinstall X11
# yum -y groups install "Xfce"

After a reboot, you will be able to switch to XFCE4 instead of using GNOME3 at the login screen.

login screenshot

Related Question