How to check the desktop environment you are using on Linux

As you may know, Linux-based operating systems are heavily focused on the command line to perform operations. A minimal distro like Arch Linux will give you a dark background terminal installation. What makes Linux distributions interactive and user-friendly often goes unnoticed – it’s the desktop environment.

Most beginner Linux users don’t know about the desktop environment and don’t even know which one they are using. This is how you can check which desktop environment is currently installed on your Linux system.

Check current desktop environment on Linux

With so many desktop environments (DEs) available for free, it becomes really difficult for users to choose what suits their tastes. And not knowing which DE I’m currently using doesn’t make the situation any better.

There are many ways to check which DE is installed on a Linux distribution, both by command line and graphically.

Using environment variables

On Linux, environment variables store system-related data required by processes and applications to function properly. You can view the value of some specific environment variables that store information about the system’s desktop environment.

Run the following command:

echo $XDG_CURRENT_DESKTOP

The output will show the name of the desktop environment.

The output will show the name of the desktop environment
The output will show the name of the desktop environment

You can also view binary files *-session usually found in the directory /usr/bin to achieve the same result.

ls /usr/bin/*-session

A quick look at the displayed items will give you an idea of ​​the system’s desktop environment. As you can see, file xfce4-session indicates that the system is using Xfce.

See more:  12 beautiful dark background GTK themes for Linux
The file xfce4-session indicates that the system is using Xfce
The file xfce4-session indicates that the system is using Xfce

Using Neofetch

Neofetch is a command line tool that displays system related information in a human readable format. Neofetch is not part of standard Linux packages, so you will have to manually install it on your system.

Once installed, run the following command to launch Neofetch:

neofetch

Output:

Use Neofetch for desktop environment
Use Neofetch for desktop environment

In addition to the desktop environment, Xfce 4.16, in this case, Neofetch also shows the operating system name, kernel version, hostname, display resolution, shell name, etc..

Using GUI

Not surprisingly, you can also check the name of the desktop environment using the desktop environment itself. You can go to your system settings and see the About section for detailed information about your operating system. While not all desktops have this option, most of them are available.

For example, on the GNOME desktop, you can quickly check system details using the About in Settings.

Find the About section in Settings to know the desktop environment you are using
Find the About section in Settings to know the desktop environment you are using

More simply, you just need to Google which desktop environment comes with your Linux distribution by default. Because in most cases you will still install the default DE, unless of course you change it manually.

Above are some ways to find out the Linux desktop environment you are using on the system that Quantrimang.com wants to share with readers!

Hope you are succesful.

Source link: How to check the desktop environment you are using on Linux
– https://techtipsnreview.com/

, , ,

Leave a Reply

Your email address will not be published. Required fields are marked *