Step by step installation on Linux?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Post by Troken »

Hello, can someone plz explain for a total linux dummie like me how to install a program in Linux? I have installed Zenwalk linux on a old computer, and would like to install XnView on it. I have downloaded XnView, but now what happens? Its not like in Windows I recon...
User avatar
xnview
Author of XnView
Posts: 43598
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

You can click on xnview.sh in the xnviewmp folder
Pierre.
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Post by Troken »

Thank you, yes it works fine. Its a new world to me, but it looks very intresting so far!
joneall
Posts: 3
Joined: Wed Dec 27, 2006 9:11 am
Contact:

How to get it into KDE start menu?

Post by joneall »

Yes, opening xnview.sh does start the program.

But when I try to put that into the KDE start menu, it never manages to start. You see it running in the start bar for a few seconds, then it disappears.

What's the trick?

Thanks.

P.S. It looks great!
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: How to get it into KDE start menu?

Post by marsh »

joneall wrote: What's the trick?
There is item called 'Work path' in KDE's menu editor. It needs to point to the directory where you have unarchived your files.
joneall
Posts: 3
Joined: Wed Dec 27, 2006 9:11 am
Contact:

Linux installation

Post by joneall »

Setting the work path solved the problem.

Thanks a lot for the help and for XnView!
User avatar
Troken
Posts: 698
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Re: How to get it into KDE start menu?

Post by Troken »

marsh wrote:There is item called 'Work path' in KDE's menu editor. It needs to point to the directory where you have unarchived your files.
Is it the same for Xfce?
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: How to get it into KDE start menu?

Post by oops66 »

Hello,
FYI: you can also modify the xnview.sh batch file like that:

Code: Select all

#!/bin/sh
LD_LIBRARY_PATH=./
export LD_LIBRARY_PATH
cd /home/your_user_name/your_path/XnViewMP-linux-a0.12
./xnview
Instead the xnview.sh by default:

Code: Select all

#!/bin/sh
LD_LIBRARY_PATH=./
export LD_LIBRARY_PATH
./xnview
XnViewMP Linux X64 - Debian - X64
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Troken wrote:
marsh wrote:There is item called 'Work path' in KDE's menu editor. It needs to point to the directory where you have unarchived your files.
Is it the same for Xfce?
Some different steps are needed with the other window managers. Either the easier oops66 example shown above, or by using the submenu called 'Debian' (which is usually hidden/unchecked in Gnome/Xfce). A package called 'menu' populates that section and provides the needed functions. The summary of it is: menus can be customized placing text files in /etc/menu, edit as needed, then run "update-menus" command.
Here is the custom menu item which I use with 'Fluxbox' window manager.

Code: Select all

?package(local.xnview_alphatest):needs="x11" section="Custom/Image" \
	title="xnview_alphatest" \
	command="cd /home/username/XnViewMP && sh xnview.sh"
Post Reply