MP LINUX v0.25 - Add command line option

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

MP LINUX v0.25 - Add command line option

Post by oops66 »

Hello,
It would be interesting to have a command line option (like into xnview v1.9x) to read (load) a custom xnview.ini file with the Linux version.
xnview.sh is

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname/lib
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname/lib
export QT_PLUGIN_PATH
$dirname/xnview "$@"
So something like:
$dirname/xnview $dirname/xnview-custom1.ini "$@"
Instead:
$dirname/xnview "$@"

So xnview-custom1.sh can be:

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname/lib
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname/lib
export QT_PLUGIN_PATH
$dirname/xnview $dirname/xnview-custom1.ini "$@"
...
XnViewMP Linux X64 - Debian - X64