startup time: autostart

Waldo Bastian bastian at kde.org
Tue May 21 19:08:38 BST 2002


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

> This would serialize the startup to a large degree and could result in a
> faster and more straightforward startup without adding arbitrary waits or
> sleeps.
>
> Waldo, any thoughts on this?

Fine with me.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list