备份/etc/X11/xorg.conf文件。
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
编辑/etc/X11/xorg.conf。
sudo gedit /etc/X11/xorg.conf
在文件末尾加上
Section "ServerFlags"
Option "DontZap" "yes"
EndSection
保存文件,更改会在下次启动GNOME时生效。如果想让更改立刻生效可以手动重启GNOME。

