|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Display html from Mutt to links -g
Hello Everyone, Finally getting around to using OpenBSD on my
desktop. (been running on my servers for a few yrs now) Installed 5.9, links, mutt, getmail, XFCE4 and was wondering how to get mutt to display html attachments using links -g or firefox. Have been reading some posts here but they may be affected by age and os version. Do I create an entry in ~/.mailcap, ~/.muttrc, /etc/mutt/Muttrc or ?????? and what sort of an entry would I need to accomplish this? As usual thanks in advance........ Last edited by frcc; 6th May 2016 at 09:30 PM. |
|
||||
I have a bit on this on my mutt page. There are a few ways. You can use a perl script so that if you're running mutt in a terminal, while X is running, you can put a line in .Xdefaults, and with a keystroke, highlight the link, then open a browser of choice with an enter key.
There's another way where you can set up entries in mailcap, which I got from someone's blog post. Anyway, I cover various ways to do it at https://srobb.net/mutt.html#HTML |
|
|||
Quote:
Code:
mutt -F /directory/muttrc In the same manner, you can specify the default mailcap in your mutt configuration file. I centralized all my configuration files to ease backup Code:
PooBear$ pwd /home/jsh/.config PooBear$ ls mutt certificates colors colors_bu mailcap muttrc My mailcap Code:
PooBear$ pwd /home/jsh/.config/mutt PooBear$ cat mailcap # $Id$ #text/html; xombrero %s; test=test -n "$DISPLAY"; nametemplate=%s.html text/html; firefox-esr %s; test=test -n "$DISPLAY"; nametemplate=%s.html text/html; w3m -I %{charset} -T text/html -dump; copiousoutput text/plain; less %s application/msword; lowriter %s; test RunningX application/vnd.openxmlformats-officedocument.wordprocessingml.document;lowriter %s application/vnd.ms-excel; libreoffice %s; copiousoutput application/excel; libreoffice %s; copiousoutput application/vnd.ms-excel; libreoffice %s; copiousoutput application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice '%s'; description="Office Open XML Spreadsheet"; nametemplate=%s.xlsx application/pdf; xpdf -q %s application/acrobat: xpdf %s image/*; feh %s application/pgp-keys; pgp -f < %s ; copiousoutput Last edited by shep; 6th May 2016 at 10:44 PM. |
|
|||
Mutt Colors & Browser Interaction
Thanks for the replies!
Looks like this old Dell is somewhat dated as it suffers speed loss when using graphical intensive applications (XFCE4 Firefox etc). So, for now will simply try 5.9 with and without X (removed XFCE4)as the speed of getmail, mutt, links, links-g, .abook, calcurse, .when, feh etc meet my current needs. Until this machine is upgraded. "lipstick on the pig will have to wait". Opinion: Hard to beat simple and fast and OpenBSD! Last edited by frcc; 7th May 2016 at 11:19 PM. |
|
|||
I migrated from Xfce4 to a lightweight desktop. I have been tweaking the lightweight desktop for years and have it to the point where I prefer it even on my faster hardware. I put the configuration files into a howto in the forums.
On my own system I use most of the applications you list: mutt, abook, calcurse feh. I added nmh, xpdf, gv and Netsurf. w3m is a nmh dependency so I use the w3m--image .similiar to links -g, rather than have redundant text browsers. If you are interested expanding on simple/fast, PM me. I can share some of the configuration files. |
|
|||
Ditto
Great! Would like to hear your thoughts and read what you have. Finally moved to OpenBSD desktop trying to get things running somewhat similiar to what i had running in "lubuntu" More I use the base system the more i like the simplicity and speed. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phpMyAdmin 4.0 moves on from HTML frames | J65nko | News | 0 | 8th May 2013 09:42 PM |
newbie Q .. all man pages in html form | daemonfowl | OpenBSD General | 5 | 18th July 2012 03:02 AM |
how to copy every mail as html in different directory? | bgobs | FreeBSD General | 1 | 4th August 2008 11:31 AM |