How to check the desktop environment you are using on Linux

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.

How to check the desktop environment you are using on Linux Picture 1

You can also look at the *-session binary file commonly found in the /usr/bin directory 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, the file xfce4-session indicates that the system is using Xfce.

How to check the desktop environment you are using on Linux Picture 2

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:

How to check the desktop environment you are using on Linux Picture 3

In addition to the desktop environment, Xfce 4.16, in this case, Neofetch also displays 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 section in Settings.

How to check the desktop environment you are using on Linux Picture 4

More simply, you just need to Google which desktop environment comes with your Linux distribution by default. Because in most cases you will still have the default DE installed, 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 Tipsmake wants to share with readers!

Hope you are succesful.

4 ★ | 2 Vote

May be interested

  • Compare LXDE, Xfce and MATECompare LXDE, Xfce and MATE
    when you install linux, there are not many things that you can easily modify, except one thing. that is the desktop environment.
  • 11 great LXDE themes for Linux11 great LXDE themes for Linux
    the default theme that comes with lxde desktop environment is outdated and extremely bland. but don't worry! because this desktop environment is on linux, users can freely change their preferences.
  • How to run Linux desktop using Windows Subsystem for LinuxHow to run Linux desktop using Windows Subsystem for Linux
    one solution to this problem is to use windows subsystem for linux, but this tool does not have a desktop environment.
  • 5 major developments in Linux desktop in 20225 major developments in Linux desktop in 2022
    linux is the dominant operating system on servers, but it is less known as a desktop operating system. however, the linux desktop has come a long way in the past decade and the momentum is not slowing down.
  • How to set and list environment variables in LinuxHow to set and list environment variables in Linux
    if you want to do something that requires using the command line, you will still need to know about environment variables. this may seem like a complicated term, but actually environment variables are easy to understand.
  • 5 reasons to use Linux desktop instead of WSL5 reasons to use Linux desktop instead of WSL
    while wsl has made it easier for people who need to use both windows and linux on the same machine, there may still be reasons to use a real linux desktop on your computer.
  • How to run and install Pantheon Desktop on UbuntuHow to run and install Pantheon Desktop on Ubuntu
    ubuntu brings multi-color experiences to users. but all these experiences are based on a familiar desktop environment.
  • How to install Linux on Android doesn't need rootHow to install Linux on Android doesn't need root
    want to install linux desktop environment on android phone? read the following article to learn how to do it!
  • 12 best Linux server operating systems12 best Linux server operating systems
    although linux operating systems provide a great desktop environment, linux can also successfully complete the task of a server. linux often provides advanced permissions, increasing flexibility and stability.
  • How to use the Linux command line on Android with TermuxHow to use the Linux command line on Android with Termux
    android is a very operating system 'capacity with more and more desktop accessibility applications. however, sometimes you want to make some things on android that can be as easy as desktop. fortunately, you can use the termux tool, which builds on the existing infrastructure and provides a command line environment that allows you to install real linux applications on your android device.