Manjaro是是基于Arch Linux的Linux发行版,其可以选择使用KDE Plasma 5作为桌面环境。然而,在使用的过程中,特别是安装更新后,容易出现鼠标光标不可见的情况。

该问题是由显卡驱动和Manjaro HardWare Detection (mhwd)造成的。

在终端中输入如下命令安装Intel显卡驱动时:

1
sudo pacman -S xf86-video-intel

可以看到如下输出:

1
2
3
4
5
6
7
8
9
>>> This driver uses SNA as the default acceleration method. You can try
falling back to UXA if you run into trouble. To do so, save a file with
the following content as /etc/X11/xorg.conf.d/20-intel.conf :
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
#Option "AccelMethod" "sna"
EndSection

根据该该提示,编辑/etc/X11/xorg.conf.d/90-mhwd.conf文件:

1
Option      "AccelMethod" "sna"

更改为

1
Option      "AccelMethod" "uxa"

重启后,光标即重新出现。