Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491618 - media-video/vlc desktop file uses unrecognized parameter --start-with-file
Summary: media-video/vlc desktop file uses unrecognized parameter --start-with-file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 19:55 UTC by Peter Wood
Modified: 2013-12-15 23:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wood 2013-11-18 19:55:51 UTC
apparently the parameter --start-with-file is no longer recognized by vlc. 
My file manager (pcmanfm) refused to open media files with vlc, 
gdb shows vlc complaining about unrecognized option --start-with-file,
until I removed the parameter in the vlc.desktop file in /usr/share/applications

Reproducible: Always

Steps to Reproduce:
1. leave desktopfile as is
2.
3.
Actual Results:  
vlc does not open media files from file manager

Expected Results:  
vlc opens media files

please update vlc.desktop file
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-18 20:42:31 UTC
Yes, they've changed some other parameters as well; this one really sounds bad though. I run vlc manually from the console so this kind of has skipped my tests.
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 23:07:32 UTC
They have actually added the option for 2.1.0:

https://trac.videolan.org/vlc/ticket/8839

And it is defined in here:

http://git.videolan.org/?p=vlc/vlc-2.1.git;a=blob;f=src/libvlc-module.c;h=250e7913957d157aef0e9494a1eb9ba603f09817;hb=HEAD#l2020

Now, the interesting thing here is that it isn't defined if you don't have dbus; so, I'll patch it away for those not using dbus in the 2.1.2 version bump.

+  15 Dec 2013; Tom Wijsman <TomWij@gentoo.org> +vlc-2.1.2.ebuild,
+  vlc-2.1.9999.ebuild, vlc-9999.ebuild:
+  Do not use the --started-from-file parameter on USE="-dbus" in 2.1.2 and
+  newer; fixes bug #491618, reported by Peter Wood. Version bump to 2.1.2; fixes
+  bug #493856, reported by Ulenrich.

Thank you for reporting.