1

I have a computer with Arch linux. I want to know which desktop environment is installed.

My ultimate goal would be to install Gnome. Is it possible to have two desktop environments.

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227

1 Answers1

5

You can try to print some env variable. At least gnome fill the X environment variable XDG_CURRENT_DESKTOP correctly:

$ echo $XDG_CURRENT_DESKTOP
herbert
  • 5,762
  • 1
  • 8
  • 8