AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 2557
Accepted
spong
spong
Asked: 2010-08-18 23:19:07 +0800 CST2010-08-18 23:19:07 +0800 CST 2010-08-18 23:19:07 +0800 CST

Thinkpad中键滚动

  • 772

我在 Thinkpad T60 上运行 Ubuntu。有没有办法让中间按钮像运行 Windows 时那样像滚动一样?

我希望能够按住中间按钮并使用红色按钮向下滚动网页。

thinkpad laptop
  • 6 6 个回答
  • 18946 Views

6 个回答

  • Voted
  1. Best Answer
    Oli
    2010-08-19T00:28:35+08:002010-08-19T00:28:35+08:00

    http://www.eastwoodzhao.com/thinkpad-middle-button-scroll-ubuntu-linux-10-04-lucid-lynx/

    简而言之,运行这个:gksu gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf并将其放入文件中:

    Section "InputClass"
    Identifier "Trackpoint Wheel Emulation"
    MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Option "EmulateWheel" "true"
    Option "EmulateWheelButton" "2"
    Option "Emulate3Buttons" "false"
    Option "XAxisMapping" "6 7"
    Option "YAxisMapping" "4 5"
    EndSection
    

    保存并重新启动。

    • 20
  2. user2109
    2010-09-08T13:42:54+08:002010-09-08T13:42:54+08:00

    安装包“gpointing-device-settings”设置选项如下:

    check "Use middle button emulation"
    check "Use wheel emulation"
    select button "2"
    check "Enable vertical scroll"
    

    截屏

    • 17
  3. Jukka Matilainen
    2010-08-19T00:28:21+08:002010-08-19T00:28:21+08:00

    ThinkWiki 有关于如何执行此操作的说明。具体来说,如何使用xinput(1)来配置 TrackPoint。

    (总而言之,ThinkWiki是一个很好的资源。它几乎是在 Thinkpad 上运行 Linux 的任何东西的首选之地。)

    • 4
  4. Rick
    2010-09-09T03:57:16+08:002010-09-09T03:57:16+08:00

    我在 AwesomeWM 自动启动文件中使用以下内容:

    # make the mouse work right on my thinkpad in lucid
    xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1
    xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2
    xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200
    

    在默认的 Gnome 安装中,您可以编写一个在启动时运行的脚本,或者检查是否使用了 .xinitrc 或 .Xresources。(我不记得再使用哪个了)

    • 1
  5. Axel
    2010-09-30T02:34:59+08:002010-09-30T02:34:59+08:00

    Gpointing 是用于 gnome 桌面的图形应用程序,以实现相同的结果;)

    使用 Ubuntu 将其安装在终端中

    sudo apt-get install gpointing-device-settings
    

    或通过软件中心“gpointing-device-settings”

    • 1
  6. payneio
    2015-01-02T23:16:50+08:002015-01-02T23:16:50+08:00

    在 Ubuntu 14.04 中,这些设置位于 /usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf 中。它看起来像这样:

     # trackpoint users want wheel emulation
    
    Section "InputClass"
        Identifier  "trackpoint catchall"
        MatchIsPointer  "true"
        MatchProduct    "TrackPoint|DualPoint Stick"
        MatchDevicePath "/dev/input/event*"
        Option  "Emulate3Buttons"   "true"
        Option  "EmulateWheel"  "true"
        Option  "EmulateWheelButton"    "2"
        Option  "XAxisMapping"  "6 7"
        Option  "YAxisMapping"  "4 5"
    EndSection
    

    要获得“自然滚动”,即沿指针方向滚动,您可以将 YAxisMapping 值交换为“5 4”。我换了我的后重新启动,它工作正常。

    • 1

相关问题

  • Thinkpad T60 闪屏

  • 如何在默认设置不起作用的笔记本电脑上使休眠/睡眠工作?

  • 如何解决联想笔记本电脑上恢复/电源问题时禁用的蓝牙?

  • 关闭控制台上的背光[关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何安装 .run 文件?

    • 7 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    如何获得 CPU 温度?

    • 21 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Marko Smith

    如何使用命令行将用户添加为新的 sudoer?

    • 7 个回答
  • Marko Smith

    更改文件夹权限和所有权

    • 9 个回答
  • Marko Smith

    你如何重新启动Apache?

    • 13 个回答
  • Marko Smith

    如何卸载软件?

    • 11 个回答
  • Marko Smith

    如何删除 PPA?

    • 26 个回答
  • Martin Hope
    NES 如何启用或禁用服务? 2010-12-30 13:03:32 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    Olivier Lalonde 如何在结束 ssh 会话后保持进程运行? 2010-10-22 04:09:13 +0800 CST
  • Martin Hope
    David B 如何使用命令行将用户添加为新的 sudoer? 2010-10-16 04:02:45 +0800 CST
  • Martin Hope
    Hans 如何删除旧内核版本以清理启动菜单? 2010-08-21 19:37:01 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve