Re: Programmatic control of Simon

Peter Grasch <[email protected]>
Newsgroups gmane.comp.kde.devel.accessibility
Message-ID <8889727.j6xcf6InxD@eucleia>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.