A Week of Trial [June Events 2021] - Community & Forums Related Discussions
Users browsing this thread: 1 Guest(s)
|
|||
(24-06-2021, 10:32 AM)phillbush Wrote: I've set up the keymap of TTY to be like my X11 keymap layout (Control on CapsLock key, Compose on Left Control Key, etc) but now I cannot use Ctrl+Alt+F# to move through TTYs and X11... So, that's why changing TTY stopped working: Some keycodes, such as 29 (left control key) are mapped to two keysyms at the same time: Cmd1 and Control_L. Control_L is the usual control symbol that is sent by pressing the control key. Cmd1 is a special keysym also sent by the control key that is used by the system to change TTY. The following are the keysyms assigned to the Left control, Left alt and F1 keys: Code: keycode 29 = Cmd1 Control_L It is the combination of symbols Cmd1 + Cmd2 + Cmd_Screen0 (not the combination Ctrl + Alt + F1) that changes the console to the first TTY. So here's a note to myself (and to others using OpenBSD or NetBSD): while remapping the keys on wscons(4) (the console device) also remember to remap the special Cmd* keysyms. |
|||