Re: Simple question
Re: Simple question
- Subject: Re: Simple question
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 4 Oct 2005 19:56:14 -0400
On 10/4/05, Tommy Grav <email@hidden> wrote:
> A quick newbie question:
>
> When I load up X11 it starts a xterm that runs bash. How can I get it
> to start
> with tcsh running instead? How do I also get it to automatically
> start an xgterm
> window on startup?
First: if you prefer tcsh, you should probably just change your login
shell to it; that way you'll always get tcsh whether you run an xterm
or an xgterm or Terminal or iTerm or whatever. Just type "chsh" at
the prompt, which will drop you into a text editor containing your
shell and full name from the password database in NetInfo. Change the
shell from "/bin/bash" to "/bin/tcsh" and you'll be in tcsh from then
on.
Second, when you start up X11 it looks for a file called .xinitrc in
your home directory for the list of commands to run. If you create
such a file, you can run whatever you want. See the xinit manual
page (type "man xinit" in a Terminal or xterm window) for important
caveats - for instance, you need to run all but the last command in
the background with & or else the next command in the list won't be
run until you close the first one, but the last one can't be run that
way or else X will exit right away.
> Cheers
> Tommy Grav
> email@hidden
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden