Step by step installation on Linux?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

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

Postby Troken » Mon Nov 03, 2008 8:02 pm

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: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Postby xnview » Tue Nov 04, 2008 8:22 am

You can click on xnview.sh in the xnviewmp folder
Pierre.

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

Postby Troken » Tue Nov 04, 2008 9:31 pm

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?

Postby joneall » Thu Nov 20, 2008 6:07 pm

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?

Postby marsh » Fri Nov 21, 2008 10:54 pm

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

Postby joneall » Sat Nov 22, 2008 7:46 am

Setting the work path solved the problem.

Thanks a lot for the help and for XnView!

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

Re: How to get it into KDE start menu?

Postby Troken » Sat Nov 22, 2008 5:03 pm

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

Re: How to get it into KDE start menu?

Postby oops66 » Sat Nov 22, 2008 5:25 pm

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

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Postby marsh » Sat Nov 22, 2008 9:49 pm

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"


Return to “MP - Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest