[maemo-developers] Porting fltk-app

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Sep 18 09:40:43 EEST 2007
Hi,

ext Jørn Christensen wrote:
>> You have to copy .desktop file to /usr/share/applications/hildon
>> directory. What version(s) of Maemo are you using? There used to be some
>> issues with .desktop files not having _exactly_ correct syntax ..
> 
> Well, I toyed a bit around with it and found out that the reason for the
> program not launching was that in my service-file, I had written
> com.cendio.thinlinc instead of com.nokia.thinlinc!!!
> 
> Anyway - program launches fine now, but still no icon in the pager! Any
> advice?

Does your .desktop file specify your window WMCLASS and does your
Fltk application set that correctly?  Task Navigator needs this
information to be able to map the .desktop file contents to
the corresponding application window.

Here are e.g. instructions how you can do this in an SDL program:
http://maemo.org/community/wiki/gamedevelopment/#7179b7084dd3339e008879a088142aae

In Fltk you might need to use a direct Xlib call to set that window 
property.


	- Eero

More information about the maemo-developers mailing list