Is KDE running?

John MacMillan John.Macmillan at
Sat Nov 1 14:33:37 GMT 2003

What's the right way for a script to tell if KDE is up and running, ideally that works with older versions and is likely to work with upcoming ones? Eg. is there an environment variable, or a command that will succeed/fail?

I have a script that starts an xterm, and I'd like to make it KDE-friendly by using konsole if KDE is running.

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list