Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
You can read the installed DE list into the login screen. If you try to select a DE you will also see the list of all the installed DEs – PeppeDAlterio Sep 18 '13 at 12:04
@PeppeDAlterio well , I did mention that already . I want to get from command line. – Raja Sep 18 '13 at 12:05
up vote 16 down vote accepted
$ 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

share|improve this answer
come on brother , that much fast. some day I will give you complex task. :P – Raja Sep 18 '13 at 12:15
I have added the image , hope you dont mind. – Raja Sep 18 '13 at 12:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.