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



There's a small piece of freeware called RCEnvironment that appears to do what you want. It's implemented as a preference pane and allows you to set environment variables that are made available to any application you run. It can be obtained from www.macupdate.com.

-- Owen


--On Thursday, June 23, 2005 5:39 PM -0500 Joey Mukherjee <email@hidden> wrote:


I ported one of our Unix X11 applications to native Mac using Qt which
is nice since it looks so cool.  Most of our apps are still X11, however
and I would like to distribute all of these as a single bundle.

All of our applications are very dependent on an environment variable
being set.  What is the preferred Mac way to do this?

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?

Also, is there an easy way to bundle X11 and native applications
together?  Our software is like an office suite made up of several
applications.

Thanks for any insight!
Joey

 _______________________________________________
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@hiddenord.
edu

This email sent to email@hidden


_______________________________________________
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.