读书人

障蔽Ctrl+Alt+Backspace

发布时间: 2012-09-27 11:11:17 作者: rapoo

屏蔽Ctrl+Alt+Backspace.

Centos下有时候容易误操作Ctrl+Alt+Backspace,gnome默认会注销。



1. 用下面的命令备份/etc/X11/xorg.conf 文件:
?? ?sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
2.编辑 /etc/X11/xorg.conf:
?? ?sudo gedit /etc/X11/xorg.conf
3.将以下行加到文件最后:
?? ?Section?? ?"ServerFlags"
?? ??? ?Option?? ?"DontZap"?? ?"yes"
?? ?EndSection
4. 保存文件,注销当前帐户。

参考链接:https://help.ubuntu.com/6.10/ubuntu/desktopguide/zh_CN/disableCtrlAltBackspace.html

?

?

OpenSuse下,一般是在

/etc/X11/xorg.conf.d/90-keytables里,

添加类似的内容:

Section "ServerFlags"Option "DontZap"EndSection

参考链接:http://forums.opensuse.org/english/get-help-here/install-boot-login/443008-howto-disable-strg-alt-backspace-opensuse-11-3-a.html

ChinaUnix个人空间7n6B

读书人网 >操作系统

热点推荐