Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I tell if it's ubuntu or kubuntu that is installed ?

I will install chmsee on ubuntu , but kchmviewer on kubuntu.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

echo $DESKTOP_SESSION should tell you what Desktop Environment is in use. ubuntu == some gtk based DE, unity by default. The others I don't know off-hand, but that environment variable is there for exactly this purpose.

share|improve this answer
    
Ubuntu could also be GNOME. Unless you see KDE as the desktop environment, or LXDE, or XFCE, it's Ubuntu –  Thomas W. Apr 29 '12 at 4:33
    
True...I'll edit to address that, but either way both gnome and unity are gtk based toolkits, which is what the OP was after –  hbdgaf Apr 29 '12 at 4:36
add comment

Your Answer

 
discard

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.