startup time: autostart
Thomas Zander
zander at planescape.com
Tue May 21 16:18:26 BST 2002
On Tue, May 21, 2002 at 02:25:35PM +0200, Matthias Ettrich wrote:
>
>
> When klauncher performs autostart, it reads all items from the "autostart"
> folder, sorts them according to X-KDE-autostart-after and launches them at
> the same time.
>
> On slow machines with little memory, starting those ~9 applications at the
> same time (including bigger ones like kicker and kdesktop) causes significant
> activity, hence the modified startkde scripts.
>
> 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.
>
> 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?
>
>
> Matthias
My first thought (although I'm not Waldo) is that you add quite a number of
'points of failure'.
If one failes your startup 'stops' :}
--
Thomas Zander zander at planescape.com
We are what we pretend to be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020521/0df8de7e/attachment.sig>
More information about the kde-core-devel
mailing list