startup time: autostart

Matthias Ettrich ettrich at trolltech.com
Tue May 21 19:31:54 BST 2002


On Tuesday 21 May 2002 20:08, Waldo Bastian wrote:
> On Tuesday 21 May 2002 05:25 am, Matthias Ettrich wrote:
> > Most applications, at least the big ones like kicker, kdesktop or even
> > kwrited and khotkeys register with dcop. Thus we could use the dcop bus
> > to figure out when the application has been started.
> >
> > Say we add a field
> >
> >     X-KDE-autostart-wait-DCOP=appname
> >
> > to the desktop files which makes klauncher wait for the
> > DCOPClient::applicationRegistered(appname) signal.
>
> There is already X-DCOP-ServiceType which defines _that_ the application
> registers with dcop and which indirectly defines the name it registers
> with, so you would only need something like:
>
> X-KDE-autostart-wait-DCOP=true

I see, but how do I reliably get the DCOP appname? Take panel.desktop as an 
example. DCOP-Service type is "wait" and EXEC is kicker, so is the dcop name. 
But assuming EXEC == dcopname really is just an assumption.


Matthias




More information about the kde-core-devel mailing list