XnviewMP on Ubuntu Karmic

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
breakolami
Posts: 1
Joined: Thu Oct 08, 2009 4:23 pm
Location: France

XnviewMP on Ubuntu Karmic

Post by breakolami »

Hello

I try XNviewMP on ubuntu Karmic and it works, ilts a really great software but I don't know how to install it and create a shortcut in menu
I know it's not ./configure make make install
I know it's a QT app but there is no readme or install in directory

Bonjour

J'ai essayé XNviewMP dans ubuntu karmic et c'est vraiment un super logiciel mais je ne sais pas comment l'installer ni créer un raccourci dans le menu
Je sais que ce n'est pas ./configure make make install
Je sais que c'est une application QT mais il n'y a pas de readme ni install dans le dossier

Thanks / Merci
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnviewMP on Ubuntu Karmic

Post by XnTriq »

Hello breakolami,

I'm not a Linux user, but I guess this is the info you're looking for:
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=77915#p77915]XnView MP 0.21 Linux- crash on link start[/url]) wrote:Ok, use this xnview.sh

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname
export QT_PLUGIN_PATH
$dirname/xnview $@
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: XnviewMP Linux

Post by oops66 »

Hello,
Right, I think for the XnViewMP Linux version, the xnview.sh by default should be this one.

Code: Select all

#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname
export QT_PLUGIN_PATH
$dirname/xnview "$@"
Last edited by oops66 on Tue Nov 24, 2009 6:54 pm, edited 1 time in total.
XnViewMP Linux X64 - Debian - X64
akahige
Posts: 26
Joined: Mon May 28, 2007 8:54 am

Re: XnviewMP on Ubuntu Karmic

Post by akahige »

You don't need to "install" the app. All you need to do is unzip it and run it from wherever you unzipped it.

To add XnView to the applications menu, you need to use System > Main Menu, then navigate to the menu you want to add to, then create a launcher.

You do need to make one change to xnview.sh (which can be found in the XnViewMP directory) so that it will open from a toolbar icon or shortcut: insert a new second line with this

Code: Select all

cd /path/to/xnview
If you unzipped it in your home directory, that can be abbreviated to

Code: Select all

cd ~/path/to/xnview
Where the "~/" takes the place of "/home/username".
--
michael
alstonamos
Posts: 1
Joined: Mon Jul 04, 2016 6:28 am

Re: XnviewMP on Ubuntu Karmic

Post by alstonamos »

You do need to make one change to xnview.sh (which can be found in the XnViewMP directory) so that it will open from a toolbar icon or shortcut: insert a new second line with this???
Post Reply