On Tuesday, 2 July 2024 18:30:31 BST Walter Dnes wrote:
Midnight Commander has been using geeqie for viewing images on my
system. I did a world update last night. Apparently image-viewing responsibility has been handed over to /usr/bin/xdg-open which, on my
system, uses mupdf for jpg+jpeg and google-chrome-stable for png+gif
images. WTF!?!?!?
/bin/sh /usr/bin/xdg-open /home/waltdnes/downloads/stranded.jpg
...invokes...
mupdf /home/waltdnes/downloads/stranded.jpg
/bin/sh /usr/bin/xdg-open /home/waltdnes/covidy/4bellcurve.png
...invokes...
/usr/bin/google-chrome-stable /home/waltdnes/covidy/4bellcurve.png
There's a right way, there's a wrong way, and then there's my way, I inserted the following stanza in ~/.config/mc.ext.ini before any mention
of image formats...
###Start custom stuff###
[image] Regex=\.(gif|jpeg|jpg|png|jng|mng|tiff|xbm|xpm|ico|svg|pgm|ppm|netpbm)$ RegexIgnoreCase=true
Open=/usr/bin/geeqie %p
View=/usr/bin/geeqie %p
#####End custom stuff###
...and mc is now back to using geeqie for image display,
Thanks for this! One of my systems had started playing up some time ago, but
I never got around to sorting out this ANNOYING problem. I will duly
implement your solution, with compliments. :-)
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaESd4ACgkQseqq9sKV ZxnYtA/+MSjsSfZW8IVxwU6tHYRPmzz8tjxQfAY/indX8PTfiRinMVqc/6uoJIj5 V12BU1d+ke909N4K5b++FwogNzN91PB2fdPhe5+l63b0X3xYQZbKwmsCqLuP3NuL gdVMvJpGqJzcFA8y74Aa1y2aKPpwdIl7B2UvrjV7stwRJUhbhUlqOLBEXoE9t+6r okJDXzXBwREaV4Kb5BifYFOHK1T0WJnG2BgatTb1MJBIr1YCCY+AMTDUnR5Ij6oV mHwqKyLGACs2DWAQBunTtCX6xeM/50feVoA97IRHFFCl49qVQxRAK7TQ/ZCgVuuN KmheJZCBZdHhTG4Y850aKQDx9/+iN/SQMY931IiJK8APa+MMw+vNOLqBSSiTvcv2 42+B1b+8UrQJvUjYCy6eRCjQgKtlL847jOaKtx4F/ZkFyKmmZXGaxrZvc22CZCqa 0xCOpAsNHnci3cUBSixgZzXIp+kb+tQRC48/4n5kCZHfkRtyCn+rHwFOh7BSam9k 058+YLA8/Hb8c0xwcBBOUxNY0JctdXNWcQ+qZXQa+UApGRLRBf4V9FVAVrqfLae7 l8rxCzw2ITnqaHAUM7li01vcjibhzScSDG6m7dXxacSzEY5EQODyK8CT2G9iEls0 eNMV+0b+1P2RgH9etQ7TIjQT6umSUuhTHGn/LB/kVGnqLStuf7Y=
=FttC
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)