如何在Ubuntu中启用control + alt + backspace来杀死X?

时间:2011-02-10 16:19:07

标签: ubuntu x11 xorg

他们禁用了它,我搜索的所有食谱都涉及到添加/etc/X11/xorg.conf中的内容对我不起作用。

重新启用它的正确方法是什么?

2 个答案:

答案 0 :(得分:1)

请参阅here

为Ubuntu 10.04启用Ctrl-Alt-Backspace

  • 选择“系统” - >“偏好设置” - >“键盘”

  • 选择“布局”标签,然后点击“布局选项”按钮。

  • 选择“杀死X服务器的密钥序列”并启用“Control + Alt + Backspace”。

答案 1 :(得分:1)

在已经运行的X服务器中,每个会话:

setxkbmap $LAYOUT option "terminate:ctrl-alt-bksp"

全球作为 xorg.conf

中的X配置
Section "InputClass"
    Identifier "keyboard defaults"
    MatchIsKeyboard "on"

    Option "XKbOptions" "terminate:ctrl-alt-bksp"
EndSection