不让Ctrl-Alt-Backspace组合键重启X
https://help.ubuntu.com/6.10/ubuntu/desktopguide/zh_CN/disableCtrlAltBackspace.html
PS: 现在在freebsd 7.1下使用 xorg-server 1.6.0 发现默认把 Ctrl + alt + Backspace给禁用了,只好自己在 /etc/X11/xorg.conf上动手了,看来arch, gentoo也很快会遇到这个问题
-
用下面的命令备份
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup/etc/X11/xorg.conf
文件: -
Open
sudo gedit /etc/X11/xorg.conf/etc/X11/xorg.conf
for editing: -
将以下行加到文件最后:
Section "ServerFlags"
Option "DontZap" "yes"
EndSection -
Save the edited file (an example).
-
这个改变将在下一次登入 GNOME 时生效。如果您想该改变立即生效,手动重启 GNOME。(参见 “不重启电脑的同时重启 GNOME”一节)
PS: 现在在freebsd 7.1下使用 xorg-server 1.6.0 发现默认把 Ctrl + alt + Backspace给禁用了,只好自己在 /etc/X11/xorg.conf上动手了,看来arch, gentoo也很快会遇到这个问题
转载于:https://blog.51cto.com/axlrose/1287454