Precipitation radar video’s

In the Netherlands, we have several websites on which you can see where rain was falling the past few hours or so. Because August was a month with several interesting situations over here I decided to make a video of images provided by

I hacked together a few scripts for downloading all 5 minute images and adding a label since they originally lack a date. See this Github repository for the contents of these scripts.

The most important step is just to add all images together in a movie. This can easily be done with something like ffmpeg:

ffmpeg -framerate 60 -pattern_type glob -i 'labelled/*.png' -c:v libx264 -pix_fmt yuv420p ~/Bureaublad/out.mp4

Precipitation last August looked like this:


Customize compose key sequences

The compose key comes in very handy composing characters normally not directly available from the keyboard. For instance, pressing the compose key followed by a «c» and an «0» delivers © at the cursor. What about adding sequences that doesn’t exist?

This post is written using Ubuntu 19.10. There are many (older) pieces of information, questions and answers about how one could add new compose sequences. Some work, some don’t. Many are outdated or specific to an input method or framework someone is using.

Ubuntu uses something that is called ibus by default. Don’t ask me how it relates to xim, xinput and other open source desktop software. I do know that after a bit of research, ibus reads te file ~/.config/ibus/Compose which would be our place to put our compose sequences.

This file has a specific syntax, see man Compose for more information. For example:

<Multi_key> <v> <v>  : "✓"
<Multi_key> <x> <x>  : "✗"

Use $ ibus restart to make your changes take effect. You could try removing your ~/.cache/ibus directory when it doesn’t work right away.

Bonus tip: with CTRL+Shift+e – space, you can select any smiley you want. Type joy before pressing space and you can walk through all relevant emoticons that contains ‘joy’.