On 2019-08-22 19:46, Trond Kandal via X11-users wrote:
It is different story when a shell is executed.
What you want is a correct PATH "behind" the OSX GUI, because
it does not work when you start X11 from Finder.
Can you try this command in terminal and send me the output?
defaults read org.macosforge.xquartz.X11
Hello,
I agree. I now realize that I know the problem.
A solution is to execute the binary from the very shell that holds the correct
path :
% /Applications/Macports/X11.app/Contents/MacOS/X11
Then the X11 MacOS X GUI application is fully functional.
This is acceptable for Unix users but not for Mac users because it requires
looking for the binary into the .app package.
The older XQuartz sponsored by Apple does not have the problem : it just works
as expected when clicked upon.
There would be no problem if Macports did not try to make a MacOS X GUI
application.
The problem also occurs for example with Emacs for Mac OS X
(https://emacsformacosx.com/).
There are useful discussions on the web, like
https://apple.stackexchange.com/questions/63662/how-to-change-path-environment-variable-to-os-x-10-8-mountain-lion-that-will-be
To set MacOS X GUI applications path, the environment.plist setup used to work
with older MacOS X versions. With El Capitan or newer, I don't know how to but I
do not really care.
However, X11 developers should care, if they want they work to be really used by
Mac users.
--
Pierre ALBARÈDE
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com
This email sent to [email protected]