[maemo-developers] hellox disappeared from the desktop after it is minimized
From: Eero Tamminen eero.tamminen at nokia.comDate: Fri Jan 16 16:04:26 EET 2009
- Previous message: hellox disappeared from the desktop after it is minimized
- Next message: hellox disappeared from the desktop after it is minimized
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hellox disappeared from the desktop after it is minimized
- Next message: hellox disappeared from the desktop after it is minimized
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]