第三个鼠标按钮仿真

直到ubuntu版本11.04,我可以简单地为我的X InputClass添加一个选项,为我的HP TrackPoint模拟第三个鼠标按钮,如下所示:

Section "InputClass" Identifier "Trackpoint" MatchIsPointer "on" Option "Emulate3Buttons" "True" EndSection 

我最近更新到11.10测试新function,我很满意,但前面提到的方法停止工作。 我想它与x-server更新有关。 我也尝试添加这样的udev规则:

 ENV{x11_options.Emulate3Buttons}="True" 

这也被忽略了。

我有什么遗漏或重要的事情发生了变化吗?

这个bug似乎现在已经解决了。 没有我报告。

在12.04和12.10中,可以使用dconf-editor或dconf在/org/gnome/settings-daemon/peripherals/mouse/middle-button-enabled并保持待机状态并重新启动。

可以通过一个名为gpointing-device-settings的小程序在Ubuntu 11.10中启用鼠标中键仿真:

 sudo aptitude install gpointing-device-settings 

(参见https://grepmonster.wordpress.com/2011/05/31/ubuntu-11-10-middle-mouse-button-emulation/ )

通过添加具有以下内容的文件/etc/X11/xorg.conf.d/20-3rdbutton.conf ,可以在系统范围内启用第三个鼠标按钮:

 Section "InputClass" Identifier "middle button" MatchIsPointer "on" MatchDriver "libinput" Option "MiddleEmulation" "on" EndSection 

我在带有Fedora 23的HP nc2400上使用它,它可以工作。

此信息的来源是Red Hat的错误1227992的评论14的更正和调整配置。