list all installed desktop Environments in Ubuntu

I am Using Ubuntu 13.04 and I have installed many desktops environments to try them. Now I want to know is there any way I can list all the installed desktop environments from the command line tool.


Solution 1:

$ ls -l /usr/share/xsessions/
total 8
-rw-r--r-- 1 root root 4791 Sep  6 15:45 kde-plasma.desktop

enter image description here