I'd like my Ubuntu to automatically switch my keyboard layout to English each time I lock the screen, so that I wouldn't have to do it manually each time to enter my password. How do I do that?
Also, I'd like that my keyboard layout also be English each time after I unlock the screen. Is it possible?
Just bumped into the same problem, use xkblayout-state tool like this (assuming 0 is the default En keyboard layout)
then you can first change the keyboard layout to the default and launch screenlocker like this