The Wolfe Pack

Billy | @storm@social.wolfe.casa

I live in North Carolina, United states. I enjoy pipe smoking, music, and hanging out with my wife and kids. My interests include music, coding, Linux, gaming, and open source things in general.


Some of my favorite music

Amon Amarth: https://www.amonamarth.com/

Dragonforce: https://dragonforce.com/

The Other: https://theother.de/

Wednesday13: https://officialwednesday13.com/


Other Sites

My git stuff: https://git.2mb.codes/~stormdragon2976

Peertube: https://tube.wolfe.casa/accounts/billy

Thoughts of a Dragon: https://billy.wolfe.casa

My Ko-fi: https://ko-fi.com/stormux

@benjaminhollon unfortunately browsh does not work with screen readers. At least the last time I tried it.

@benjaminhollon I use about 95 percent console only. The only problem is no javascript for sites that require it. Now if w3m had js support, I would only ever fire up X for gaming.

If your in to “Final Fantasy”, and you’re into MUDs, Why not check out End of Time MUD.

There is a new tintin++ sound pack available for it as well. The pack is only approximately 24 hours old, so it’s not fully polished yet, but quite a lot has been done in a short time.

I hope to see you there. It’s a lot of fun.

Discover the local history of our little corner of the world with Holden Beach History: As Experienced by John F. Holden https://www.thebeachmart.com/product-category/books/

Book cover of Holden Beach History

I have been playing with the sylpheed email client. It is pretty nice, mostly accessible with orca, but there are a few problems like the "to", "cc", "subject" etc boxes not being labeled. I went to file a bug, and their bug tracker is completely overrun with spam.


Interestingly, claws-mail which is a fork of sylpheed, has a lot more problems with accessibility, including the problem that messages can't be selected or read. That's also what is wrong with ballsa and geary.

@sektor Believe it or not, hotmail does a good job. It's email, with imap support, and no griping about not using their app. It's quite refreshing actually, email that acts like email.

Of course the very best of all is running your own email, but that is certainly not easy. Unless, you get mail in a box. I have heard that is quite easy to set up.

Here is an improved version of the pdf function from a couple days ago. In the old version, some links in the generated documents would not work because they reference the file itself which was not created because it used stdout.

pdf()
{
    if [[ $# -ne 1 ]]; then
        echo 'Usage: pdf <file>' >&2
    else
        local dir="$(mktemp -d)"
        pdftohtml -noframes -i -s $1 "${dir}/${1%.[pP][dD][fF]}.html"
        w3m -s "${dir}/${1%.[pP][dD][fF]}.html"
        rm -rf "${dir}"
    fi
}

@kyle ocrdesktop can also do it. The new version is quite nice for viewing pdfs. My little trick is good for when you are in a hurry and don't want to switch to an X session just to read some text. Although, now that I think about it, ocrdesktop may be able to do it and just pipe the contents to a file. The other good part about my trick is links in the generated document actually work. You can read with w3m and just hit enter on the section name to jump right to it.

@furgar lol awesome. Thanks for the excellent description. 🙂

@furgar can you tell me what is in the image? My screen reader only says "image link".

I found an interesting video. It makes me wonder how many of us there are out there.

Most people are probably already familiar with this, but for people who are just starting with Linux, specifically those new to customizing the .bashrc, here is an easy way to keep things organized. Your aliases and functions can be placed in seperate files. For the case of this example, they will be called .bash_aliases and .bash_functions. All you have to do is add the following to your .bashrc:

# load Aliases and functions
[[ -f .bash_aliases ]] && . .bash_aliases
[[ -f .bash_functions ]] && . .bash_functions

@dgoodmaniii oh, no doubt about it, pdf is the root of all evil. It's like plain text came out and it was good, so companies immediately set about finding the worst thing possible lol. Now they all use it, no plain text instruction manuals to be found ever. I will look into mutools, thanks for the suggestion.

@dgoodmaniii most actual pdf software is not accessible with orca, and even the few that are can be a pain to use. This method at least gets the text in a format that is usable. I figured the formatting wouldn't be exactly the same as the original, but I didn't realize it would be terrible. In my case, however, the layout isn't usually that important.

If you have to deal with those pesky PDF files, pdftohtml from the poppler package and w3m are all you need.

pdftohtml -i -s -stdout filename.pdf | w3m -T text/html

Make it into a convenient function by adding it to your .bashrc.

pdf()
{
if [ $# -ne 1 ]; then
    echo "Usage: pdf filename."
else
    pdftohtml -i -s -stdout $1 | w3m -T text/html
fi
}

Here is a small one line typing game it uses banner to make the letter or number you need to type large and easy to see.

stty -echo;s=99;while [ : ];do t=$(shuf -n1 -e {a..z} {0..9});banner $t;read -t0.$s -n1 p;if [ "$t" != "$p" ];then play -nqV0 synth pi fade q 0 1 0.5;break;else play -nqV0 synth .05 tri C8:C3 norm -7;fi;((s--));clear;done;stty echo

To make it accessible for screen reader users, simply change banner to spd-say as in the following:

stty -echo;s=99;while [ : ];do t=$(shuf -n1 -e {a..z} {0..9});spd-say $t;read -t0.$s -n1 p;if [ "$t" != "$p" ];then play -nqV0 synth pi fade q 0 1 0.5;break;else play -nqV0 synth .05 tri C8:C3 norm -7;fi;((s--));clear;done;stty echo

Audiogame Manager
Storm Dragon pushed changes to the master branch of the audiogame-manager.git project: https://gitlab.com/stormdragon2976/audiogame-manager
Merge branch 'testing'. This marks the end of binary releases. Everyone
should now be using from git. The binary downloads have been removed.

Audiogame Manager
Storm Dragon pushed changes to the testing branch of the audiogame-manager.git project: git@gitlab.com:stormdragon2976/audiogame-manager
More work on Hearthstone, it's not working yet and appears to hang in the installer section. A little closer than before though.

Want to save a bunch of space on your audio files? Convert them to opus format. This small script will convert most audio files such as mp3, wav, and flac to opus. The example here uses mp3. If you are converting music you may want to increase the –bitrate to 96K. Also, this script removes the original file after conversion.

find . -type f -iname '*.mp3' -exec bash -c 'for f ; do sox -t mp3 "$f" -t flac - | opusenc - --bitrate 40K "${f%.*}.opus" && rm "$f";done' _ {} \;

Here is a pitch shifter written in 1 line of bash. You may need to play with the silence bit of the code if it is too sensitive, or not sensitive enough. Also, change values in the e variable for different effects.

e="norm pitch 1000";echo q exits.;f=`mktemp`;while ! read -n1 -t.5 ;do rec -qtwav $f silence 0 1 .5 1%&&play -q $f $e;done;\rm $f

»