I was wondering what commands/utilities can be used in terminal to know the types of windowing system (such as X window system), window manager (such as Metacity, KWin, Window Maker) and desktop environment (such as KDE, Gnome) of a Linux or other Unix-like operating systems?
Thanks!
desktop environment
, I came acrossenv | grep XDG_CURRENT_DESKTOP
. – May 07 '13 at 17:41