Bug#728032: [mpv] Installs apparently useless mpv.desktop file.

Alessandro Ghedini ghedo at debian.org
Mon Oct 28 21:50:07 UTC 2013


On Sun, Oct 27, 2013 at 09:15:40PM +0100, Alessandro Ghedini wrote:
> On Sun, Oct 27, 2013 at 07:38:16PM +0100, Bruno Kleinert wrote:
> > Package: mpv
> > Version: 0.2.1-1
> > Severity: normal
> > 
> > --- Please enter the report below this line. ---
> > Hi,
> > 
> > the package installs /usr/share/applications/mpv.desktop, which seems
> > useless to me. When a user clicks the mpv entry in a start menu, nothing
> > happens since mpv without any arguments just spits out some text on
> > stdout. In my opinion a user probably expects something to pop up on the
> > screen, e.g., to select a movie file to playback with mpv.
> 
> If I understand the *.desktop thing correctly, it is also used by the desktop
> environment to decide which application should open a particular type of file,
> and that's a pretty important part IMO.
> 
> I don't think that there's a way to make it not show up in menus though, so
> it's an all or nothing thing I'm afraid.

As Sebastian pointed out, there actually is a way to do it, and apparently
mpv.desktop is already doing it (and it seems to generally work). So if you do
see mpv in your menu, it's probably a bug in whatever software manages your
menus (that is, it doesn't respect NoDisplay=true).

So feel free to reassign this bug, or I'll close it.

> > PS: [Try-]Exec=mpv is bad, it should be an absolute path pointing to
> > binaries, to avoid possibly weird/broken users' $PATH environments.
> 
> Right.

This is now tracked by #728149.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20131028/2c1acb2b/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list