View Single Post
Wreck's Avatar
Posts: 304 | Thanked: 266 times | Joined on Apr 2011 @ Apeldoorn area, Netherlands
#126
Originally Posted by Kozzi View Post
I'm thinking of adding a desktop file to homescreen, anyone know of a right way to execute this in the Exec part ? I quickly made an icon for Fruit Ninja
I tried:

Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=FruitNinja
Exec=/usr/bin/osso-xterm ./apkenv /home/user/apkenv/Fruit.apk 
Icon=     
#X-Window-Icon=timerwidget
X-Window-Icon=     
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
Didn't seem to work for me. Might need to cd to the correct path and then execute apkenv?

A .sh script like:

Code:
/usr/bin/osso-xterm 'cd /home/user/apkenv' &
/usr/bin/osso-xterm './apkenv /home/user/apkenv/Fruit.apk' &
But this will start up two xterminals right? Don't have my phone near me so can't test it.

FOR N900

Last edited by Wreck; 2012-10-22 at 10:25.