我使用的系统
我使用Ubuntu23.04桌面和KDE。
症状
鼠标光标消失。
环境
如果我移动鼠标,我不能看到鼠标光标本身,但左键,右击,所以仍然是工作。这种事经常发生。没有时间或习惯依赖。有时在2分钟后发生,有时在15分钟后发生。有时Remmina被打开,有时只运行Firefox。
硬件关系
这个Ubuntu实例运行在一个旧的imac上(我甚至不知道它的意志力)。
任何日志中可能的线索
我确实使用
dmesg检查了日志,但是tbh我不知道我应该查找什么。
任何帮助都是非常感谢的。
发布于 2023-05-24 07:52:55
(我不明白下面的代码是干什么的,但它解决了根本问题。)
如果应用以下解决方案,鼠标光标不会消失。
如果/etc/X11/xorg.conf.d/swcursor.conf不存在,那么首先创建它(执行以下行):
su -
mkdir -p /etc/X11/xorg.conf.d/ && touch /etc/X11/xorg.conf.d/swcursor.conf && echo 'Section "Device"' >> /etc/X11/xorg.conf.d/swcursor.conf && echo 'Identifier "Device0"' >> /etc/X11/xorg.conf.d/swcursor.conf && echo 'Driver "intel"' >> /etc/X11/xorg.conf.d/swcursor.conf && echo 'Option "AccelMethod" "uxa"' >> /etc/X11/xorg.conf.d/swcursor.conf && echo 'Option "SWCursor" "on"' >> /etc/X11/xorg.conf.d/swcursor.conf && echo 'EndSection' >> /etc/X11/xorg.conf.d/swcursor.conf如果存在,请检查该文件。
1.)注销。2.)登录。
关键是:uxa acceleration
光标焦急地闪烁/重新定位。
https://askubuntu.com/questions/1469176
复制相似问题