[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    startup time: autostart
From:       Matthias Ettrich <ettrich () trolltech ! com>
Date:       2002-05-21 12:25:35
[Download RAW message or body]



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic