View Single Post
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
I use
Code:
file = open('/tmp/dbus-info')
raw = file.read()
temp = raw.split('\n')
temp2= temp[0].split('=',1)
os.environ[temp2[0]] = temp2[1]
But it might be better to run your program with run-standalone.sh.

And of course, you must make sure it runs after the session bus is already in existence.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following User Says Thank You to Matan For This Useful Post: