0

When I installed Ubuntu, I had a keyboard with the " above 2.

Later on, I changed my keyboard to one with EN-US layout with the @ above the 2 and changed my password in the terminal with the passwd command. The password was changed successfully, but when I open a terminal with CTRL+ALT+F1 and try to log in with my username and password, it says "login incorrect" unless I switch " and @. Then I can login.

Now my question is: Why is the keyboard layout different in the terminal than in other software?

Nmath
  • 12,664
Richie
  • 1

1 Answers1

1

You have XKBLAYOUT="gb" in /etc/default/keyboard, which determines the layout on the login screen and in console. The switch to "us" was only done for the desktop environment for your user.

So if you want "us" everywhere, then edit /etc/default/keyboard. You can either do it manually or by running the command:

sudo dpkg-reconfigure keyboard-configuration