How To Use Linux For Language Learning (Setup And Ricing)
- Written byDonovan NagelDonovan NagelTeacher, translator, polyglotš B.A., Theology, Australian College of Theology, NSWš M.A., Applied Linguistics, University of New England, NSW
Applied Linguistics graduate, teacher and translator. Founder of The Mezzofanti Guild and Talk In Arabic. - Read time4 mins
- Comments4
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
OS: Arch Linux
WM: i3 (i3-gaps to be specific)
Software: mpd + ncmpcpp + trans
Also: Assimil Russian (the same package I reviewed here)
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.
OS: Arch Linux
WM: i3 (i3-gaps to be specific)
Software: youtube-dl, mpv, qutebrowser, ranger
Also: AnkiSRS
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.
OS: Arch Linux
WM: i3 (i3-gaps to be specific)
Software: LWT (How-to), youtube-dl, mpv, qutebrowser, ranger
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!). š
š Cite article
4 COMMENTS
NO ADVERTISING. Links will be automatically flagged for moderation.
Donovan Nagel
Hey Peter,
Sorry I never replied to this comment. Must have missed it or forgotten about it.
Thanks for your feedback.
Have you seen my other YouTube channel? Here.
Peter
Iām very interested in learning more about using your set up, especially for language hacking but just productivity hacking in general. I currently use windows and I have all my files sync across my 4 computers via microsoftās onedrive cloud product (like dropbox). I have no experience with Linux but Iāve been using Anki for a few years and just installed LWT with help from your tutorial. Would you be able to point me in the general direction of some resources for gaining familiarity with Linux and other potential hacks, as well as how to build your setup (as you mentioned you might do in the body of the article above) for language hacking specifically with syncing all your mp3 files and creating the youtube downloader and srt file stripper? Anki and LWT have transformed my language learning process and I really like what Iāve seen you do with technology that I havenāt seen anywhere else.
BTW I just listened to all your podcasts on itunes and love the ones on esperanto and brexit (and your Christian influence). I couldnāt agree more. Itās nice to see someone out there whose so ātransgressiveā and hasnāt drank the proverbial kool-aid ;-)
Thanks
Donovan Nagel
Thanks Brett.
Merry Christmas to you too.
Brett
As someone with zero coding skills, I must say this is pretty impressive!
Merry Christmas