The only Desktop Environment I ever used was Xfce, now for sheer curiosity, I installed Kali Linux. I clicked here and there on the Desktop in a vain hope to get info about the Environment itself. Is there a standard procedure to check the name of the Desktop Environment from the command-line, maybe something like:
ps -e | grep xxx
but then, I do not know what I could try to grep.
I just mentioned Kali Linux as an example, I would like to know how to do it in general.