16.04鼠标问题

我在Lubuntu 16.04中遇到鼠标问题。 每次我让笔记本电脑进入睡眠状态时更新操作系统,当我再次登录时,我的鼠标光标就会消失。 我必须重新启动系统才能工作。 有没有其他方法可以纠正这个问题,如果是这样,请告诉我

这可能与https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604中提到的相同吗?

修复程序发布之前的一个解决方法似乎是按Ctrl + Alt + F1然后按Ctrl + Alt + F7。

Debian用户报告说,运行xset dpms force off然后按下一个键也有效。


这对我来说是最愉快的解决方法:

将以下内容放入/etc/lightdm/lightdm.conf.d/50-workaround-mouse-cursor.conf

 [Seat:*] session-cleanup-script=/usr/local/bin/VTswitch 

以下是/usr/local/bin/VTswitch

 #!/bin/sh n=$(fgconsole) || exit 1 case "$n" in [0-9]) /bin/chvt 1 /bin/chvt "$n" sleep 1 ;; *) echo "error from $0; fgconsole gave $n" >/tmp/VTswitch.log esac 

并运行chmod +x /usr/local/bin/VTswitch 。 重启后,您不应再将游标丢失在挂起/锁定上。