On Wed, 12 Nov 2025, Andriy Gapon wrote:
On 12/11/2025 21:38, Ed Maste wrote:
On Wed, 12 Nov 2025 at 11:15, Andriy Gapon <[email protected]> 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.
Yes, that was it.
I've just repro-ed the issue and pressing Alt helped to restore the input.
That's really good to know; I've seen this for years when I end a startx
session and get back to VT2 I always had to switch to VT1 and back before
Ctrl+d would work (or others) as I usually want to logout.
I'll give it a try in a few days (unless a panic happens sooner).
It never bothered me enough as it usually only get into this when I shutdown
my system for updates.
/bz
--
Bjoern A. Zeeb r15:7