Faster gnome session startup by delayed programs start
[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:
I'm stumped for now :scratch: and suspect many people would use the technique if it could be made tidy and robust, so all suggestions welcomed.
Delaying Startup Applications
I really wish I could help you. For me, the only thing lacking in making Gnome the perfect desktop environment is a way to delay applications starting up.
I want, for example, for qBittorrent to download to an encrypted drive. Having it start automatically is handy, but it would be nice to give me time to mount the drive before it starts. And so on.
I was a Windows tech for twenty years, but I'm a complete Linux newbie. C'mon, guys, is there anyone who can help this guy out?
Thanks Kate :)
That post was getting lonely! I never did get any further; I switched to Xfce instead of Gnome. An XfceDelayedAutostart.sh script is working simply, as hoped.
One suggestion: what happens if you move everything off the desktop? Does Gnome start any faster?
One solution for what you want to do would be to write a shell script to do it, run from the autostart feature. The most common way for shell scripts to participate in the desktop GUI is with zenity but the little-known yad is a lot easier to use and more powerful.
If the encrypted drive is external it might be possible to automate everything -- so when it is plugged in you are prompted to authenticate and, when that is successful, qBittorrent is started.
|All times are GMT -5. The time now is 02:00 PM.|