XnView MP 0.72 linux can't open files from Double Commander

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
dim
Posts: 1
Joined: Fri Jun 05, 2015 9:16 am

XnView MP 0.72 linux can't open files from Double Commander

Post by dim »

I can't open image files in XnView by clicking on the file in Double Commander file manager. I have to use script below. Any other programs open files from Double Commander properly.

export LD_LIBRARY_PATH=/opt/XnView/lib
export QT_PLUGIN_PATH=/opt/XnView/lib
if [ $# -lt 1 ]; then
/opt/XnView/XnView
else
PARAM="$@"
MTYP="${PARAM:0:7}"
if [ "$MTYP" = "file://" ]; then
PARAM="$(perl -MURI::Escape -e 'print uri_unescape($ARGV[0]);' "$PARAM")"
PARAM="${PARAM//file:\/\//}"
fi
/opt/XnView/XnView "$PARAM"
fi
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView MP 0.72 linux can't open files from Double Comman

Post by xnview »

use xnview.sh to start XnViewMP
Pierre.
Post Reply