Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Sep 2009
#1
I've got an app that doesn't use hildon or GTK or SDL or anything, but just has it's own X window (XOpenDisplay, XCreateWindow, etc). I'm trying to get it to run from the application menu and am having some issues. I've got it working with an icon and it will actually fire off the application, but after a few seconds it spits up an "Unable to load" message. After that, the application continues to work fine.

Is there some basic stuff that must be done inside the app in one way or another for it to launch without error from the application menu? Or do I just have something in my .desktop file that shouldn't be there?

The .desktop files is as follows:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=HelloWorld
Exec=/usr/bin/helloworld
Icon=helloworld-icon
X-Window-Icon=tn-bookmarks-link
X-Osso-Type=application/x-executable
Terminal=false
StartupNotify=false
I've tried sticking in a hildon_gtk_init call and have tried putting some dbus stuff into the .desktop file (and having a .service file) that I've seen in some other apps, but nothing seems to help.

Is there some guidelines somewhere on the bare minimum that must be doen to make hildon happy?
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2009
#2
This, btw, is with Maemo 5.
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2009
#3
Does anyone have an example app for Maemo 5 that launches from the desktop but doesn't use GTK?
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#4
Hi, sorry I have no idea about your problem, but maybe if you post your source/binary somewhere, someone might be able to help?
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:56.