I created two entries in "Open with" in XnView MP AppImage:
gimp (parameter "%U")
gimp-2.10 (parameter "%U")
Both references does exist in "/bin". "gimp" is a softlink to "gimp-2.10".
However, when I select a image in XNView and try "Open with" with any of both entries, none of them even launch GIMP (Gimp is installed and works without issues). However, I tried downloading Gimp.AppImage and create a new entry in "Open with" and it works!!!!
xnview wrote: Tue Jan 04, 2022 4:43 pm
do you have tried with the tgz version?
I tried with tgz "XnView MP Linux, Version 0.99.6 64bits (Dec 10 2021) Libformat version 7.99" but same issue. Using or not "%U" parameter, Xnview even don't launch GIMP (or any other editor) when using "Open with .." and selecting my own new menu entry (gimp or even gimp-2.10)
%U usually is (at least in Plasma) how desktop send selected file URI to application.
Anyway, in my case, it doesn't open GIMP with or without parameter. I tried in TWO distinct PC with Plasma (openSUSE Tumbleweed) and in both doesn't work. I must add that in openSUSE 15.1 it was working. Maybe issue is related to latest Plasma updates?
I downloaded current AppImage version, removed "~/.config/xnviewmp" folder and launch XNview AppImage. Previously, I associated GIMP to JPG images in Plasma. I select a image and hit "F3" .... nothing happens so I think this issue is related to XNView when working on Plasma.
UPDATE:
I tried AppImage and binaries (xnview.sh) in TWO distinct PC with openSUSE Tumbleweed with Plasma desktop. No one of them opened Gwenview (default application to open JPG files in Plasma) nor GIMP (associated to JPG files manually in Plasma desktop later).
######### CategoryModel :: checkAndSave()
kde-open5: /tmp/.mount_XnViewZIUxFY/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by /lib64/libmount.so.1)
kde-open5: /tmp/.mount_XnViewZIUxFY/usr/XnView/lib/libQt5Gui.so.5: version `Qt_5.15.2_PRIVATE_API' not found (required by /lib64/libQt5WaylandClient.so.5)
kde-open5: /tmp/.mount_XnViewZIUxFY/usr/XnView/lib/libQt5Core.so.5:
that I bet is related to an unpacked library in the AppImage. In fact, I'm not using Wayland now and day.
There must be an errata .... you put "gwenview", should not be "xnview"?. If not, I don't understand what's the point When do I launch xnview with that script?
You choose this script instead of /usr/bin/gwenview for 'open with'
rafael.linux.user wrote: Mon Mar 21, 2022 9:15 am
There must be an errata .... you put "gwenview", should not be "xnview"?. If not, I don't understand what's the point When do I launch xnview with that script?
no, gwenview or any other apps. Like that the 'open with' app will not use XnView's QT libraries