[maemo-developers] [maemo-developers] Icon to task navigator... again

From: Tomas Frydrych tf at o-hand.com
Date: Wed Mar 1 13:29:42 EET 2006
Tomi Ollila wrote:
> Hi
> 
> I'm not sure if this was briefly discussed in a while ago, but
> I just can not find anything much related to it
> 
> I have 2 programs that has pretty much identical .desktop files,
> but one launched from TN (or using run-standalone.sh) gets
> an icon shown on TN after launched but the other doesn't.
> 
> So, if I iconify the second program there is no way to bring
> the GUI window back to the screen.
> 
> Needless to say I've now spent 3 hours trying all kinds of tricks
> to get it working, but no go (guess how log period is is constantly
> deinstalling, copying new version, installing and rebooting the machine...)
> 
> Latest configuration is:
> 
> I dropped program.service file and removed X-Osso-Service=prog from
> .desktop file
> 
> There is file called usr/share/applications/hildon/bar.foo.prog.desktop.
> 
> symlink to that is located at etc/others-menu/extra_applications/1229_progname.desktop
> 
> (note: prog != progname, but I think I've tried with same string
> there... can not remember, tried so many cobbinations... I just tried by
> renaming that symlink to match -- no help... as expected)
> 
> latest content of the desktop file:
> 
> [Desktop Entry] 
> Encoding=UTF-8 
> Version=1.0 
> Type=Application 
> Name=Cool Program
> Exec=/var/lib/install/usr/lib/progdir/prog.sh
> X-Osso-Type=application/x-executable
> X-HildonDesk-ShowInToolbar=true
> Icon=qgn_list_home

adding

StartupWMClass = prog.sh

Should do the trick.

Tomas

More information about the maemo-developers mailing list