XnviewMP on Ubuntu Karmic

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

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

XnviewMP on Ubuntu Karmic

Post by breakolami » Thu Oct 08, 2009 5:33 pm

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: 5535
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnviewMP on Ubuntu Karmic

Post by XnTriq » Thu Oct 08, 2009 9:45 pm

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: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: XnviewMP Linux

Post by oops66 » Thu Oct 08, 2009 10:10 pm

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

akahige
Posts: 26
Joined: Mon May 28, 2007 8:54 am

Re: XnviewMP on Ubuntu Karmic

Post by akahige » Fri Oct 30, 2009 5:13 pm

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 » Mon Jul 04, 2016 6:32 am

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