I have written a python script to perform a certain action.
This script uses command line interaction.
If I use this script from fingerterm, it works like charm.
Problem:
When I tried creating a desktop icon for it ( added a .desktop entry ), it shows the icon on the desktop, when clicked it shows the working circle, but my fingerterm does not show or my application does not run.
this is the .desktop entry:
[Desktop Entry]
Type=Application
Terminal=true
Name=AppName
Exec=fingerterm -e "python /path/to/script/script.py"
Icon=/path/to/icon/icon.png
I am sure I missed something somewhere...
Could it be because the script is stored on external memory card ?
Thanks..
| 2 | No.2 Revision |
I have written a python script to perform a certain action.
This script uses command line interaction.
If I use this script from fingerterm, it works like charm.
Problem:
When I tried creating a desktop icon for it ( added a .desktop entry ), it shows the icon on the desktop, when clicked it shows the working circle, but my fingerterm does not show or my application does not run.
this is the .desktop entry:
[Desktop Entry]
Type=Application
Terminal=true
Name=AppName
Exec=fingerterm -e "python /path/to/script/script.py"
Icon=/path/to/icon/icon.png
I am sure I missed something somewhere...
Could it be because the script is stored on external memory card ?
Thanks..
UPDATE
Very Strangely, I read somwhere that I can diagnose the .desktop entry as below:
awk -F= '/Exec=/{system($2)}' your_desktop_file.desktop
When I tried this in terminal, Jolla opened another terminal and my script was running in the new terminal...