什么按键会带我到 tty13?

TML*_*TML 24 tty console

试用 Ubuntu Intrepid,我发现RightAlt+F1并没有带我去 tty13。

我已经详尽地尝试了 中提供给我的每个选项dpkg-reconfigure console-setup,迄今为止我能够管理的最好的方法是让两个Alt键的行为相同(LeftAlt+F1RightAlt+F1都转到 tty1)。

请注意,使用 GNUscreen不被视为对该问题的有效回答 - 这特别是关于如何让键盘在 Ubuntu 下的多个控制台上正常运行。疯狂的是,我尝试过的所有其他发行版都正确地处理了这个问题,包括 Debian Lenny。

TML*_*TML 12

经过多次尝试以各种方式修复此问题,我终于弄清楚了如何使用dumpkeysloadkeys修改内核的“键盘转换表”。以下是loadkeysRightAlt+F1RightAlt+设置F12为它们各自从 tty12 偏移的字符串:

altgr   keycode  59 = Console_13
altgr   keycode  60 = Console_14
altgr   keycode  61 = Console_15
altgr   keycode  62 = Console_16
altgr   keycode  63 = Console_17
altgr   keycode  64 = Console_18
altgr   keycode  65 = Console_19
altgr   keycode  66 = Console_20
altgr   keycode  67 = Console_21
altgr   keycode  68 = Console_22
altgr   keycode  87 = Console_23
altgr   keycode  88 = Console_24
Run Code Online (Sandbox Code Playgroud)

为什么 Ubuntu 没有在默认设置中包含这个仍然是个谜。:)