Hi,
ext Kimmo Hämäläinen wrote:
> On Thu, 2009-01-15 at 15:58 +0800, ext Alex T. W. LEUNG wrote:
>> Hi maemo developers,
>>
>> I am working to port a legacy xlib based GUI program to maemo, sort of
>> like porting the below hellox.c:
>> http://www.paulgriffiths.net/program/c/srcs/helloxsrc.html
>>
>> The program can be readily compiled in scratchbox and run in N810.
>> However, as soon as I clicked its minimized button, it will disappear
>> from the taskbar, and I will no longer be able to maximize it.
>
> You should install .desktop file to /usr/share/applications/hildon
> direactory
Yes.
> and put "X-Osso-Service=hellox"
No. Unless the program provides corresponding D-BUS service, otherwise
D-BUS daemon just kills it. (and service names should use full path)
> "Exec=/usr/bin/hellox", and put "hellox" as your WM_CLASS.
(WM_CLASS is window property, it's set to binary name automatically
by Gtk, for plain X programs the program needs to do that manually.
Hildon Task Navigator uses it to match the window to the corresponding
.desktop file that contains more information about the application.)
- Eero
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers