This is a discussion on Cannot switch to VT (console) within the Debian Linux Users forum forums, part of the Debian Linux category; --> On 30/07/08 22:15, Florian Kulzer wrote: > On Tue, Jul 29, 2008 at 00:17:35 +0100, Michal R. Hoffmann wrote: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On 30/07/08 22:15, Florian Kulzer wrote: > On Tue, Jul 29, 2008 at 00:17:35 +0100, Michal R. Hoffmann wrote: >> On 27/07/08 20:40, Florian Kulzer wrote: >>> On Wed, Jul 23, 2008 at 23:41:37 +0100, Michal R. Hoffmann wrote: >>>> On 23/07/08 14:38, Raj Kiran Grandhi wrote: >>>>> Michal R. Hoffmann wrote: >>>>>> Hi, >>>>>> >>>>>> Recently I tried to switch to VT (console) and I couldn't - >>>>>> Ctrl+Alt+F1 didn't work (and they used to couple of weeks ago). I >>>>>> don't even know where to look for the problem; xev detects >>>>>> KeyRelease XF86_Switch_VT_1 event, /etc/inittab contain getty >>>>>> respawns. >>> Does is also report the KeyPress event for XF86_Switch_VT_1? >> No, only KeyRelease. > Interesting, the KeyPress event seems to be intercepted, but X does not > act on it. You could try to run > tail -fn0 /var/log/Xorg.0.log > > in an X terminal and check if anything is appended to the Xorg log when > you press CTRL+ALT+F1. Nothing. It returns nothing. [cut] > > I agree with you that it should work like that. Maybe you have to try a > simpler configuration now, and then you can gradually add all the above > options to find out which one breaks the VT switching. As far as I can > tell, they should all be defined, but maybe they are not all compatible > (which could be a bug). I have to do some tests tomorrow (too tired now). I found that it doesn't matter if I'm logged in or not (I use GDM / Gnome) - it's all the same. So probably it's something about Xorg. Maybe my keyboard settings (it's Microsoft Natural Ergonomic Keyboard 4000, UK version): Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "uk" EndSection Or maybe it is a bug. -- Kind regards, Michal R. Hoffmann -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| |||
| On 01/08/08 22:04, Michal R. Hoffmann wrote: > On 30/07/08 22:15, Florian Kulzer wrote: >> On Tue, Jul 29, 2008 at 00:17:35 +0100, Michal R. Hoffmann wrote: [cut] >> >> I agree with you that it should work like that. Maybe you have to try a >> simpler configuration now, and then you can gradually add all the above >> options to find out which one breaks the VT switching. As far as I can >> tell, they should all be defined, but maybe they are not all compatible >> (which could be a bug). > > I have to do some tests tomorrow (too tired now). I found that it > doesn't matter if I'm logged in or not (I use GDM / Gnome) - it's all > the same. So probably it's something about Xorg. Maybe my keyboard > settings (it's Microsoft Natural Ergonomic Keyboard 4000, UK version): > > Section "InputDevice" > Identifier "Generic Keyboard" > Driver "kbd" > Option "XkbRules" "xorg" > Option "XkbModel" "pc105" > Option "XkbLayout" "uk" > EndSection > > Or maybe it is a bug. > I found the reason, sort of. I changed XkbLayout to "us" and it is OK now. But why? Why it didn't work with the "uk" setting? Considering my keyboard's physical layout (which is "uk") it is weird. Thanks for your help. -- Kind regards, Michal R. Hoffmann -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| |||
| Michal R. Hoffmann wrote: > On 01/08/08 22:04, Michal R. Hoffmann wrote: >> On 30/07/08 22:15, Florian Kulzer wrote: >> [cut] >> Section "InputDevice" >> Identifier "Generic Keyboard" >> Driver "kbd" >> Option "XkbRules" "xorg" >> Option "XkbModel" "pc105" >> Option "XkbLayout" "uk" >> EndSection >> >> Or maybe it is a bug. >> > > I found the reason, sort of. I changed XkbLayout to "us" and it is OK > now. But why? Why it didn't work with the "uk" setting? Considering my > keyboard's physical layout (which is "uk") it is weird. > > Thanks for your help. Contrary to what most of us in the UK think - 'uk' is not the country code, but 'gb' is. Try using the following: Option "XkbLayout" "gb" JC -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| ||||
| On 02/08/08 11:10, James Carr wrote: > Michal R. Hoffmann wrote: [cut] >> I found the reason, sort of. I changed XkbLayout to "us" and it is OK >> now. But why? Why it didn't work with the "uk" setting? Considering my >> keyboard's physical layout (which is "uk") it is weird. >> >> Thanks for your help. > > Contrary to what most of us in the UK think - 'uk' is not the country > code, but 'gb' is. > Try using the following: > Option "XkbLayout" "gb" Thanks! You were absolutely right. The funniest thing is I was aware of the 'gb' country code, but somehow I forgot about that... The 'uk' code was too 'suggestive' -- Kind regards, Michal R. Hoffmann -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |