Tomasz Melcer wrote: > My friends says that he was running gnome, and he has: > $ echo $GNOME_DESKTOP_SESSION_ID > Default It means that he is running GNOME session called Default. For detection of latest KDE you can use variable KDE_FULL_SESSION. These variables are set by host computer, not by display computer, so it works for session started remotely, too.
> $ echo $DESKTOP_SESSION > $ echo $WINDOWMANAGER These two are distribution specific. > So that's probably not an answer. Also if you will run a program without > these environment variables, but with DESKTOP one set, for example from > another computer through network? Most people want to integrate only actually running desktop. Integrating "alien" command (started from different machine) is much more complicated - it can have different environment, theme, different home directory... -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SuSE CR, s. r. o. e-mail: [EMAIL PROTECTED] Drahobejlova 27 tel: +420 296 542 382 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/ _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
