On Tuesday 21 August 2012 09:52:54 Oliver Grawert did opine:
> hi,
>
> Am Dienstag, den 21.08.2012, 06:45 -0400 schrieb Gene Heskett:
> > > > (Someone correct me if i'm wrong, my knowledge is old and
> > > > non-Ubuntu, but i don't see why this would have changed.)
> > > > All scripts in /etc/rc.5/ will not be run until runlevel 5 is
> > > > reached, which is typically the "graphical" run level.
>
> here is an upstart script, just store it in /etc/init/myscript.conf and
> be done:
>
> --- snip ---
>
> description: "running myscript"
>
> start on (starting gdm
> or starting kdm
> or starting xdm
> or starting lxdm
> or starting lightdm)
>
> task
> script
> /path/to/your/script
> end script
> --- snap ---
>
> this will fire your script only if the display manager emitted the
> "starting" event .. for more details see [1]
>
> ciao
> oli
>
> [1] http://upstart.ubuntu.com/cookbook/
That link is nicely done, but does not consider or discuss putting an
upstart job on a given workspace. Sigh..
Thanks Oli.
Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
There's always free cheese in a mousetrap.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users