Problems with exiftool under Linuxmint Mate 20

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
OnkelTom
Posts: 21
Joined: Thu Jun 09, 2022 3:40 pm

Problems with exiftool under Linuxmint Mate 20

Post by OnkelTom »

Good evening,

I would like to request advice or support with
XnView MP Linux, Version 1.3.1 64bits (Oct 12 2022), Libformat version 7.126
on Linux Mint 20.3 Una 64-bit, MATE 1.26.0, Kernel Linux 5.4.0-132-generic x86_64

Have to admit, that I am not soooo deeply into Linux - more or less playing around on a secondary laptop. So please be patient with me. :wink:
I would like to use the included exiftool (v12.25) for modifying xmp-dc:subject and xmp-lr:hierarchicalsubject.

Under "tools-open with-configure program" I added "/opt/XnView/AddOn/exiftool" and then under parameters, added something like
"-overwrite_original -k -xmp-dc:subject<iptc:keywords".

When I try to use that on a photo with e.g. IPTC data in it, it should get copied to xmp-dc:subject, right?
But in my case, that does not lead to anything. Means, nothing happens.
Not sure, if this XnView-related or a Linux-related problem. :?:

Any feedback would be appreciated. Thanks in advance.
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Problems with exiftool under Linuxmint Mate 20

Post by michel038 »

ExifTool is provided for Windows as a stand-alone program: exiftool.exe . It is then easy to use.
But for Linux, I don't know how ExifTool should be used, if it needs to be installed, and if it needs a library (perl ?)

I hope that a Linux user will be able to answer you.

And your parameters are correct
User avatar
OnkelTom
Posts: 21
Joined: Thu Jun 09, 2022 3:40 pm

Re: Problems with exiftool under Linuxmint Mate 20

Post by OnkelTom »

Thanks for your quick answer, michel038!
michel038 wrote: Wed Nov 30, 2022 6:47 pm I don't know how ExifTool should be used, if it needs to be installed, and if it needs a library (perl ?)
Thought about this, as well. On the other hand, I can use the standalone exiftool in /opt/XnView/AddOn, when calling directly from the commandline.
Yes, but maybe it needs to be installed system-wide.

Any other hints are much appreciated.
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Problems with exiftool under Linuxmint Mate 20

Post by michel038 »

For parameters, you should perhaps use single quotes
User avatar
OnkelTom
Posts: 21
Joined: Thu Jun 09, 2022 3:40 pm

Re: Problems with exiftool under Linuxmint Mate 20

Post by OnkelTom »

tried single quotes around the complete term...

Code: Select all

'-overwrite_original -k -xmp-dc:subject<iptc:keywords'
as well as around each parameter

Code: Select all

'-overwrite_original' '-k' '-xmp-dc:subject<iptc:keywords'
without luck :(

Maybe exiftool needs to be accessible system-wide or a "rights-problem"
Too much of a noob... :?
User avatar
michel038
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Problems with exiftool under Linuxmint Mate 20

Post by michel038 »

Another way :

Select photos
Tools>Metadata>Transfer
"Add "
Select XMP Subject as a target
select IPTC Keywords as source
Apply ...
User avatar
OnkelTom
Posts: 21
Joined: Thu Jun 09, 2022 3:40 pm

Re: Problems with exiftool under Linuxmint Mate 20

Post by OnkelTom »

Hope, it is possible and accepted to "revive" this thread..
Although meanwhile I am on Linux Mint 22.1, XnViewMP 1.8.3 and have manually updated exiftool to 13.16, I still cannot "invoke" or use exiftool as I use to do under windows. Reason might be my poor Linux knowledge in general, so again, please be patient with me.

Besides the hints and tipps for XnView's internal functionality @michel038 gave, I am still keen on getting this to work...

perl environment is obiously installed and operational:

Code: Select all

~$ perl --version

This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-gnu-thread-multi
(with 44 registered patches, see perl -V for more detail)
The updated exiftool script itself is also working, in general, i would say:

Code: Select all

~$ /opt/XnView/AddOn/exiftool -ver
13.16
Executing exiftool script via commandline also delivers reasonable output:

Code: Select all

~$ /opt/XnView/AddOn/exiftool ~/Bilder/****/20210204_162053.jpg 
ExifTool Version Number         : 13.16
File Name                       : 20210204_162053.jpg
Directory                       : /home/thomas/Bilder/*****
File Size                       : 4.6 MB
Anyway, the configuration of the "open with" dialog in a way like this:
Screen-2025-01-26_10-50-39.jpg
Screen-2025-01-26_10-50-39.jpg (23.97 KiB) Viewed 1217 times
does not do anything. The options are just for testing. Even adding %1 or '%1' or "%1" do not change anything...

I would like to ask anyone with more experience, to give a noob any kind of hint, what I could try to get this working.

Thank you in advance, for your kind support.
Rgds., Tom
Post Reply