Home Linux How to Check Desktop Environment in Linux

How to Check Desktop Environment in Linux

How to check the desktop environment of linux from the command line??

There are many methods available to check the desktop environment in Linux. Here we will show you commonly used two methods.

Run the following command from the terminal.

# echo $XDG_CURRENT_DESKTOP
Check Desktop EnvironmentCheck Desktop Environment

READ: How to Add and Delete Users on CentOS 7

Alternatively, you can also use the following command.

# env | grep XDG_CURRENT_DESKTOP


Conclusion: These are the two methods shown to check the Desktop Environment in Linux.

LEAVE A REPLY

Please enter your comment!
Please enter your name here