Florian Kulzer wrote:
Check what is assigned to keycode 67. I see this:
$ xmodmap -pk | egrep '^[ ]+67 '
67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1)
If your output looks different then you can try if
xmodmap -e 'keycode 67 = F1 XF86_Switch_VT_1'
restores the VT switching.
This does seem to be the answer, or nearly at least ...
[EMAIL PROTECTED]:~$ xmodmap -pk | egrep '^[ ]+67 '
67 0xffbe (F1) 0xffca (F13)
This is wrong, so I run the second command ...
[EMAIL PROTECTED]:~$ xmodmap -e 'keycode 67 = F1 XF86_Switch_VT_1'
[EMAIL PROTECTED]:~$ xmodmap -pk | egrep '^[ ]+67 '
67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1)
This now allows me to switch VT on pressing Shift-F1, but not on
Ctrl-Alt-F1. Checking the xmodmap man page reveals that this is correct
- the command maps keycode = keysym shifted-keysym.
However despite careful reading of the man page and a bit of googling,
I'm not sure of the correct way to get the XF86_Switch_VT_1 keysym onto
Ctrl-Alt-F1 where it belongs?
Thanks, Dave.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]