昨晚在 Ubuntu 下试图安装笔记本触控板的驱动的时候,突然 Ubuntu 的图形化界面不见了,尝试了 Ctrl + Alt + F1、F2、F3...无果,又在一些博客的指导下尝试在命令行使用 startx 命令,也以 error 1 结束。

自己看了很多博客后觉得有可能是图形化界面被破坏了,准备重装图形化界面或者重装系统。在询问了多位高人之后,最终在 LHT 偶像的帮助下通过查看日志的方式发现 /etc/X11/xorg.conf.d/50-synaptics.conf 在昨晚有了变动,vim 打开后发现里面内容被修改,在 GitHub 上竟然找到了,直接将文件内容进行替换问题就解决了。

现将 50-synaptics.conf 的内容贴在这里:

 Section "InputClass"
    Identifier "touchpad custom settings"
    Driver "synaptics"
    MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
    MatchDevicePath "/dev/input/event*"
    Option "VertScrollDelta" "-111"
    Option "HorizTwoFingerScroll" ""
    Option "VertEdgeScroll" ""
    Option "PalmDetect" ""
    Option "PalmMinWidth" ""
    Option "PalmMinWidth" ""
    Option "FingerLow" ""
    Option "CoastingSpeed" ""
EndSection

再次感谢这位分享者(https://github.com/elin-y/thinkpad-t460-ubuntu-16.04/blob/master/etc/X11/xorg.conf.d/50-synaptics.conf),以及从昨天到今天花时间耐心帮助我的 LHT、TY、MZX、MX、WJY五位恩人。

04-06 11:26