• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the proper PATH
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the proper PATH


  • Subject: Re: Setting the proper PATH
  • From: Martin Costabel <email@hidden>
  • Date: Thu, 06 Feb 2003 09:26:23 +0100

Art Werschulz wrote:
Hi.

Here is my .xinitrc file

    xrdb .Xdefaults
    xterm -geometry 80x24-1-100 -ls &
    /sw/bin/emacs &
    exec quartz-wm

By using "-ls", the xterm sources the .login file and gets the proper path. However, emacs is unaware of the proper path. (In particular, it doesn't know where my TeX executables are.) Is there some way I can get the emacs launched from .xinitrc to have the proper path?

Since you are using Fink, the first line in your .xinitrc should be

    source /sw/bin/init.sh

It will set up the environment for the other programs started from .xinitrc.

Similarly, I have an "emacs" entry in my X11 Applications menu. Said emacs also doesn't have the proper path. How can this be fixed?

This, too, has been explained many times on this list: You have to start the X server with a proper environment. Either start the X server from the command line or write a wrapper script (or use one of the clickable wrapper scripts that you can find on the net).


--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Setting the proper PATH (From: Art Werschulz <email@hidden>)

  • Prev by Date: Re OpenOffice.org
  • Next by Date: Re: Setting the proper PATH
  • Previous by thread: Setting the proper PATH
  • Next by thread: Re: Setting the proper PATH
  • Index(es):
    • Date
    • Thread