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.
More screencasts to follow.
Featured in this video:
Bash script used to clean up a subtitle file so it can be used in Learning With Texts:
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”
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!). 🙂
Latest posts by Donovan Nagel (see all)
- How To Use Linux For Language Learning (Part 3: LWT, mpv, qutebrowser) - November 20, 2017
- How To Use Linux For Language Learning (Part 2: youtube-dl, mpv, qutebrowser + ranger bindings) - November 13, 2017
- How To Use Linux For Language Learning (Part 1: mpd, ncmpcpp + trans with Assimil) - November 5, 2017