maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   app runs from commandline but not from 'applications' panel (https://talk.maemo.org/showthread.php?t=32298)

irooniam 2009-09-30 20:18

app runs from commandline but not from 'applications' panel
 
Hello, so created a test application for via pygtk and its working fine.

I then created a deb package and installed the app successfully.

If I call /usr/bin/test1 from Scratchbox, I see the little app in Xephyr window.

However, if I navigate to 'applications' via the dashboard and click on my spiffy app, I get a 'loading' icon and it then simply says:
Unable to load

Does the 'application' panel run the script differently then how I'm calling it?

Any help would be appreciated.

qwerty12 2009-09-30 20:26

Re: app runs from commandline but not from 'applications' panel
 
Comment out "X-Osso-Service" from your desktop file. You'll want to start using it later, but as you're not sure on what it does ATM... :)

irooniam 2009-09-30 20:59

Re: app runs from commandline but not from 'applications' panel
 
Thanks for the tip.

Though your suggestion didn't fix the problem, it did lead me to the issue.

I was pointing to the wrong script.

In test1.desktop I had:
Exec=/usr/bin/test

Where it should be:
Exec=/usr/bin/test1

I fixed the desktop file and repackaged and re-installed and it works fine now.

Thanks again for the help.


All times are GMT. The time now is 18:20.

vBulletin® Version 3.8.8