Ubuntu – Right alt works as some kind of shortcut

16.04keyboardshortcut-keysspecial characters

I don't even know how to properly name this problem. So I use Polish keyboard layout meaning I use ALT GR fairly often to get special characters.

It works normally but when I want to, say, search for a string in Gedit, I press CTRL+F, try to type the string and as soon as I press right ALT, it loses focus and hides. If I try to rename a file in Nautilus, the field loses its focus and gets back to the old filename. In LibreOffice when I try to search a string, pressing right ALT highlights everything I've typed so far, so I'm unable to search a given string.

Does anybody know what it is? I have to say it's horribly annoying because ALT GR just interrupts work apparently doesn't do anything else. I've checked keyboard shortcuts and run

dpkg-reconfigure keyboard

and everything looks fine. I've searched forums but it seems like no one else has ever had a problem like that.

Thanks in advance!
Greg

Best Answer

I guess your AltrGr-key is configured as a compose-key, this enables you to use multiple keystrokes to compose your characer.

eg. the compose-key, ' and e will output é