Ubuntu – Ubuntu 18.04.1 not recognizing Ctrl + Alt

gnome-shellkeyboardshortcut-keys

My Ctrl+Alt key combination is not recognized by my OS. My Ctrl and Alt keys both work individually. I am simply not able to use any shortcuts with Ctrl and Alt together.

I am fairly certain that something is intercepting the Ctrl+Alt command as soon as I click Alt. However, in my keyboard settings, there is nothing that uses the Ctrl+Alt hotkey. I even did a reset of all the keyboard shortcuts to be sure.

The reason why I think something is intercepting it, is that I installed some software involving switching to a Latin keyboard using the (Ctrl+Alt hotkey). And I do not know how to change this setting.

How can I fix this issue?

Best Answer

This is a known issue with GNOME shell, shortcuts get triggered on-keypress instead of on-release (see this). Since you have Ctrl+Alt set to change the keyboard layout, whenever you attempt to press Ctrl+Alt+something, the shell registers only Ctrl+Alt immediately after you've pressed Alt and changes the layout.

You can disable this Ctrl+Alt combination using (GNOME) Tweaks. First install it by running

sudo apt install gnome-tweaks

and use the tool to disable the combination. Refer to this for details: Ubuntu 17.10 and later: can't change the input switching shortcut to alt+shift