Thread
:
Pygtk weird behavior; no buttons/labels background, just text.
View Single Post
cpscotti
2010-07-02 , 17:42
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
.
Quote & Reply
|
cpscotti
View Public Profile
Send a private message to cpscotti
Find all posts by cpscotti