[Wolfgang Schweer] > Instead of XDG_DATA_DIRS one could check DESKTOP_SESSION which is set > to (case sensitive) gnome, kde, LXDE respectively.
Why do you believe this is better? What is using DESKTOP_SESSION? I know all OpenDesktop compatible desktops use XDG_DATA_DIRS, and this is the reason I believe it is a better choice. What is the content of XDG_DATA_DIRS in a LXDE session? > It might then be possible to bring up the default LXDE file manager > pcmanfm if running LXDE on thin clients. I failed to code that :( > Seems to be some problem concerning $2 if several cases have to be > checked. It would still be possible. We could just see which program is installed and use pcmanfm if it is installed. PS: Did you make a screen cast of your favorite application yet, ref <URL: http://lists.debian.org/debian-edu/2012/02/msg00214.html >? :) -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

