鼠标和触摸板设置中没有选项可以在 Ubuntu 13.04+ (Raring/Saucy/Trusty) (GNOME 3.8+) 中启用水平滚动:

即使启用两个手指滚动或内容粘在手指上也不会水平滚动。
这怎么可能?
Ali*_*liN 65
有一种方法可以通过dconf Editor;所以:

编辑: Dconf Editor是13.04预装的,我第一次遇到这个问题;但是在 13.10 和 14.04 上使用gsettings更容易,请参阅Samuel Cavazos 的回答。
小智 27
替代方法:在命令行中运行它
synclient HorizTwoFingerScroll=1
Run Code Online (Sandbox Code Playgroud)
小智 22
或者只是运行
gsettings set org.gnome.settings-daemon.peripherals.touchpad horiz-scroll-enabled "true"
Run Code Online (Sandbox Code Playgroud)
在一个终端
配置你的 Linux 按键绑定,让 Shift+鼠标滚轮发送一个水平滚动事件:
编辑 ~/.xbindkeysrc.scm 并写入:
; bind shift + vertical scroll to horizontal scroll events
(xbindkey '(shift "b:4") "xte 'mouseclick 6'")
(xbindkey '(shift "b:5") "xte 'mouseclick 7'")
Run Code Online (Sandbox Code Playgroud)运行xbindkeys。
此外,对于 Firefox 17+,打开about:config并设置:
general.autoScroll = truemousewheel.with_shift.action = 1mousewheel.with_shift.delta_multiplier_x = 300来源:https : //coderwall.com/p/xnez3g/horizontal-scroll-with-mouse-under-linux
我得到了两个工作。虽然对于xbindkeys,一些应用程序坚持自己的行为,例如 Firefox。
| 归档时间: |
|
| 查看次数: |
48847 次 |
| 最近记录: |