不让Ctrl-Alt-Backspace组合键重启X https://help.ubuntu.com/6.10/ubuntu/desktopguide/zh_CN/disableCtrlAltBackspace.html

  1. 用下面的命令备份/etc/X11/xorg.conf 文件:

    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
  2. Open /etc/X11/xorg.conf for editing:

    sudo gedit /etc/X11/xorg.conf

  3. 将以下行加到文件最后:

    Section "ServerFlags"
    Option "DontZap" "yes"
    EndSection
  4. Save the edited file (an example).

  5. 这个改变将在下一次登入 GNOME 时生效。如果您想该改变立即生效,手动重启 GNOME。(参见 “不重启电脑的同时重启 GNOME”一节)


PS: 现在在freebsd 7.1下使用 xorg-server 1.6.0 发现默认把 Ctrl + alt + Backspace给禁用了,只好自己在 /etc/X11/xorg.conf上动手了,看来arch, gentoo也很快会遇到这个问题