From 5ca506222f3179acc970a70392344ee2b35cfab8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 17 Nov 2014 16:35:48 +0300 Subject: [PATCH] mc.ext, menu: view PostScript with evince --- .mc/mc.ext | 6 +++++- .mc/menu | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.mc/mc.ext b/.mc/mc.ext index 70ec82b..aaf0529 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -501,7 +501,7 @@ include/oldvideo # Postscript type/^PostScript - Open=(gv %f &) +# Open=(gv %f &) View=%view{ascii} ps2ascii %f # PDF @@ -705,6 +705,10 @@ shell/.fb2 Open=fbreader %f & View=%view{ascii} xsltproc /usr/local/src/FictionBook/FB2_2_txt_ru.xsl %f +type/^PostScript + Open=evince %f & + View=%view{ascii} ps2ascii %f + # RTF regex/\.([rR][tT][fF])$ Open=fbreader %f & diff --git a/.mc/menu b/.mc/menu index c3b6786..e07c166 100644 --- a/.mc/menu +++ b/.mc/menu @@ -65,8 +65,8 @@ o View OpenDoc with odt2txt e Edit OpenDoc with libreoffice libreoffice %f & -+= t r & f \.(pdf|PDF|djvu)(\.bz2|\.gz)?$ -e View pdf/djvu with evince ++= t r & f \.(pdf|PDF|ps|PS|djvu)(\.bz2|\.gz)?$ +e View pdf/ps/djvu with evince evince %f & += t r & f \.(doc|DOC|rtf)$ -- 2.39.5