Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2)



Daniel Sproul wrote:
I have installed XQuartz's X11.app version 2.3.3.2 over the normal X11.app that comes with MacOSX. I'm running OSX version 10.5.7.

If I launch X11.app by clicking the dock icon, my (zsh) environment will

Stupid question: Are you sure that the dock starts the right X11.app? That is, does "Show in Finder" from the X11 dock icon menu indeed give /Applications/Utilities/X11.app and not something else? I have occasionally had the dock icon starting an old version of an app that I had moved out of the way to test a new version.


not be set properly (ie. .zprofile not getting read), whereas if I launch X11.app from a Terminal.app window (say with "startx &" or "xterm &") my environment *will* be properly set (ie. .zprofile does get read)

There was some mention of a similar problem on the XQuartz FAQ:
http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#Howcanmylauncedapplicationsinheritmytcshenvironment

As you noticed, that wiki entry is outdated and wrong.

--
Martin


_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
References: 
 >zsh environment not always set properly using XQuartz's X11.app (v2.3.3.2) (From: Daniel Sproul <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.