Из Ubuntu 14.04
Sundry → dconf → org → gnome → desktop → input-sources → xkboptions
, например. для установки ключа Alt Gr как:
['compose:ralt']