I've worked around this issue in a number of ways:

(1) Put full path to icon in .desktop file, e.g.
............
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=NPM MeeGoVid
Comment=NPM launcher for /usr/share/meego-app-meegovid/main.qml
GenericName=NPM MeeGoVid
Exec=meego-qml-launcher --opengl --fullscreen --app meego-app-meegovid
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/usr/share/icons/hicolor/48x48/apps/gnome-mplayer.png
Categories=Player;Video;
........

(2) Put the icon in /usr/share/pixmaps, e.g.:
-rw-r--r-- 1 root root 2960 2011-06-01 10:27
/usr/share/pixmaps/meego-app-npm.png

And refer to it as "meego-app-npm"
.............
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=NPM Launcher
Comment=NPM launcher for /usr/share/meego-app-npm/main.qml
GenericName=NPM Launcher
Exec=meego-qml-launcher --opengl --fullscreen --app meego-app-npm
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=meego-app-npm
Categories=Player;Video;
..........

(3) There's also a bug related to breakage if a multi-entry field isn't
terminated by ";"
https://bugs.meego.com/show_bug.cgi?id=14930

(4) Many standard MeeGo apps (e.g. nautilus) can be installed on the
TabletUX but do not show up in the app browser. That's because their desktop
files contain "OnlyShowIn=GNOME;" There's also an similar
"NotShowIn=X-MEEGO-NB;"


Here's how to make the nautilus "$HOME" icon bring up the filebrowser and
show the icon. So after doing "zypper in nautilus gnome-icon-theme" do the
following for each app/icon you actually want to use:

...............
$ cp /usr/share/applications/nautilus-home.desktop
~/.local/share/applications/nautilus-home.desktop
## edit/patch with following:
$ diff /usr/share/applications/nautilus-home.desktop
~/.local/share/applications/nautilus-home.desktop
189c189
< Icon=user-home
---
> Icon=/usr/share/icons/gnome/48x48/places/user-home.png
194c194
< OnlyShowIn=GNOME;
---
> # OnlyShowIn=GNOME;
...............

-- Niels
http://nielsmayer.com

PS: what's all this mean, and what's the diff between
limited/unlimited/managed?

/usr/share/applications/meego-app-contacts.desktop:X-MEEGO-CGROUP-PATH=managed
/usr/share/applications/meego-app-contacts.desktop:X-MEEGO-CGROUP-CONTROLLERS=freezer
/usr/share/applications/meego-app-email.desktop:X-MEEGO-CGROUP-PATH=limited
/usr/share/applications/meego-app-email.desktop:X-MEEGO-CGROUP-CONTROLLERS=freezer
/usr/share/applications/meego-app-im.desktop:X-MEEGO-CGROUP-PATH=limited
/usr/share/applications/meego-app-im.desktop:X-MEEGO-CGROUP-CONTROLLERS=freezer
/usr/share/applications/meego-app-music.desktop:X-MEEGO-CGROUP-PATH=unlimited
/usr/share/applications/meego-app-music.desktop:X-MEEGO-CGROUP-CONTROLLERS=freeze
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to