Determine if Xfce is running

Christian Dywan christian at twotoasts.de
Fri Sep 14 03:50:40 CEST 2007


Hi,

I wonder, what would be a good way to figure out from a program, if the
user is running Xfce? I know about the environment
variable DESKTOP_SESSION, which is set by gdm and (a recent) kdm. Yet
this works only if there's actually one of these running. So are there
any alternatives?

Best regards,
    Christian



More information about the Xfce4-dev mailing list