Windows equivalent of 'startup'
Joel Oliver
joelol75 at verizon.net
Thu Jul 2 22:13:05 UTC 2009
Other simple but overlooked things are not making your custom scripts
executable:
chmod a+x program.sh
With a symbolic link this isn't needed as long as the target is executable.
I know in gnome the hplip status service taskbar item wouldn't work for
me giving me problems with running too soon and having it complain that
the taskbar isn't running. And and also alltray, a great program to
drop other programs into the taskbar instead of opening them. A simple
hack is to delay these programs with sleep.
So like...
#!/bin/bash
sleep 25
alltray -na /usr/bin/thunderbird
and saving this script and make it executable dropping it into the
Autostart directory fixed all the problems. With Gnome it's in
System>Preferences>Sessions (Hardy) (or startup applications in
jaunty)and this launches a program from anywhere so it can point
directly at the executable, a symlink, or a script that calls the
executable. You may have luck 'chaining' the commands on the one line
avoiding writing a script. (Like sleep 25 && alltray -na
/usr/bin/thunderbird) I think this gave me some problems before so I
just use a script.
Hope this helps.
Joel.
More information about the kubuntu-users
mailing list