Step by step installation on Linux?
Moderators: XnTriq, helmut, xnview
How to get it into KDE start menu?
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!
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?
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 wrote: What's the trick?
Linux installation
Setting the work path solved the problem.
Thanks a lot for the help and for XnView!
Thanks a lot for the help and for XnView!
Re: How to get it into KDE start menu?
Is it the same for Xfce?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.
Re: How to get it into KDE start menu?
Hello,
FYI: you can also modify the xnview.sh batch file like that:
Instead the xnview.sh by default:
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
Code: Select all
#!/bin/sh
LD_LIBRARY_PATH=./
export LD_LIBRARY_PATH
./xnview
XnViewMP Linux X64 - Debian - X64
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.Troken wrote:Is it the same for Xfce?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.
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"