Typing Esperanto in Ubuntu (or any other X)

I’ve got tired of not being able to easily type in Esperanto in Linux. There are some articles out there explaining it how and the are always convoluted and I’ve never seen one that gets to the point of typing “ŭ”, the always try very hard to get “ĝ”.

There’s an Esperanto layout in Ubuntu and I suppose other X Window Systems as well, but there are two things I don’t like about it. One is having to find out where the keys are, I could re-label them, but then I would only be able to type in Esperanto (which might be educational but not what I want, at least for now). I also don’t like the fact that it is Qwerty, not Dvorak. And even if it was Dvorak, one should make the statistics about Esperanto to make a proper Esperanto Dvorak-style keyboard. Continue reading