[Gambas-user] An open question

Pablo Vera pvera at ...729...
Tue Aug 1 00:52:35 CEST 2006


I am not sure if this is really reliable or which line could be the 
best, but you could do a:

   ps -A | grep kdeinit

or

   ps -A | grep kded

or

   ps -A | grep kdesktop


and if this return something, then KDE is running.


Pablo
______________________________

Benoit Minisini wrote:
> How can I reliably detect that a Gambas program run on a KDE desktop or on a 
> GNOME desktop?
> 
> If anyone has a clue...
> 




More information about the User mailing list