Both the use of a .xinitrc file and setting the DISPLAY environment variable are already in Running X11.
--
Alexander Hansen
Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX


On Dec 16, 2003, at 10:59 AM, Scot Johnson wrote:


On Dec 16, 2003, at 7:48 AM, Martin Costabel wrote:



What you can do is, for exmple:


1. Create a ~/.xinitrc file containing three lines like

  source /sw/bin/init.sh
  xterm -ls -sb -sl 2000 -rightbar -fn 6x13 &
  exec quartz-wm

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.

--
Martin
This is extremely helpful advice! Perhaps this advice (and some of the preceding philosophical discussion, which I snipped) can somehow be incorporated into the X11 documentation on the fink website? Thanks again to our regular contributors (i.e. Martin Costabel, Alexander Hansen, and Ranger) who protect us from ourselves :)
__
Scot




-------------------------------------------------------
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_id=1278&alloc_id=3371&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to