public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Walter Dnes <waltdnes@waltdnes.org>
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?!
Date: Tue, 2 Jul 2024 13:30:31 -0400	[thread overview]
Message-ID: <MTAwMDAwMi53ZG5lc2RheQ.1719941429@quikprotect> (raw)

  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


             reply	other threads:[~2024-07-02 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02 17:30 Walter Dnes [this message]
2024-07-02 18:41 ` [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?! Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MTAwMDAwMi53ZG5lc2RheQ.1719941429@quikprotect \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox