I have a US layout keyboard and frequently need to insert German Umlaut characters. While on Windows, I used to have an AutoIt script that would e.g. insert ö to the currently selected input control if I pressed Ctrl+Alt+o.
Now, how would you do something like that in Gnome (Linux Mint 12)?