[CLUE-Tech] X and .login script
Mike
mikeg at chisp.net
Wed Feb 20 20:08:29 MST 2002
I figured out what I need to do. I just needed to put this in
~/.xinitrc:
if [ -f $HOME/.login ]; then
/bin/tcsh $HOME/.login
fi
so that ~/.login will run one time only when I login from X.
Thanks for the response. It got me thinking about how to clarify the
question which led to the solution.
On Tue, Feb 19, 2002 at 11:44:04PM -0700, Todd A. Gibson wrote:
> > How do I configure my system to run the ~/.login script for the tcsh
> > shell when I login via X?
>
> Do you mean to say that the ~/.login script doesn't run when you open a
> terminal emulator window in X? If so, the solution is to look at the man page
> for the terminal emulator program you are using and look for an option
> that will start the terminal window with a "login shell" For example, that
> option is -ls for xterm and is --login for gnome-terminal.
> -TAG
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech
More information about the clue-tech
mailing list