View Single Post
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#54
Originally Posted by Sasler View Post
countdowntimer.desktop:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.3
Type=Application
Name=Countdown Timer
Exec=/usr/opt/maemo/countdowntimer
Icon=countdowntimer
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
There is the wrong path in the exec. It should just be /opt/... not /usr/opt...

Originally Posted by Sasler View Post
This seems to install countdowntimer in the "correct" (I'm not at all sure if this is the place where it should be) location. But the shortcut won't work and when I try to run it from the terminal, I get the following error even when I'm in the same directory and I can see it there:

Code:
/bin/sh: countdowntimer: not found
If you want to start your app from the command line use the full path or add a symlink to /usr/bin/. The symlink you can create the following command:

Code:
ln -s /opt/maemo/countdowntimer /usr/bin/
to add this functionality to your package you have to add that to the postinst file in the debian folder.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post: