[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CTRL-ALT-F8 doesn't work



On Tue, Nov 20, 2007 at 21:20:15 -0500, Paul Cartwright wrote:
> On Tue November 20 2007, Florian Kulzer wrote:
> > That looks OK to me.
> >
> > Which output do you get for these three commands:

[...]

> $ awk '/Section "(InputDevice|ServerFlags)"/,/EndSection/' /etc/X11/xorg.conf
> Section "InputDevice"
>     Identifier     "Generic Keyboard"
>     Driver         "kbd"
>     Option         "CoreKeyboard"
>     Option         "XkbRules" "xorg"
>     Option         "XkbModel" "pc104"
>     Option         "XkbLayout" "us"
>     Option         "XkbVariant" "us"
> EndSection

[...]

> pbc@paulandcilla:~$ xmodmap
> xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):
> 
> shift       Shift_L (0x32),  Shift_R (0x3e)
> lock        Caps_Lock (0x42)
> control     Control_L (0x25),  Control_R (0x6d)
> mod1        Alt_L (0x40),  Alt_R (0x71)
> mod2        Num_Lock (0x4d)
> mod3      
> mod4      
> mod5        Scroll_Lock (0x4e)

My mod4/5 looks different:

mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x71),  ISO_Level3_Shift (0x7c)

For the rest I see the same, so I guess it is OK.

> pbc@paulandcilla:~$ xmodmap -pk | grep '(F[0-9]\+)'
>      67         0xffbe (F1)     0xffca (F13)
>      68         0xffbf (F2)     0xffcb (F14)
>      69         0xffc0 (F3)     0xffcc (F15)
>      70         0xffc1 (F4)     0xffcd (F16)
>      71         0xffc2 (F5)     0xffce (F17)
>      72         0xffc3 (F6)     0xffcf (F18)
>      73         0xffc4 (F7)     0xffd0 (F19)
>      74         0xffc5 (F8)     0xffd1 (F20)
>      75         0xffc6 (F9)
>      76         0xffc7 (F10)
>      95         0xffc8 (F11)
>      96         0xffc9 (F12)

The switching will only work if you get something like this:

$ xmodmap -pk | grep '(F[0-9]\+)'
     67         0xffbe (F1)     0x1008fe01 (XF86_Switch_VT_1)
     68         0xffbf (F2)     0x1008fe02 (XF86_Switch_VT_2)
     69         0xffc0 (F3)     0x1008fe03 (XF86_Switch_VT_3)
     70         0xffc1 (F4)     0x1008fe04 (XF86_Switch_VT_4)
     71         0xffc2 (F5)     0x1008fe05 (XF86_Switch_VT_5)
     72         0xffc3 (F6)     0x1008fe06 (XF86_Switch_VT_6)
     73         0xffc4 (F7)     0x1008fe07 (XF86_Switch_VT_7)
     74         0xffc5 (F8)     0x1008fe08 (XF86_Switch_VT_8)
     75         0xffc6 (F9)     0x1008fe09 (XF86_Switch_VT_9)
     76         0xffc7 (F10)    0x1008fe0a (XF86_Switch_VT_10)
     95         0xffc8 (F11)    0x1008fe0b (XF86_Switch_VT_11)
     96         0xffc9 (F12)    0x1008fe0c (XF86_Switch_VT_12)

Try to change your xorg.conf to:

Option         "XkbVariant" ""

and restart X. (You can also comment out that line completely.)

You can also try to run

xmodmap -e "keycode 67 = F1 XF86_Switch_VT_1"

while X is running and check if this restores CTRL-ALT-F1 switching to
tty1.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: