Page 1 of 1

Posted: Mon Nov 03, 2008 8:02 pm
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...

Posted: Tue Nov 04, 2008 8:22 am
by xnview
You can click on xnview.sh in the xnviewmp folder

Posted: Tue Nov 04, 2008 9:31 pm
by Troken
Thank you, yes it works fine. Its a new world to me, but it looks very intresting so far!

How to get it into KDE start menu?

Posted: Thu Nov 20, 2008 6:07 pm
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!

Re: How to get it into KDE start menu?

Posted: Fri Nov 21, 2008 10:54 pm
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.

Linux installation

Posted: Sat Nov 22, 2008 7:46 am
by joneall
Setting the work path solved the problem.

Thanks a lot for the help and for XnView!

Re: How to get it into KDE start menu?

Posted: Sat Nov 22, 2008 5:03 pm
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?

Re: How to get it into KDE start menu?

Posted: Sat Nov 22, 2008 5:25 pm
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

Posted: Sat Nov 22, 2008 9:49 pm
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"