From 878706d28ccde4ca14944b262a75e2ad5d2f21ed Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 20 Sep 2015 08:41:02 +0200 Subject: [PATCH] Make sure desktop systems know how to pass files to lmms. For LMMS files to be clickable in a Linux desktop environment, there need to be a program accepting such files as an argument. This patch change the lmms desktop file to affect files to open on the command line. I did not know if lmms accepted URLs to remote files, so I went with the safer %f for local files. This patch originated in the Debian packaging, see for example . --- cmake/linux/lmms.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/linux/lmms.desktop b/cmake/linux/lmms.desktop index aad1005bd..c701ebc5c 100644 --- a/cmake/linux/lmms.desktop +++ b/cmake/linux/lmms.desktop @@ -6,7 +6,7 @@ GenericName[de]=Software zur Musik-Produktion Comment=easy music production for everyone! Comment[ca]=Producció fàcil de música per a tothom! Icon=lmms -Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lmms +Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lmms %f Terminal=false Type=Application Categories=Qt;AudioVideo;Audio;Midi;