Determine if Xfce is running

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


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,

More information about the Xfce4-dev mailing list