Gentoo Archives: gentoo-user

From: "Jesús J. Guerrero Botella" <jesus.guerrero.botella@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] win key takes me from X to VT
Date: Tue, 10 May 2011 10:56:29
Message-Id: BANLkTim-=qcAD34-KF3U6X7UWdN4=5DKEw@mail.gmail.com
In Reply to: Re: [gentoo-user] win key takes me from X to VT by YoYo Siska
1 2011/4/20 YoYo Siska <yoyo@××××××.sk>:
2 > On Mon, Apr 18, 2011 at 12:27:03AM +0200, Jesús J. Guerrero Botella wrote:
3 >> El día 18 de abril de 2011 00:01, Jesús J. Guerrero Botella
4 >> <jesus.guerrero.botella@×××××.com> escribió:
5 >> >> Try to reset all shortcuts with:
6 >> >> setxkbmap -option
7 >> >
8 >> > It doesn't change anything. The problem starts in kdm, before loging
9 >> > in, so it's nothing specific to a given user account.
10 >>
11 >> Oh, I forgot, it is nothing specific to kdm either. What I meant above
12 >> is that it happens since I enter X. Or rather, since this is the
13 >> default behavior in the console, we could more correctly say that it
14 >> *continues* happening when I enter X, where it should not happen.
15 >>
16 >> I tested the lxde login manager and it has the same problem.
17 >>
18 >
19 > It seems like X didn't switch the keyboard to raw mode or something like
20 > this... The win key on linux console swithes to a previou vt (don't know
21 > if it is intentional, or just a side effect of the kernel not correctly
22 > handling it)
23 >
24 > Sometimes, when an app freezes the whole X (usually when it grabs the
25 > keyboard and freezes) I have to use the magic sysrq keys to "unraw" the
26 > keyboard, which means I can that use alt-fX to swtich to text VTs, kill
27 > the app and return to X... however from that moment on until I restart
28 > X, the keyboard is not in raw mode and alt-fX and also the winkey switch
29 > consoles (like you describe)
30
31 This must be the key, but I still haven't found how to start digging
32 into this. In any case, if I manage to fix this I'll let everyone know
33 here. There must be a cause for this since I seem to be the only one
34 suffering this problem.
35
36 Thank you for all the pointers though, they might prove helpful sooner or later.
37
38
39 --
40 Jesús Guerrero Botella