1 程序版本及问题
- Virtualbox 7.0
- FreeBSD 13.1
- xorg 7.7_3
- lxqt 1.3.0
- virtualbox-ose-additions 6.1.46
问题:通过startx启动lxqt桌面后鼠标无响应。
2 问题解决步骤
打开/etc/X11/xorg.conf
文件
1 定位到ServerLayout
新增一行Option "AutoAddDevices" "false"
如下:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "false"
EndSection
2 定位到鼠标配置段落
- Protocol 设置为 "PS/2"(我这里原来是"auto")
- Device 设置为 "/dev/psm0"(我这里原来是"/dev/sysmouse")
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psm0"
Option "ZAxisMapping" "4 5 6 7"
EndSection
最后重启桌面,鼠标正常响应。
标签:桌面,Option,InputDevice,FreeBSD,lxqt,Virtualbox,鼠标 From: https://www.cnblogs.com/youbins/p/17669772.html