[Kde-accessibility] Programmatic control of Simon

Peter Grasch grasch at simon-listens.org
Sun Mar 4 09:08:21 UTC 2012


Hi Steve,

Am Samstag, 3. März 2012, 18:49:33 schrieben Sie:
> While I am at it, are there similar DBus commands for monitoring Simon? So
> I'd
> like:
> 
> 1) To check regularly that Simon is running (say every second).
> 2) To restart it if needs be ( I guess this is a system command).
> 3) To close it if needs be.
To start simon and to check if it's running I'd rely on OS calls (or rather 
their abstraction in a perl module). To quit simon, you can call quit DBus for 
a clean exit:
Service: org.kde.simon
Path: /MainApplication
Interface: org.kde.KApplication
Method: quit

Best regards,
Peter


More information about the kde-accessibility mailing list