mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Ticket #3962: support Geeqie image viewer.
Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview. Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
985e8f4971
commit
01f1206186
@ -40,7 +40,11 @@ do_open_action() {
|
||||
;;
|
||||
*)
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
if which geeqie >/dev/null 2>&1; then
|
||||
(geeqie "${MC_EXT_FILENAME}" &)
|
||||
else
|
||||
(gqview "${MC_EXT_FILENAME}" &)
|
||||
fi
|
||||
elif see >/dev/null 2>&1; then
|
||||
(see "${MC_EXT_FILENAME}" &)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user