[Xquartz-dev] Re: 2.1.2 release candidate

Jeremy Huddleston jeremyhu at berkeley.edu
Wed Jan 9 19:13:29 PST 2008


On Jan 9, 2008, at 16:33, Peter Dyballa wrote:

>
> Am 09.01.2008 um 23:22 schrieb Jeremy Huddleston:
>
>> That's what I want to do (see previous posts from me when your  
>> digest comes for more detail), but launchd.plist doesn't have an  
>> easy way to get <user>.
>
> Why does it need to have or provide it? Doesn't the environment in  
> which launchd works supply $USER? Wouldn't 'id -un' give the right  
> value at run-time?
>

It does supply $USER in the environment, but it can't be set on the  
command line when launched from launch (hence the sh -c '...  
$USER ...' attempt).

> A little helper script could record with defaults the key/value pair  
> near login-time ...

I'm not sure what you mean by this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080109/ce5117e5/smime.bin


More information about the Xquartz-dev mailing list