auto launching a script upon login
Joseph E. Sacco, Ph.D.
joseph_sacco at comcast.net
Mon May 16 11:34:21 MDT 2005
Agreed...
Which initialization file to use is dependent upon what is is you are
trying to launch.
Three come to mind:
* .bash-profile
* .xinitrc
* .xsession
-Joseph
====================================================================
On Mon, 2005-05-16 at 11:23 -0400, Mark Guertin wrote:
> This may not be the best route if it's an X11 based program.
> Modifying the .bash_profile would mean that the demo would launch (or
> attempted to launch) every time you initiate a new {x,k,e}term or
> login in runlevel 3 (non-graphical).
>
> Mark
>
> On May 16, 2005, at 10:56 AM, Joseph E. Sacco, Ph.D. wrote:
>
> > Or modify the default user's .bash_profile
> >
> > # .bash_profile
> >
> > # Get the aliases and functions
> > if [ -f ~/.bashrc ]; then
> > . ~/.bashrc
> > fi
> >
> > # User specific environment and startup programs <=====
> >
> > PATH=$PATH:$HOME/bin
> >
> > export PATH
> > unset USERNAME
> >
> > -Joseph
> > ======================================================================
> >
> > On Mon, 2005-05-16 at 10:45 -0400, Mark Guertin wrote:
> >
> >> If you're booting into the GUI env (init 5 - which is the default)
> >> then you can probably add this to the ~/.xinitrc file and get what
> >> you want.
> >>
> >> Mark
> >>
> >> On May 16, 2005, at 10:39 AM, Jonathan Hartje wrote:
> >>
> >>
> >>> All,
> >>> I have a YDL 4.0.1 laptop that automatically logs a user in on
> >>> startup. Does anyone know of a config file I can use to launch a
> >>> set of scripts when that user logs in. The machine is slated to be
> >>> a demo machine and thus I want the process to be as simple as
> >>> possible. I have a top level script TOP_LEVEL.sh that I'd like to
> >>> be run as soon as my default user logs in. Any ideas?
> >>>
> >>> Thanks in advance.
> >>> Jon
> >>> _______________________________________________
> >>> yellowdog-general mailing list
> >>> yellowdog-general at lists.terrasoftsolutions.com
> >>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
> >>> general
> >>> HINT: to Google archives, try '<keywords>
> >>> site:terrasoftsolutions.com'
> >>>
> >>>
> >>
> >> =====================================
> >> Mark Guertin
> >> Technology Manager, Bruce Mau Design
> >> 197 Spadina Ave, Suite 501
> >> Toronto, ON, Canada M5T 2C8
> >> guertin at brucemaudesign.com
> >> 416-260-5777 ext. 291
> >> =====================================
> >>
> >>
> >> This email and its attachments are confidential: they are for use
> >> of the
> >> named recipient(s) only. Information contained in this email and
> >> attachments
> >> to it are protected by privilege, work product immunity, copyright
> >> and other
> >> applicable law. If you are not the intended recipient please
> >> notify us
> >> immediately by telephone at 416.260.5777 or by e-mail at
> >> studio at brucemaudesign.com and delete this email from your files.
> >>
> >> _______________________________________________
> >> yellowdog-general mailing list
> >> yellowdog-general at lists.terrasoftsolutions.com
> >> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-
> >> general
> >> HINT: to Google archives, try '<keywords>
> >> site:terrasoftsolutions.com'
> >>
> > --
> > joseph_sacco [at] comcast [dot] net
> >
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general at lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> > HINT: to Google archives, try '<keywords>
> > site:terrasoftsolutions.com'
> >
>
> =====================================
> Mark Guertin
> Technology Manager, Bruce Mau Design
> 197 Spadina Ave, Suite 501
> Toronto, ON, Canada M5T 2C8
> guertin at brucemaudesign.com
> 416-260-5777 ext. 291
> =====================================
>
>
> This email and its attachments are confidential: they are for use of the
> named recipient(s) only. Information contained in this email and
> attachments
> to it are protected by privilege, work product immunity, copyright
> and other
> applicable law. If you are not the intended recipient please notify us
> immediately by telephone at 416.260.5777 or by e-mail at
> studio at brucemaudesign.com and delete this email from your files.
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general at lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try '<keywords> site:terrasoftsolutions.com'
--
joseph_sacco [at] comcast [dot] net
More information about the yellowdog-general
mailing list