[Gimp-developer] Best way to run task at startup?
Frank de Lange
gimp-f at unternet.org
Wed Apr 1 04:41:29 PDT 2009
Hi'all,
I'm looking for the best/easiest/most reliable way to run a task at Gimp
startup. The idea is to run the task once Gimp is up and running, with
all windows rendered and ready. The task at hand is this one:
http://ubuntuforums.org/showthread.php?t=852395
[ HOWTO: autohide GIMP dock windows using gnome panel ]
Those scripts work but they currently rely on a timeout to wait for Gimp
to start. That is a lousy way to do this as sometimes it takes longer
for Gimp to start - so the script won't work, and other times it takes
less time (or no time at all in case Gimp is already up and running) in
which case the script pauses for naught.
So what I'd like to have is some way to reliable get a signal when Gimp
is up and running, or some hook to attach to for starting programs at
that point in time.
TIA//Frank
More information about the Gimp-developer
mailing list