Xmodmap had been a reliable tool to bring umlauts to the US keyboard layout. However, on modern Ubuntu systems, xmodmap can result in several problems and does no longer work reliably.
Using XKB, it is possible to define own layouts that work more reliably. Being able to activate them, seems to change amongst Ubuntu version. Several recom
...