By the way, you can get the uxlaunch codes by from git repo. Please refer to: http://git.moblin.org/cgit.cgi/uxlaunch/
Lei Y -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yang, Lei A Sent: 2009年10月10日 9:40 To: Robison, Clayne B; [email protected] Subject: Re: [Moblin Dev] defining an environment var at X startup AFAIK, you have to change the uxlaunch codes to add your environment variables. Thanks, Lei Y -----Original Message----- From: Robison, Clayne B Sent: 2009年10月9日 23:11 To: Yang, Lei A; [email protected] Subject: RE: defining an environment var at X startup How do I export a variable in the uxlaunch? Clayne > -----Original Message----- > From: Yang, Lei A > Sent: Friday, October 09, 2009 2:35 AM > To: Robison, Clayne B; [email protected] > Subject: RE: defining an environment var at X startup > > Hi Clayner, > > You cannot export environment variables in scripts since every variable > is exported by uxlaunch process. > In uxlaunch codes, before export variables, it clears all var firstly. > > Thanks, > Lei Y > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Robison, Clayne B > Sent: 2009年10月6日 1:48 > To: [email protected] > Subject: [Moblin Dev] defining an environment var at X startup > > Hello, > > I'm trying to define an environment variable when the default user's X > session starts. I've tried /etc/profile and /etc/rc.local, but neither > works. What is the recommended location for this so that run level 5 > apps can access $MY_VAR: > > export MY_VAR=my_val > > > Thanks. > > Clayne Robison > Application Engineer > Intel Corporation > Salt Lake, UT > 801.445.0297 > > "Perhaps travel cannot prevent bigotry, but by demonstrating that all > peoples cry, laugh, eat, worry, and die, it can introduce the idea that > if we try and understand each other, we may even become friends." > Maya Angelou > _______________________________________________ > Moblin dev Mailing List > [email protected] > > To manage or unsubscribe from this mailing list visit: > http://lists.moblin.org/listinfo/dev or your user account on > http://moblin.org once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
