xdotool type "hello"
can be used to type the word hello. But only if the keyboard layout is not English, otherwise it will type something else.
How can I solve this problem so that
xdotool will always type hello in any layout.
I use the latest
xdotool in Ubuntu 14.04 repo.