[Xquartz-dev] 2.3.2_rc4

Jeremy Huddleston jeremyhu at apple.com
Sat Dec 20 11:37:01 PST 2008


On Dec 20, 2008, at 02:25, Martin Costabel wrote:

> Jeremy Huddleston wrote:
>
>> On Dec 18, 2008, at 23:17, Martin Costabel wrote:
> []
>> While that is a regression, I'd like to point out that it is not  
>> wrong behavior.  It is consistent with the *nix boxes out there  
>> that use gdm, etc.
>>> Actually, I don't know how these commands in the "Applications"  
>>> menu are currently run.
>> they're run with fork() exec(...)
>>> My test script that I used for probing this writes the output of  
>>> `printenv` and of `ps xwwej` to some file in /tmp/. With rc4, it  
>>> does not seem to be run at all
>> were you running something that actually starts a shell?  If you  
>> run 'nedit' for example, then you shouldn't expect it to create a  
>> shell just to run nedit (which was the case before).
>
> I understand it now: The script is ~/bin/saveenv, and the "~" is now  
> no longer interpreted as /Users/costabel as it used to.
>
> The new system also obsoletes all those FAQs that explain how to get  
> a decent environment into the apps started from the Applications  
> menu. They typically said to place something like

"All those FAQs"?  Where are these FAQs?

> source login-startup-script.sh; app-to-run

The apps were getting a "decent environment" because they were being  
run from a login shell.

It does obsolete the login_shell defaults option that was used for a  
few versions, and the FAQ was updated to reflect that change.

> into the Application menu command line. Such shell commands won't  
> work any more, which is a pity.

Why not?  Just put that 'login-startup-script.sh' into your ~/.profile  
where it belongs.




More information about the Xquartz-dev mailing list