[04:38] hello [04:38] fired up my r-pi with openelec tonight [04:38] worked wonderfully [04:38] once I get my hdds in for my server Ill host videos there and auto mount the smb share on the r-pi... stream over the network. pro. [06:08] I want to set an evironment variable BEFORE invoking python. How to do that ? gksu python script.py [10:36] Morning [12:43] Morning. [12:50] hi waltman [12:54] yo [14:08] Hey anyone pay attention to my 1am question? Oh, yes, Good Morning ! [14:26] InHisName: VAR=value python script.py [14:27] That works for any command, e.g. TZ=Europe/Helsinki date [14:29] But, waltman, when I click the Icon on desktop with the command from 1am comment, the path is not there, it fails. Need a way to inject the path before starting the command. ---> gksu python script.py [14:30] what's gsku? [14:30] Would VAR=value gksu python script.py work ? [14:30] probably, depending on what gksu is [14:30] ah [14:31] I'll try that then. [14:31] you could also try putting it after gksu. With sudo it works either way. [14:33] Nope, adding that into the front of command does NOT work. Program does not start anymore. [14:33] OK, I'll try that, then. [14:35] Nope, just prompt for su password, then nada ! [14:35] Where can I put it during bootup. THAT should do it just grand. [14:35] ubuntu 12.10 [14:36] It was put into .bashrc but no good either. can't find an "rc" file for python. [14:38] can you modify the environment variable inside the script? [14:41] http://o3.aolcdn.com/dims-shared/dims3/PATCH/resize/600x450/http://hss-prod.hss.aol.com/hss/storage/patch/1d65d35c3eea7d49422576a13d4b6b50 # this is what it was like getting home on the R5 yesterday [15:07] The R5 is a coal train??? [15:08] Did you really get to help shovel ? [15:09] I tried using -->os.environ['VARIB']="stuf" but that aparently wasn't good enough to work. [15:10] OK, maybe I'm exaggerating a bit... [15:10] Best that I set it during boot. What script always runs that I can add an export environment var to it ? [15:11] That is, in fact, the same train line, but from like 100 years ago. [15:11] http://brynmawr.patch.com/articles/historical-snow-photo-where-and-when-was-this-taken#photo-13128409 [15:16] Boy ! you've been riding that train way too long, waltman [19:41] Good bacon to all! [19:41] I'm now a SubReddit Mod :O [19:41] www.reddit.com/r/ImNewOnTheInternet [20:13] I'm too young for that stuff [20:23] lol [22:21] stupid 12.10 is taking way to long to update [22:21] it's been installing stuff almost all day :P [22:24] ouch [22:24] what is your connect like? [22:33] download is done [22:33] it's all install for like the lat 4 hours [22:36] oh wow [22:36] :( [22:36] I'm afraid to fire up my server VM for it now [22:36] lol [22:37] got a spiffy DUAL Quad Xeon [23:09] finally at the clean up stage [23:10] now i have to restart my laptop because of a kernel update :-/