It works for me with the following deskop file in
~/.local/share/applications/mplayer.desktop

[Desktop Entry]
Name=MPlayer
GenericName=Media player
Exec=mplayer %U
TryExec=mplayer
Icon=mplayer
Type=Application
Categories=AudioVideo;Player;
NoDisplay=true

I've created the icons with:

$ cd ~
$ wget http://upload.wikimedia.org/wikipedia/commons/8/81/MPlayer.svg
$ cd /usr/share/icons/hicolor
$ for i in *x*; do sudo convert -background none ~/Mplayer.svg -resize $i 
$i/apps/mplayer.png; done
$ sudo gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/857243

Title:
  (oneiric) mplayer does not install .desktop file and does not have an
  icon

To manage notifications about this bug go to:
https://bugs.launchpad.net/mplayer/+bug/857243/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to