I decided to do something a little unusual over the next few weeks.
Recently I decided to revisit and update one of my old tutorials called How To Install Learning With Texts On Your Own Computer (here).
It’s an open source LingQ clone that a guy put together way back in 2011 (it was popularized and briefly hosted by Fi3M).
Despite its age, it’s still one of the most useful and innovative programs available in my opinion. The how-to that I put together is still one of the most popular articles I’ve written in fact even though I wrote it years ago (I’ll cover it in an upcoming video).
As I was looking at it, I had a fun idea to put together some short screencasts of my Linux setup for language learning.
I know it may only interest a small number of people but I think it’s a topic worth covering as Linux is the preferred OS of many language learners including myself.
There’s nothing groundbreaking in these screencasts and I haven’t provided any detailed tutorials on how to set things up but I’ll be happy to provide it if there’s enough interest.
Expect several of these screencasts to follow.
Part 1: mpd, ncmpcpp + trans with Assimil
Note that as I intimate in the video, most of this can be achieved in a thousand different ways and there are no special secrets here.
I guess you could call them my own personal efficiency or productivity hacks in a sense.
The two main reasons why this particular setup works for me:
- Simplicity and minimal distraction.
- Accessibility. Since I can connect to it from anywhere, I can have this database of language learning course material on my home PC and listen to it from my mobile while driving or a laptop in a coffee shop (provided I leave my computer on when I go out). No cloud. No mobile storage.
As I said in the video, Assimil is exceptional for this kind of thing because they’ve done an amazing job naming their MP3’s correctly.
It’s also a great way to use Glossika.
Part 2: youtube-dl, mpv, qutebrowser + ranger bindings
In this screencast, I get into some of the joys of key bindings in qutebrowser and ranger.
Setting a few quick bindings with youtube-dl and mpv, you can make some fun little convenience hacks when working with videos on YouTube and subtitles to build your own collection of learning material.
In particular, I show how I’m attempting to use some simple scripts to automatically download, edit and load media content (incl. transcripts) directly into tools like Learning With Texts (see my next video).
One of the beautiful things about using Linux is that you can set up a swathe of useful scripts to save yourself a lot of time.
The purpose of this particular setup:
- Speed and convenience. While there are sites out there that help you save videos and subs from YouTube, I prefer to be able hit a key and have it all automatically save, automatically edit and automatically add itself straight into a learning app like LWT.
- Minimizing distraction. Accessing learning content without the excessive distraction of sites like YouTube.
- Accessibility. Being able to build a learning material database and making it accessible to all my own devices.
Part 3: LWT, mpv, qutebrowser
In this video I show you a few things I’m working on to improve the usability of Learning With Texts.
One is purely asthetic – just trying to make LWT look a little less plain and blend in with the color scheme of my desktop automagically.
The rest is me showing you how I’ve been attempting to add a video component to LWT and further automate the process of adding new texts/media to learn with. Last week I said I was trying to find a way to clean up the subtitle files I’d downloaded with keybindings.
Here I demonstrate that working.
Bash script used to clean up a subtitle file so it can be used in Learning With Texts:
#!/bin/bash files=”\*.vtt” for file in $files ; do echo “Processing $file” sed -i “/\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\].\*\\-\\->.\*\[0-2\]\[0-9\]:\[0-5\]\[0-9\]:\[0-5\]\[0-9\].\*/d” “$file” && tail -n +5 “$file” > “$file.tmp” && mv “$file.tmp” “$file” text=$(cat “$file”) done
The purpose of this particular setup:
- Make LWT look pretty. Because why not!
- Automate adding media and texts. To speed up the process of adding new material to learn from and make it easy to add videos to Learning With Texts (currently only audio works).
Does this style of post/video interest you?
Make sure to let me know in the comment section so I know if I should do more of it in the future (or not!). 🙂