Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment Variables



On Jun 23, 2005, at 3:39 PM, Joey Mukherjee wrote:

I found out how to set an environment variable by editing a file called environment.plist in a hidden directory called .MacOSX, but that's only useful for us tech heads since we can edit a file and be on our way. Is there a Mac way to set a variable in a "registry" that I can use across our native and/or X11 applications? Or maybe a command line program I can run which sets this variable rather than hacking around an XML file?

defaults write ~/.MacOSX/environment VARIABLE value

(Note that there's no ".plist" after environment.)

Ronnie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Environment Variables (From: Joey Mukherjee <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.