Hi all,
I put iceweasel and kmail to autostarting via the system setting. It seems that the programs start very fast and are up and running before the internet connection is established. So getting the home page and the newest mail fail. OS is on a SSD.
How can I bring the autostart to wait one or more seconds?
In your startup script, use "sleep n" where "n" is seconds. Here is an example:
#!/bin/bash
sleep 30 && # 0 good for Xfce - use 20 to 30 for Gnome
conky -c /home/don/Conky/conkymain &
sleep 8 &&
radiotray &
#/opt/MonitorSoftware/agent start &
sleep 1 &&
#end
thanks dibl, but right now I did this via the "systemsettings". Is there an option too for sleep-mode?
Quote from: mylo on 2014/01/26, 16:23:06
thanks dibl, but right now I did this via the "systemsettings" ...
Upppps -- sorry, you did say that and I overlooked it.
In systemsettings > Startup and Shutdown > Autostart, it shows "Add Script" as a menu choice -- that is where my script is invoked on my system.
Sleep and hibernation are set somewhere else -- maybe Power Management > Button Events Handling?
mylo, in Systemsettings > Startup and Shutdown > Autostart you have iceweasel and kmail? Select one, goto settings, open tab program (I think, german version here) and where the actual command is given, put "sleep 5 &&" in front of it (example: change "iceweasel %u -> "sleep 5 && iceweasel %u).
Thanks guys, and dibl, I oversaw the "Add Script" option. Have to check and adapt right now.