From 5082d01ebd2225c0eebbcc4cb10b316f6a591e15 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Fri, 5 Oct 2012 11:24:30 +0300 Subject: [PATCH] Ticket #1686: use 'see' utility for vieweing images Signed-off-by: Slava Zanko --- misc/ext.d/image.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/ext.d/image.sh b/misc/ext.d/image.sh index 9c691e060..21fc9ecf2 100644 --- a/misc/ext.d/image.sh +++ b/misc/ext.d/image.sh @@ -38,6 +38,8 @@ do_open_action() { *) if [ -n "$DISPLAY" ]; then (gqview "${MC_EXT_FILENAME}" &) + elif see >/dev/null 2>&1; then + (see "${MC_EXT_FILENAME}" &) else zgv "${MC_EXT_FILENAME}" fi