This is my setup to add german umlauts and other special characters (in a mapping that makes sense to me, personally) via R_ALT to my en_US (halmak) layout.
It requires keyd to be installed.
Also, the compose:menu option must be enabled (setup differs by window manager).