diff options
-rw-r--r-- | ranger/config/rifle.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index daed8b90..bb876310 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -116,11 +116,24 @@ mime ^video|audio, has vlc, X, flag f = vlc -- "$@" mime ^video|audio, has totem, X, flag f = totem -- "$@" mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@" +# MKV videos are sometimes not recognized as video/x-matroska +!mime ^video|audio, ext mkv, has gmplayer, X, flag f = gmplayer -- "$@" +!mime ^video|audio, ext mkv, has smplayer, X, flag f = smplayer "$@" +!mime ^video, ext mkv, has mplayer2, X, flag f = mplayer2 -- "$@" +!mime ^video, ext mkv, has mplayer2, X, flag f = mplayer2 -fs -- "$@" +!mime ^video, ext mkv, has mplayer, X, flag f = mplayer -- "$@" +!mime ^video, ext mkv, has mplayer, X, flag f = mplayer -fs -- "$@" +!mime ^video|audio, ext mkv, has vlc, X, flag f = vlc -- "$@" +!mime ^video|audio, ext mkv, has totem, X, flag f = totem -- "$@" +!mime ^video|audio, ext mkv, has totem, X, flag f = totem --fullscreen -- "$@" + #-------------------------------------------- # Video without X: #------------------------------------------- mime ^video, terminal, !X, has mplayer2 = mplayer2 -- "$@" mime ^video, terminal, !X, has mplayer = mplayer -- "$@" +!mime ^video, ext mkv, terminal, !X, has mplayer2 = mplayer2 -- "$@" +!mime ^video, ext mkv, terminal, !X, has mplayer = mplayer -- "$@" #------------------------------------------- # Image Viewing: |