The blog post [1] discusses how to create an input method for romanized
Pāli, but it doesn't give references for tweaking the mim file, i.e.,
tweaking the input method. Also, the blog post [1] seems to come from the
thread [2].
The blog post is good, but I need another feature that when I type the key
combination "alt + a", ā will show up. The same for other vowels. After some
investigation, removing Sanskrit part, and making necessary modifications, the
following is my mim file (tested on Ubuntu 12.04).