首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

障蔽Ctrl+Alt+Backspace

2012-09-27 
屏蔽Ctrl+Alt+Backspace.Centos下有时候容易误操作Ctrl+Alt+Backspace,gnome默认会注销。1. 用下面的命令备

屏蔽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

热点排行