Dav*_*vis 7 mouse xubuntu click-policy
我有一个Logitech Marble Mouse Trackball,其滚动能力配置如下:
#!/bin/bash
dev="Logitech USB Trackball"
we="Evdev Wheel Emulation"
xinput set-int-prop "$dev" "$we Button" 8 8
xinput set-int-prop "$dev" "$we" 8 1
Run Code Online (Sandbox Code Playgroud)
这使我可以按住左侧的小按钮并通过上下滚动轨迹球来滚动,左右运动无效。
这是运行 Xfce 的 Xubuntu 12.04 LTS 的全新安装。
使用 Kubuntu(以及许多其他桌面环境),我能够:
我尝试使用以下方法重新启用该行为:
运行gsettings set org.gnome.settings-daemon.peripherals.mouse middle-button-enabled true返回No such schema 'org.gnome.settings-daemon.peripherals.mouse'。
该dconf-editor工具不显示org::gnome::settings-daemon::peripherals::mouse。我能找到的最接近的是org.gnome.desktop.a11y.mouse,但它没有middle-button-enabled.
如何为轨迹球启用“中键单击”,以便小右键执行复制缓冲区的粘贴?
/usr/share/X11/xorg.conf.d/10-evdev.conf。“输入类”部分
标识符“大理石鼠标”
匹配产品“罗技 USB 轨迹球”
MatchIsPointer“开启”
MatchDevicePath "/dev/input/event*"
驱动程序“evdev”
选项“按钮映射”“1 9 3 4 5 6 7 8 2”
选项“EmulateWheel”“真”
选项“EmulateWheelButton”“8”
选项“ZAxisMapping”“4 5”
选项“XAxisMapping”“6 7”
选项“Emulate3Buttons”“真”
结束部分
启用Ctrl-Alt-Backspace重启X如下:
echo setxkbmap -option terminate:ctrl_alt_bksp >> ~/.xprofile
chmod +x ~/.xprofile
~/.xprofile
Run Code Online (Sandbox Code Playgroud)
这个:
之后重启重启X,我发现滚动不再工作,可能是由于升级。如果您遇到这种情况,请尝试:
~/.):/usr/share/X11/xorg.conf.d/50-vmmouse.conf /usr/share/X11/xorg.conf.d/50-marblemouse.conf /usr/share/X11/xorg.conf.d/11-evdev-quirks.conf
/etc/X11/xorg.conf
使用以下方法验证设置(其中 8 是设备编号;您的设备编号可能会有所不同):
xinput get-button-map 8
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3733 次 |
| 最近记录: |