View Single Post
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#10
Ok, I just found out some really funny thing..
Both my apps and pygtkeditor use a shell script like:
Code:
#!/bin/sh
exec python /opt/accDisplay/accDisplay.py
to launch the program. This scripts is stored under /usr/bin/.
Launching the app (both from the desktop links or the terminal) will call this scripts and then call the app itself.

I just tried running the exact same app but bypassing this script:
Code:
~ $ python /opt/pygtkeditor/pygtkeditor.py
And.. voila.. it works. What's the difference?

(EDIT: woops.. wait some more)
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!

Last edited by cpscotti; 2010-07-02 at 17:44.