2

Alt + Tab is the combination to switch between running programs. Also, if I hold alt after pressing tab once I can then use the arrow keys to go right or left and select the program I need.

But all of a sudden, without making any changes, when I click Alt + ← or → I get the prompt to log in to a new shell on tty3, tty4, tty5 etc.

Why did this happen and how can I change it to the old behavior?

Zanna
  • 70,465
sunwarr10r
  • 1,419
  • 1
    Please see https://askubuntu.com/questions/886593/alt-f4-switches-to-tty4 and https://askubuntu.com/a/929115/248158 in particular. – DK Bose Sep 18 '18 at 10:15

1 Answers1

4

This solved my problem:

sudo kbd_mode -s

My keyboard was in “Unicode (UTF-8) mode”. The above command will set your keyboard mode to “raw (scancode) mode”

Thanks to DK Bose

sunwarr10r
  • 1,419