MP LINUX v0.25 - Add command line option

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

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

MP LINUX v0.25 - Add command line option

Post by oops66 » Tue Mar 16, 2010 11:43 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Post Reply