From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6707A15802E for ; Tue, 2 Jul 2024 17:30:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDEBC2BC0A8; Tue, 2 Jul 2024 17:30:30 +0000 (UTC) Received: from out.packetderm.com (out.packetderm.com [173.166.91.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50FA62BC034 for ; Tue, 2 Jul 2024 17:30:30 +0000 (UTC) Received: from localhost (out.packetderm.com[173.166.91.13]) by smtp (5.7.4/5.7.4) with ESMTPSA id 462HURQS065047 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 2 Jul 2024 13:30:29 -0400 (EDT) (envelope-from waltdnes@waltdnes.org) Date: Tue, 2 Jul 2024 13:30:31 -0400 From: Walter Dnes To: Gentoo Users List Subject: [gentoo-user] {SOLVED} Midnight Commander now viewing images with /usr/bin/xdg-open?!?! Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Archives-Salt: 88ac2b50-3508-47cc-88ed-6d356fadac61 X-Archives-Hash: 6695fb892f5a9d4faa92c6eced338233 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