[vlc-devel] [PATCH] Remove --started-from-file from .desktop file

Mattias Andrée maandree at kth.se
Wed Mar 8 11:18:50 CET 2017


This makes VLC usable without ~/.local/share/applications/vlc.desktop :)

The user is only asking the computer to start VLC and play a file
(or multiple files. The user is not asking for a running instance
of VLC to stop playing what it is currently playing, and jump to a
new file. In short, VLC was doing things by default the user is
not asking for, which is completely unacceptable behaviour from
a program, this particular behaviour is extremely frustrating. If
wants to do what the .desktop specified, she would probably just
drag the files into the instance of VLC she wanted to play the
files.
---
 share/vlc.desktop.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/vlc.desktop.in b/share/vlc.desktop.in
index 19d4134688..e1ebac6e22 100644
--- a/share/vlc.desktop.in
+++ b/share/vlc.desktop.in
@@ -82,7 +82,7 @@ Comment[wa]=Lét, egaloye, evoye vos floûs multimedia
 Name[zh_CN]=VLC media player
 GenericName[zh_CN]=媒体播放器
 Comment[zh_CN]=为您读取、捕获或发送多媒体流
-Exec=@bindir@/vlc --started-from-file %U
+Exec=@bindir@/vlc %U
 TryExec=@bindir@/vlc
 Icon=vlc
 Terminal=false
-- 
2.11.1



More information about the vlc-devel mailing list