• 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: Feature requests & bugs for X11 for Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature requests & bugs for X11 for Mac OS X


  • Subject: Re: Feature requests & bugs for X11 for Mac OS X
  • From: lenny bruce <email@hidden>
  • Date: Tue, 14 Jan 2003 13:20:47 -0800

On Tuesday, January 14, 2003, at 10:33 AM, Brian T. O'Neill wrote:
Quoting Ken Tabb (email@hidden) from :
* The 'Applications' menu doesn't honour the $PATH env variable, so for instance I installed gimp using fink, which has put it in /sw/bin. I then add /sw/bin to my path, and typing "gimp" at the command line (eg. in an xterm) works fine. In the Applications menu however, if you add <Name>Gimp <Command>gimp then it doesn't work (it just does nothing). You have to type <Name>Gimp <Command>/sw/bin/gimp for it to work.

This is doing what its supposed to be doing. If you run X11.app from command line it will inherit your $PATH. If you run it from the Dock or Finder, it inherits the PATH of the Dock/Finder, neither of which read your login or rc files. You need to edit the .MacOS/environment.plist file and set your path there. See http://www.misplaced.net/fom/X11/36.html for more info.


Hold the phone here...
your link says to name the directory ".MacOS"

yesterday Lawrence Paulson (THANKS!) sent us to this link
http://developer.apple.com/qa/qa2001/qa1067.html
where Apple tells us to name the directory ".MacOSX"


I did it Apple's way and it works now! X11 apps launch correctly!


previously, I tried entering the explicit directory in the X11 Application menu
(like "/sw/bin/gnomecc", for example) but this was a bad kludge even though it launched the application because apps like GnomeCC failed to find necessary sub-apps and needed files.


I never actually used the X11 Application Menu to launch anything serious because I ended up launching apps from XFWM's XFCE taskbar (it's great).
XFWM is my window manager so its' sub-app XFCE gets the paths from my xinitrc.



I tested the effectiveness of the ~/MacOSX/environment.plist after a reboot
by removing the explicit paths from the menu so it would try just the app name
("gnomecc" instead of "/sw/bin/gnomecc") and it worked perfectly... cool.






To avoid confusion: XFCE is the official name of the window manager,
yet "xfwm" is the window manager command and "xfce" is the taskbar command.
XFWM runs XFCE automatically when you choose it as your window manager
but you can run the XFCE taskbar separately if you use some other manager.
Confusingly, Fink offers the "xfce" package (which is XFWM without XFCE)
and the "xfce-taskbar" package (which includes both XFWM and XFCE).
Everything XFCE-related is explained at http://www.xfce.org/




lenny bruce                        I am not a comedian,
email@hidden        I am Lenny Bruce.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • problems with vis5d+ (scientific data visualization program)
      • From: Mike Zulauf <email@hidden>
    • Re: Feature requests & bugs for X11 for Mac OS X
      • From: "Brian T. O'Neill" <email@hidden>
References: 
 >Re: Feature requests & bugs for X11 for Mac OS X (From: "Brian T. O'Neill" <email@hidden>)

  • Prev by Date: Re: cant install "system-xfree86" package from finkcommander
  • Next by Date: Re: X11 Beta and GNU Plotutils
  • Previous by thread: Re: Feature requests & bugs for X11 for Mac OS X
  • Next by thread: Re: Feature requests & bugs for X11 for Mac OS X
  • Index(es):
    • Date
    • Thread