Or if you don't want to alias it, you can change the Terminal item in the
X11 Applications menu to run "xterm -e bash -l" instead of just "xterm".

--
Alexander K. Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX
  


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Avijit
Ghosh
Sent: Tuesday, December 16, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [Fink-beginners] RE: $PATH for Apple X11



        Btw another fix for this, if you aren't running X all the time and 
don't feel like playing w/ the DISPLAY variable is to alias xterm to run 
the login shell always i.e. 

alias xterm='xterm -e bash -l'

On Tue, 16 Dec 2003, Steffen Lund Hokland wrote:

> Dear all,
> 
> Thanks Eric, Alexander and especially Martin for putting me straight :-)
> 
> On 16/12-2003, at 14.48, Martin Costabel wrote:
> 
> > I think you should *not* try to play around with your shell startup 
> > scripts (although it may be too late for this advice now). You should 
> > start by trying to ask the right question. You keep comparing X11.app 
> > and Terminal.app. This is comparing not apples and oranges but single 
> > apples and whole orange trees.
> 
> > or 2. Create a ~/.xinitrc file like in 1., but without the second 
> > line. Forget about xterm and use Terminal.app windows instead. If you 
> > export DISPLAY=:0 you can start any X11 program from the command line 
> > in your Terminal.app window, and you have a much better environment 
> > than in xterm. You can even start an xterm from the command line if 
> > you need one, and it will inherit your PATH variable from your 
> > Terminal.app environment.
> I have removed the bogus ~/.bashrc file, and created a .xinitrc as 
> prescribed by Martin, containing the lines:
> source /sw/bin/init.sh
> exec quarz-wm
> and have subsequently been able to launch X-apps from Terminal.app. 
> I've added the line
> export DISPLAY=:0
> to my ~/.profile, and it works great.
> 
> Thanks again,
> 
> Steffen
> >
> > -- 
> > Martin
> >
> >
> >
> >
> There was a young lady called Bright
> who could travel much faster than light.
> She departed one day
> in a relative way
> and returned on the previous night
> 
> ___________________________________________
> Steffen Lund Hokland, Ms. Sc.
> Research Assistant
> 
> The MR-Research Centre
> Inst. of Exp. Clinical Research
> University of Aarhus
> Skejby University Hospital
> DK-8200 Aarhus
> Denmark
> 
> Phone Office  :       +45 89495264
> Phone Home    :       +45 86166608
> Phone Mobile  :       +45 61307461
> 
> e-mail                :       [EMAIL PROTECTED]
> ___________________________________________
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Fink-beginners mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
> 

_____________________________________________________________________
Avijit Ghosh, Ph.D.                                 Drexel University
Asst. Professor                                 Department of Physics
Phone: 215-895-2726                            Philadelphia, PA 19104
Fax: 215-895-5934                   e-mail: [EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to