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
XnView MP 0.72 linux can't open files from Double Commander
Moderators: xnview, Dreamer
-
dim
- Posts: 1
- Joined: Fri Jun 05, 2015 9:16 am
-
xnview
- Author of XnView
- Posts: 47539
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnView MP 0.72 linux can't open files from Double Comman
use xnview.sh to start XnViewMP
Pierre.