Working inside a VirtualBox virtual machine. Installed Arch Linux using the Archinstall method. Chose KDE as the DE and SDDM as the greeting screen.
Managed to log in once, but after adding a language and rebooting, I didn't seem to be able to change the keyboard layout, making entering the correct password impossible. I have tried looking up how to switch the keyboard layout, but am coming up with nothing. What is the key combination to change the keyboard layout in SDDM?
I did exactly the same thing yesterday and had the same issue. However I found the solution adding the keyboard layout to the X11 as well, with the command
# localectl set-x11-keymap br abnt2
You must change the "br abnt2" to your keyboard layout, however
Also, pay attention because there is a bug at the sddm login screen that doesn't show the correct keyboard layout until you start typing, so don't worry if at the beginning is "US". Just start typing your password and take a look to see if it changed to your keyboard layout
Edit: you may wanna enter TTY3 to make these changes. Just press Ctrl+Alt+F3 to enter TTY3 and after you're done press Ctrl+Alt+F2 to be back to the previous display. You may wanna also restart your computer
I did exactly the same thing yesterday and had the same issue. However I found the solution adding the keyboard layout to the X11 as well, with the command
Where do I input that command?
You must change the "br abnt2" to your keyboard layout, however
To which one? What is the format supposed to be for, for example, English, Putonghua, Norwegian, and Russian layouts?
Also, pay attention because there is a bug at the sddm login screen that doesn't show the correct keyboard layout until you start typing, so don't worry if at the beginning is "US"
The problem is that it is initially not the US English one, while the password is in English.
Apologies if I sound rude. I am currently frustrated regarding this process. Another installation failed for no discernable reason despite no errors occurring as a result of archinstall. (EDIT: Grub did get installed, but not anything else, apparently.)
EDIT: also, I still don't know how to switch keyboard layouts in SDDM.
At the terminal. To access the terminal you must change to TTY3, login as root and run the command I told. To enter TTY3 you must press Ctrl+Alt+F3. To go back to the graphic interface you must go to TTY2, pressing Ctrl+Alt+F2
To which one? What is the format supposed to be for, for example, English, Putonghua, Norwegian, and Russian layouts?
Whatever layout you want. You can find a list with all the layouts running the command # localectl list-x11-keymap-layouts. I think us is english, no is Norwegian and ru is Russian. So the command would be # localectl set-x11-keymap us,no,ru
The problem is that it is initially not the US English one, while the password is in English.
Well, that's unfortunately. But try these things I told you
Another installation failed for no discernable reason despite no errors occurring as a result of archinstall.
What happened?
Edit: Are you familiar with the syntax of Linux commands? I've written # localectl set-x11-keymap us,no,ru but that means you must run the command localectl set-x11-keymap us,no,ru as root, okay? The dash symbol (#) means you're running the command as root, while the dollar symbol ($) means you run a command as non-privileged user, for example $ echo Hi you must run the command echo Hi as your normal user (not as root nor using sudo)