this post was submitted on 29 Oct 2024
3 points (71.4% liked)
Text-Based User Interfaces (TUI; CLI) 💻🖮
141 readers
1 users here now
Forum for advanced users who grok the power of text-based apps, the advantage of tmux/GNU screen, the keyboard and who often find the mouse a hinderance to a fast workflow. A text-based UI is also a decent escape from enshitified resources.
This forum broadly covers tools, hacks, and advocacy of text-based environments.
Slightly marginally kind of related:
- !sustainabletech@lemmy.sdf.org
- !permacomputing@lemmy.sdf.org
- !uiux@lemmy.sdf.org
- !mindful_tech@lemmy.sdf.org
- !keyboards@lemmy.sdf.org
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I suppose you could even say text-based clients are at a disadvantage because when we opt to render the HTML graphically, a full-blown browser is launched which is likely less hardened than something like whatever profile and engine Thunderbird embeds.
In my case I created a firejailed browser with
--net=noneso I could hit a certain key binding to launch the neutered browser to render an HTML attachment in a forced-offline context--- but I was too fucking lazy to dig up what keys I bound to that which is why I (almost?) got burnt.Good idea to open HTML attachments in an isolated browser. I normally open them in lynx but sometimes it doesn't work as intended.
For any (neo)mutt users out there, you can configure this quite nicely by defining your MIME handlers in
~/.mailcap:Then bind your Enter key to open attachments via mailcap:
In neomutt I ended up customizing the print function. So if I “print” an attachment, it launches a script that runs
wkhtmltopdfinsidefirejail --net=nonefollowed by rendering in Firefox (also insidefirejail --net=none), so I get an instant isolated firefox view as well as a PDF.I’m happy with that replacement because I would never want to send something straight to a printer anyway. I would want to preview before printing. And the print function is documented right on the screen when looking at attachments, so no key binding to try to remember.