That's done in your $HOME/.mailcap file. I guarrantee you, many examples of .mailcap files for lynx are available on the internet. I went looking earlier to try to expand some of my own capabilities and found a ton. Now, as to your other problem respect your configurations enough to back them up onto one or more flash drives and don't loose those flash drives. This is how after a reinstall I put configurations back quickly and correctly. Now let's see if I put my .mailcap file up on panix for just such a situation as you find yourself in:
Yes this is an example .mailcap file for you to get you started modify as needed: application/x-tar; tar -tf - ; copiousoutput; application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput application/postscript;ps2ascii %s 2>/dev/null; copiousoutput application/x-bittorrent; transmission-cli -er -v '%s'; needsterminal application/ogg; rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist -I ncurses '%s'; test=test -n "$DISPLAY" application/oggv; rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist -I ncurses '%s'; test=test -n "$DISPLAY" audio/basic;play %s audio/midi;playmidi %s audio/wav;play %s audio/x-midi;playmidi %s audio/x-basic;play %s audio/x-wav; play %s audio/mp3;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/mp4;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/mpeg;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-mp3;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-mpeg;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-mpegurl;rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-pn-realaudio;mplayer %s video/vnd.rn-realvideo;mplayer %s audio/vnd.rn-realaudio;mplayer %s application/vnd.rn-realmedia;mplayer %s audio/mpeg;/usr/X11R6/bin/rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-mpegurl;/usr/X11R6/bin/rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist %s audio/x-scpls; rvlc --quiet --novideo --key-vol-up 123 --no-skinned-playlist '%s'; MPEG/VOB;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" AVI;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" ASF/WMA/WMV;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" RM;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" QT/MOV/MP4;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" Ogg/OGM;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" MKV;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" VIVO;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" FLI;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" NuppelVideo;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" yuv4mpeg;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" FILM;"mplayer -vo=nul -nolirc -nojoystick -nomouseinput %s" application/msword; antiword %s; copiousoutput text/html; lynx %s; nametemplate=%s.html text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput . audio/*; vlc %s video/mpeg; mplayer %s video/quicktime; vlc %s On Thu, 24 May 2018, Chime Hart wrote: > Date: Fri, 25 May 2018 01:37:37 > From: Chime Hart <ch...@hubert-humphrey.com> > To: Discussion of Lynx Issues <lynx-dev@nongnu.org> > Subject: [Lynx-dev] Playing mp3s From within Lynx? > > Many years ago these items were setup for me, but after several re-installs, > well. > First, I would like to once again be able to mash enter on an mp3 or types of > video files on my hard-drive-and-have them play with mpv. Seemingly out of the > box .ogg files will play, but they call alsaplayer. Can some1 please inform of > the steps to fix this? Several experiment yielded no change. > And semi-related, here on Shellworld, I can type a > lynx . > and it will browse directories first, then files. I cannot seem to duplicate > this locally, as it mixes files-and-dirs. Here on Shellworld, while I don't > think its an alias, if I type > which lynx . > /usr/local/bin/lynx > .: aliased to echo $cwd > Both Ubuntu-and-Debian moved the location of TCSH aliases, but I looked in > /etc/csh.cshrc but see nothing like that, but I would love this same behavior > locally, so I can better work with audio-and-video files. Thanks so much in > advance > Chime > > _______________________________________________ > Lynx-dev mailing list > Lynx-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lynx-dev > > -- _______________________________________________ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev