Re: Ctrl-Alt-F1 does not switch to a text mode console



Me again...

Dixit Pierre Sarrazin (2004-01-06 15:11):
> If I log in, open a terminal and give the command
> 
>     xmodmap - < /usr/share/xmodmap/xmodmap.us
> 
> then Ctrl-Alt-F1 stops working.

I have found that the offending lines in xmodmap.us are these:

keycode  67 = F1 F11
keycode  68 = F2 F12
keycode  69 = F3 F13
keycode  70 = F4 F14
keycode  71 = F5 F15
keycode  72 = F6 F16
keycode  73 = F7 F17
keycode  74 = F8 F18
keycode  75 = F9 F19
keycode  76 = F10 F20

According to 'xmodmap -pk', keycode 67 is initially defined to
produce F1 normally and XF86_Switch_VT_1 when shifted (that is,
before using xmodmap to apply any xmodmap.* file).  After applying
xmodmap.us, keycode 67 produces F1 normally and F11 when shifted.

I have taken these lines out of my own xmodmap file and I can now
use Ctrl-Alt-F1 to switch to a text console.

-- 
Pierre Sarrazin <sarrazip at sympatico dot ca>



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