Re: keyboard in wrong mode after VT switch from X
- Reply: Andriy Gapon : "Re: keyboard in wrong mode after VT switch from X"
- In reply to: Andriy Gapon : "keyboard in wrong mode after VT switch from X"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Nov 2025 19:38:08 UTC
On Wed, 12 Nov 2025 at 11:15, Andriy Gapon <avg@freebsd.org> wrote: > > I usually work in desktop (X11) environment all the time, but recently I had to > troubleshoot a problem with Xorg configuration and had to switch between X and a > text console quite a bit. And quite frequently (but not always) the keyboard > seemed to be in wrong mode after a switch. At least, that's how it appeared: > most key presses wouldn't get through, but some (I think Enter) would have an > effect. Switching to another text console and back always fixed the input. I think I've seen this sort of thing being caused by incorrect modifier key state - that is, it's acting as if ctrl and/or alt are being pressed. If you get in this state again try pressing and releasing modifier keys to see if that clears it up. If so, it's a bit of an unfortunate workaround but at least will provide a hint for next debugging steps.