Is KDE running?
Waldo Bastian
bastian at kde.org
Sun Nov 9 20:45:17 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat November 01 2003 15:33, John MacMillan wrote:
> 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?
if dcop kdesktop > /dev/null 2> /dev/null; then echo KDE is running; fi
Cheers,
Waldo
- --
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/rqddN4pvrENfboIRAnSPAJ0ZEsXZ1NJfDzw7RQwiGxGwq1uOwQCgpPRP
ghnvxz3WCr08pFdNcui7JIk=
=Ch3k
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list