View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#132
Originally Posted by noobmonkey View Post
Thanks Fatalsaint, again!

Got the (hashkey not working)! /usr/bin/env python
at the beginning

assuming the Exec=python /opt/healthcheck/healthcheck.py is for the .desktop file? (replace current line?)

(the icon loads, and it looks like the application loads, so not sure the error is there.)
Yes you can do one, or the other, or both..

Adding #!/usr/bin/env python to the top of healthcheck.py will allow you to either:
Code:
/opt/healthcheck/healthcheck.py
*or*
cd /opt/healthcheck/
./healthcheck.py
In a terminal.. Or use the Exec code you have right now. Not having that line in the file, requires you to pass it to python first with either:
Code:
python /opt/healthcheck/healthcheck.py
*or*
cd /opt/healthcheck
python healthcheck.py
*or*
Exec=python /opt/healthcheck/healthcheck.py
Etc....
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!