With this tip I saw there is a total of about 60 applications being launched by startup applications, and at the moment I have to sit back and wait about 45s while the desktop is unresponsive…
How does startup applications work? can I tweak it in some way to make these apps start more gradually, not all together?
I don't want to disable any of them, just stop them all being loaded simultaneously and freezing the desktop
Best Answer
First I saw this tip, but
sleep 20;xscreensaver -nosplash
seems not to work anymore on Ubuntu 14.04.So I coded this script
execLater.sh
and put it at a place in my $PATH,chown
ed itroot:root
and mode permissionsrwxr-xr-x
, and put it on a fullyroot:root
folder structure like/usr/local/bin
.So it sleeps before executing the command.
Show all hidden startup applications by following this tip
Now for each startup application.
If there is, for example, this:
change to this below, where "20" is the delay; I used up to "60" knowing I dont care much for some applications; and a minimum of "5" for the ones I care most.
The tricky part
each of these below must have an exclusive delay of "1" because everything else depends on them
My guess is, when all 60 apps startup at same time, these above take longer to complete and so the whole desktop stays unavailable...
If you log when each command was executed, you will understand what applications must have delay of "1", because all others are "actually only executed (?)" or "called?" after these; the above list is not fixed, it is just a tip, just logoff and login (no need to reboot to complete this list) so you can make the tests until you are satisfied with the results - now my desktop is available after only 5 seconds :)