Toot tui with links or w3m ========================== Last edited: $Date: 2021/07/14 19:29:45 $ Solene's challenge ------------------ During The Old Computer Challenge, see https://dataswamp.org/~solene/2021-07-07-old-computer- challenge.html. I discovered that Firefox requires a lot of resources. No Firefox ---------- I am using an old Acer Aspire One ZG5 for the challenge, a machine that in the past I used as my workstation. In those days I could use Firefox on it. But now that is impossible, because it requires too much of RAM and CPU power. For most things, that is not that important. F.e., the RSS- feeds I follow are of websites that can be opened in w3m or eww. But for some things, a graphical web browser is needed, like for Mastodon and Pleroma. Toot Tui -------- Toot is a Python text mode Mastodon client / Pleroma client. It works great, but sometimes you really want to see an image or open the URL that is mentioned in a toot. With the help of anthk on Libera.chat I came to the following script in $HOME/bin #!/bin/sh tmux new-window /usr/local/bin/links -g "$@" This works great Of course, you could also use /usr/local/bin/w3m "$@" Set up an environment variabele called "BROWSER" and set this to the name of the script, including the path. Like: export BROWSER=$HOME/bin/open-url-in-links.sh Still having fun ---------------- Well, that is it. I still am having fun with this old little 8.9 inch Acer Aspire. Have fun!