Finding the right StartupWMClass for .desktop files (outdated, ITOS2005 only)

If an application doesn't show up in the Nokia 770's task navigator, the reason is usually it's missing or wrong StartupWMClass setting in the .desktop file, usually found somewhere in

/var/lib/install/etc/others-menu/extra_applications/<application>.desktop

Luckily, finding the proper setting is usually rather easy:

E.g. for Gnumeric (thanks to Eduardo de Barros Lima for the Maemo port!) xprop returned
WM_CLASS(STRING) = Gnumeric

hence setting

StartupWMClass=Gnumeric

in gnumeric.desktop solved the problem of Gnumeric not showing up in the task navigator.