Ubuntu – Super and arrow key has started switching tty

keyboardshortcut-keystty

I normally use Super and Arrow Key to snap a window to one-half of the screen or the other.

About 5 minutes ago, it started to switch between tty consoles. I gather that this is intended to happen when Alt+Arrow Key is used, and Alt+Arrow key does have that behaviour.

How can I stop my Super key from acting like the Alt key in this case?

Best Answer

Your Super key can switch from performing as expected when your keyboard mode switches from raw. (Good explanation of the differences between keyboard modes can be found here). This occurred to me after using the Magic SysRq key to switch the keyboard from raw mode while my system slowed while paging memory.

You can check what mode your keyboard is in with sudo kbd_mode and if it is not in raw change it back with sudo kbd_mode -s. Full info at https://linux.die.net/man/1/kbd_mode