Re: Is KDE running?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxx -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@xxxxxxxx
-----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-----
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux