Hello
[Was posted in the Desktop forum but no replies after 6 days]
For faster Gnome session startup, I'm trying to start non-essential applications after allowing interaction with the Desktop.
Some success by System→Preferences→Sessions→"Startup Programs" and deselecting them all except for GnomeStartupProgramsDelayed.sh:
Code:
#! /bin/bash
# Quick and dirty proof of concept to start programs at Gnome session startup with a delay
sleep 60; /usr/bin/wallpaper-tray &
sleep 10; /usr/bin/gkrellm &
Issues arising from this are:
- After Gnome session startup displays an empty desktop, there is what seems like an excessive delay before it draws the background and populates it with icons. How can I find out what is happening during this time? I've enabled debug in /etc/gdm/gdm.conf but AFAIK this only logs up to "DEBUG: Running /etc/gdm/Xsession default for c on :0" so stops at just the point I want!
- When gkrellm starts it grabs focus. Possible to stop this? I guess that's a GKrellM issue, not gdm.
- In System→Preferences→Sessions→"Current Session", listed programs include GnomeStartupProgramsDelayed.sh but ps does not list it so it has exited. WallpaperTray is also listed but when it is made to exit it disappears from the list. How to tell gdm to drop a program from the list when it exits or before?
The most relevant information found so far is at:
I'm stumped for now

and suspect many people would use the technique if it could be made tidy and robust, so all suggestions welcomed.
Best
Charles