PDA

View Full Version : app runs from commandline but not from 'applications' panel


irooniam
09-30-2009, 04:18 PM
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
09-30-2009, 04:26 PM
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
09-30-2009, 04:59 PM
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.