[mdlug] Adding a shell script to run after boot.

Adam Behnke abehnke at gmail.com
Sun Apr 14 18:29:12 EDT 2013


i have the box auto-login as the user i created. it's actually xubuntu, but
i'll try gnome-session-properties.

reading up on it, i think the #!/bin/bash -l might do the trick


On Sun, Apr 14, 2013 at 5:17 PM, Mat Enders <mat.enders at gmail.com> wrote:

>  Try modifying the shell line to add a -l (that is a lower case L).
>
>
> #!/bin/bash -l
>
> The -l argument specifies a login shell. If your usual login sets a lot of
> environment variables this can quickly solve a multitude of strange
> problems.
>
>
> On Sun, Apr 14, 2013 at 4:35 PM, Adam Tauno Williams <
> awilliam at whitemice.org
> > wrote:
>
> > On Sun, 2013-04-14 at 12:01 -0400, Adam Behnke wrote:
> > > fat32. yes
> > > actually, the script works great via both a desktop launcher and
> > terminal.
> > > sleep did not help, in fact i had to delete the playlist to get the
> > script
> > > to write the found files on the usb into the playlist.
> >
> > Because user apps need a user session to operate normally.
> >
> > 1.) Set the box to auto-login as a guest user [or some user].
> > 2.) Run gnome-session-properties and add the script as a "Startup
> > program".
> >
> > _______________________________________________
> > mdlug mailing list
> > mdlug at mdlug.org
> > http://mdlug.org/mailman/listinfo/mdlug
> >
>
>
>
> --
> Mathew E. Enders
>
> "Where once Samba and Apache sold Linux to the world they are now just part
> of the plumbing.  But that's OK, plumbers make good money."
> --Jeremy Allison
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>


More information about the mdlug mailing list