On Mon, April 20, 2020 at 20:33:16PM -0400, Thomas Dickey wrote: > On Mon, Apr 20, 2020 at 10:13:20PM +0000, Wayne Werner via Lynx-dev wrote: > c) that mapping leads to the suggested suffix for the xloadimage (viewer) > command. > > The viewer looks at the file format anyway, and should ignore the suffix... > > > Is this expected behavior, or am I running into a bug here? > > The former, I think
Thanks for the reply! I was looking at this some more - I'm apparently not the only one who has bumped into this issue: https://mastodon.technology/web/statuses/104026801137372645 It looks like someone else was seeing lynx launch cura and Shutter at different times. I ran lynx via strace to see if I could figure out what was happening with the filename and discovered that it was using Eye of Gnome: write(1, "\33[93m\33[44meog /tmp/lynxXXXX9odQF"..., 52) = 52 At first that made sense to me, since I didn't have xloadimage installed. But when I *did* install xloadimage, lynx still tried to launch eog. After uninstalling eog lynx sent the image to Firefox (which *did* happily ignore the extension). I also discovered that I could launch the temp file directly with xloadimage and feh and both of those happily ignored the filename as well. So it seems that lynx is just picking the wrong viewer on my system. Is there a way to configure what viewer lynx uses? I found https://lynx.invisible-island.net/lynx2.8.3/breakout/lynx.cfg and created ~/lynx.cfg and stuck this in it: XLOADIMAGE_COMMAND:feh %s VIEWER:image/gif:feh %s Then I launched lynx with `lynx -cfg /home/wayne/lynx.cfg`, but it didn't appear to do anything. Thoughts? -W _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
