From de0fd4389592521d4fb60528774758e899b05441 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 17 Apr 2013 10:13:32 +0200 Subject: [PATCH] more tweaking for video config --- src/sampleconf/mimemap | 3 +++ src/sampleconf/mimeview | 13 +++++++++++++ src/sampleconf/mimeview.mac | 12 ++++++++++++ 3 files changed, 28 insertions(+) diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 10a5509e..f46c9266 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -3,6 +3,7 @@ .txt = text/plain .text = text/plain +.srt = text/plain .ini = text/x-ini .csv = text/x-csv @@ -136,6 +137,8 @@ .kar = audio/x-karaoke .mid = audio/x-karaoke +.mkv = video/x-matroska + .png = image/png .jp2 = image/jp2 .jpg = image/jpeg diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index 62e287fc..7969cd4d 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -154,3 +154,16 @@ text/x-python = idle %f text/x-gaim-log = emacsclient %f text/x-purple-html-log = emacsclient %f text/x-purple-log = emacsclient %f + +# The video types will usually be handled by the desktop default, but they +# need entries here to get an "Open" link +video/3gpp = vlc %f +video/mp2p = vlc %f +video/mp2t = vlc %f +video/mp4 = vlc %f +video/mpeg = vlc %f +video/quicktime = vlc %f +video/x-matroska = vlc %f +video/x-ms-asf = vlc %f +video/x-msvideo = vlc %f + diff --git a/src/sampleconf/mimeview.mac b/src/sampleconf/mimeview.mac index 2a7f04db..5c54526b 100644 --- a/src/sampleconf/mimeview.mac +++ b/src/sampleconf/mimeview.mac @@ -148,3 +148,15 @@ text/x-python = idle %f text/x-gaim-log = emacsclient %f text/x-purple-html-log = emacsclient %f text/x-purple-log = emacsclient %f + +# The video types will usually be handled by the desktop default, but they +# need entries here to get an "Open" link +video/3gpp = open %f +video/mp2p = open %f +video/mp2t = open %f +video/mp4 = open %f +video/mpeg = open %f +video/quicktime = open %f +video/x-matroska = open %f +video/x-ms-asf = open %f +video/x-msvideo = open %f