hi
i m doing a programme in c++ i want to know the desktop name like KDE,Gnome, Twm etc what ever is currently activated. my c++ or script programm is able to tell that what xsession is currently on.
is there any environment variable that can tell which x window is going to start when we hit startx command.
a bundle of thanks for my helpers