I use UnionTech OS, which is based on Debian. I downloaded the Debian version of "XnView MP 1.4.2" from
https://www.xnview.com/en/xnviewmp/#downloads
I tried to install the package, but the installation could not be completed. Then, I downloaded XnView MP from the UnionTech repository, and the installation was completed successfully.
Now, whenever I double-click on an image file, XnView MP will be started, but the file will not be opened. I have to manually navigate to the containing folder on the left pane of XnView MP and then double-click on the file to open it.
How can I open a file simply by clicking without navigating?
Code:
/opt/apps/com.xnview-mp/files/bin/usr/XnView/xnview.sh ~/Desktop/Testing.jpg
When I run the above command, the .jpg file will be opened, so I have selected "xnview.sh" as the default program. However, I still cannot open the file with XnView simply by clicking. If I have selected other programs such as Image Viewer, Album, and Draw as the default program, the file can be opened simply by clicking.