* [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?!
@ 2024-07-02 17:30 Walter Dnes
2024-07-02 18:41 ` Michael
0 siblings, 1 reply; 2+ messages in thread
From: Walter Dnes @ 2024-07-02 17:30 UTC (permalink / raw
To: Gentoo Users List
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,
--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?!
2024-07-02 17:30 [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?! Walter Dnes
@ 2024-07-02 18:41 ` Michael
0 siblings, 0 replies; 2+ messages in thread
From: Michael @ 2024-07-02 18:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]
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. :-)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-02 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 17:30 [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?! Walter Dnes
2024-07-02 18:41 ` Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox