http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&feed=atom&action=history
配置Trackpoint的中键滚轮功能 - 修订历史
2024-03-29T09:12:28Z
本站上此页的修订历史
MediaWiki 1.17.0
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=2038&oldid=prev
Chenxing: 已恢复Wingramo(讨论)的编辑至Chenxing的最后一个修订版本
2012-12-18T08:00:56Z
<p>已恢复<a href="/wiki/Special:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Wingramo" title="Special:用户贡献/Wingramo">Wingramo</a>(<a href="/index.php?title=User_talk:Wingramo&action=edit&redlink=1" class="new" title="User talk:Wingramo(尚未撰写)">讨论</a>)的编辑至<a href="/wiki/User:Chenxing" title="User:Chenxing">Chenxing</a>的最后一个修订版本</p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2012年12月18日 (二) 08:00所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第53行:</td>
<td colspan="2" class="diff-lineno">第53行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo make install</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo make install</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''来源:'''[http://www.downloadranking.com  源码解决方案]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Debian Lenny/Sid或openSUSE===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Debian Lenny/Sid或openSUSE===</div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1950&oldid=prev
Wingramo: /* 较新的发行版 */
2012-11-25T03:24:44Z
<p><span class="autocomment">较新的发行版</span></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2012年11月25日 (日) 03:24所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第53行:</td>
<td colspan="2" class="diff-lineno">第53行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo make install</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo make install</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">'''来源:'''[http://www.downloadranking.com  源码解决方案]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Debian Lenny/Sid或openSUSE===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Debian Lenny/Sid或openSUSE===</div></td></tr>
</table>
Wingramo
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1502&oldid=prev
Chenxing在2011年3月1日 (二) 02:54
2011-03-01T02:54:17Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2011年3月1日 (二) 02:54所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第2行:</td>
<td colspan="2" class="diff-lineno">第2行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为'''红点''')。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为'''红点''')。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><!--</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">==2.6.11以前版本的内核==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">这是很久以前的内核了,现在已很难遇到。2.6.11以前版本的内核中滚动功能可以直接像Windows里一样被驱动。在终端中输入:</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> # echo -n 1 > /proc/trackpoint/scroll </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">启用滚动,而用</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> # echo -n 0 > /proc/trackpoint/scroll </del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">禁用滚动。</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==即时设置==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">目前使用xinput设置红点行为可以立即生效,方法为直接执行如下命令:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"> xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">把这些代码放在''~/.xprofile''中,可以在进入X时让命令自动执行。</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">==2.6.11以后版本的内核==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">2.6.11以后的内核去掉了原来的相关配置信息,所以只能在X Server中模拟这一功能。</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">目前实现这一功能需要 "EmulateWheelTimeout" 的支持,但它在Xorg 6.9或7.0的更早版本中不被支持。令人欣慰的是它已经被包含在多数发行版的Xorg版本中,具体情况在http://www.mail-archive.com/devel@xfree86.org/msg03333.html 这里。</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">--></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 各发行版的设置方法稍有不同,下面分别介绍。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 各发行版的设置方法稍有不同,下面分别介绍。 <ins class="diffchange diffchange-inline">应注意随意X版本 </ins>的 <ins class="diffchange diffchange-inline">变化 </ins>, <ins class="diffchange diffchange-inline">配 </ins>置方法 <ins class="diffchange diffchange-inline">一直在发生变化 </ins>, <ins class="diffchange diffchange-inline">目前推荐使用上章中 </ins>的方法。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"><!--</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">{{Hint|对于较新 </del>的 <del class="diffchange diffchange-inline">发行版 </del>, <del class="diffchange diffchange-inline">其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设 </del>置方法, <del class="diffchange diffchange-inline">如果没有,就参照Fedora </del>的 <del class="diffchange diffchange-inline">设置 </del>方法。<del class="diffchange diffchange-inline">}}--></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div style="color: red">为避免出现意外,请先备份你的''/etc/X11/xorg.conf''</div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div style="color: red">为避免出现意外,请先备份你的''/etc/X11/xorg.conf''</div></div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1327&oldid=prev
Chenxing在2010年1月2日 (六) 00:25
2010-01-02T00:25:51Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2010年1月2日 (六) 00:25所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第41行:</td>
<td colspan="2" class="diff-lineno">第41行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></match></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></match></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{{Note|2009年12月底的Archlinux中hal的设备名有变化,请将'''TPPS/2 IBM TrackPoint'''改为'''PS/2 Generic Mouse'''。如果不能名称,可使用''lshal {{Pipe}} grep input.product''判断。}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 完成更改后,重新启动'''计算机'''(或重启hal服务,并注销、重新登录)。如果一切正常,现在你就可以使用“红点”了。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 完成更改后,重新启动'''计算机'''(或重启hal服务,并注销、重新登录)。如果一切正常,现在你就可以使用“红点”了。</div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1198&oldid=prev
Chenxing在2009年4月4日 (六) 02:52
2009-04-04T02:52:28Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2009年4月4日 (六) 02:52所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 本文介绍在多种[[Linux发行版]]中设置Trackpoint的方法。<ref>[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint thinkwiki.org上对Trackpoint配置的介绍]</ref></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 本文介绍在多种[[Linux发行版]]中设置Trackpoint的方法。<ref>[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint thinkwiki.org上对Trackpoint配置的介绍]</ref></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为红点)。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为<ins class="diffchange diffchange-inline">''' </ins>红点<ins class="diffchange diffchange-inline">''' </ins>)。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第19行:</td>
<td colspan="2" class="diff-lineno">第19行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 各发行版的设置方法稍有不同,下面分别介绍。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 各发行版的设置方法稍有不同,下面分别介绍。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{Hint|对于其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora的设置方法。}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><!--</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{Hint|对于 <ins class="diffchange diffchange-inline">较新的发行版, </ins>其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora的设置方法。}}<ins class="diffchange diffchange-inline">--></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div style="color: red">为避免出现意外,请先备份你的''/etc/X11/xorg.conf''</div></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><div style="color: red">为避免出现意外,请先备份你的''/etc/X11/xorg.conf''</div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">下面分别介绍不同发行版中的配置方法。</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"><!--</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>=== <ins class="diffchange diffchange-inline">较新 </ins>的 <ins class="diffchange diffchange-inline">发行版</ins>===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===<del class="diffchange diffchange-inline">Debian Etch===</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 在[[Ubuntu]] 8.<ins class="diffchange diffchange-inline">10、Fedora </ins>10、Archlinux等较新的发行版中,键盘、鼠标不再由X服务器而是[[HAL]]管理<ref>[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</ref> <ins class="diffchange diffchange-inline">。但目前Debian、Mandriva等暂不在此列 </ins>( <ins class="diffchange diffchange-inline">请参见后面 </ins>的 <ins class="diffchange diffchange-inline">设 </ins>置方法) <ins class="diffchange diffchange-inline">。</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">安装了此项功能,可以在/etc/X11/xorg.conf中,Configured Mouse部分加入: </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option "EmulateWheel"          "on"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option "EmulateWheelButton"    "2"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option "EmulateWheelTimeOut" "200"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option "YAxisMapping" "4 5"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option "XAxisMapping" "6 7"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">以下 </del>的 <del class="diffchange diffchange-inline">配置在IBM R51,1829上测试通过</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Section "InputDevice"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Identifier  "Configured Mouse"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Driver      "mouse"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "CorePointer"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "Device"              "/dev/input/mice"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "Protocol"            "ExplorerPS/2"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "Emulate3Buttons"    "on"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "Emulate3TimeOut"    "50"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "EmulateWheel"        "on"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "EmulateWheelTimeOut" "200"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "EmulateWheelButton"  "2"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "YAxisMapping"        "4 5"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "XAxisMapping"        "6 7"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">      Option      "ZAxisMapping"        "4 5"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> EndSection</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">重启X,滚轮就可以用了。</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">--></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">===Debian Lenny/Sid或openSUSE===</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">在''/etc/X11/xorg.conf''中,找到'''Configured Mouse'''并将其所在的Section做如下修改:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Section "InputDevice"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Identifier  "Configured Mouse"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Driver      "mouse"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "CorePointer"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "Device"              "/dev/input/mice"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "Protocol"            "ExplorerPS/2"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "Emulate3Buttons"    "true"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "Emulate3TimeOut"    "50"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "EmulateWheel"        "on"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "EmulateWheelTimeOut" "200"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "EmulateWheelButton"  "2"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "YAxisMapping"        "4 5"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "XAxisMapping"        "6 7"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    Option      "ZAxisMapping"        "4 5"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> EndSection</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">===Ubuntu 8.10、Archlinux</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 在[[Ubuntu]] 8.10、Archlinux等较新的发行版中,键盘、鼠标不再由X服务器而是[[HAL]]管理 <del class="diffchange diffchange-inline">,''/etc/X11/xorg.conf''中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要在这些发行版中启用Trackpoint中键的滚轮功能,需要进行如下操作</del><ref>[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</ref> <del class="diffchange diffchange-inline">:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>( <del class="diffchange diffchange-inline">对于Ubuntu 8.10之前 </del>的 <del class="diffchange diffchange-inline">版本请不要使用此方法,依照Debian配 </del>置方法 <del class="diffchange diffchange-inline">即可 </del>)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 首先,创建文件''/etc/hal/fdi/policy/mouse-wheel.fdi'',内容为:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 首先,创建文件''/etc/hal/fdi/policy/mouse-wheel.fdi'',内容为:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第86行:</td>
<td colspan="2" class="diff-lineno">第42行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 完成更改后,重启hal <del class="diffchange diffchange-inline">和gdm </del>服务 <del class="diffchange diffchange-inline">:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 完成更改后, <ins class="diffchange diffchange-inline">重新启动'''计算机'''(或 </ins>重启hal服务 <ins class="diffchange diffchange-inline">,并注销、重新登录)。如果一切正常,现在你就可以使用“红点”了。</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"><source lang="bash"></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">sudo /etc/init.d/hal restart</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{Note|仅仅注销后重新登录不能使更改生效,请务必按上述介绍操作。}}</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">sudo /etc/init.d/gdm restart</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"></source></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置后Ubuntu系统可能在一些情况下仍然无法使用滚轮,可以尝试自行编译打过补丁的驱动,步骤如下:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置后Ubuntu系统可能在一些情况下仍然无法使用滚轮,可以尝试自行编译打过补丁的驱动,步骤如下:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第106行:</td>
<td colspan="2" class="diff-lineno">第60行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===<del class="diffchange diffchange-inline">Fedora等 </del>其它发行版===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===<ins class="diffchange diffchange-inline">Debian Lenny/Sid或openSUSE===</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 修改的基本思路都是在''/etc/X11/xorg.conf''中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora为例介绍:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">在''/etc/X11/xorg.conf''中,找到'''Configured Mouse'''并将其所在的Section做如下修改:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> Section "InputDevice"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Identifier  "Configured Mouse"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Driver      "mouse"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "CorePointer"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "Device"              "/dev/input/mice"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "Protocol"            "ExplorerPS/2"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "Emulate3Buttons"    "true"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "Emulate3TimeOut"    "50"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "EmulateWheel"        "on"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "EmulateWheelTimeOut" "200"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "EmulateWheelButton"  "2"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "YAxisMapping"        "4 5"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "XAxisMapping"        "6 7"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">    Option      "ZAxisMapping"        "4 5"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> EndSection</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=== </ins>其它发行版===</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  <ins class="diffchange diffchange-inline">其它发行版,如[[Fedora]] 9及以前的版本,或其它在''/etc/X11/xorg.conf''中没有'''Configured Mouse'''小节的发行版中, </ins>修改的基本思路都是在''/etc/X11/xorg.conf''中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora <ins class="diffchange diffchange-inline">9 </ins>为例介绍:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Fedora]]中,''/etc/X11/xorg.conf''中没有Configured Mouse一项,需要添加:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Fedora]]中,''/etc/X11/xorg.conf''中没有Configured Mouse一项,需要添加:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">{{Hint|Fedora 10中,默认没有''/etc/X11/xorg.conf'',需要创建这个文件,加入下面的内容即可。}}</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # ServerFlags一节对'''Fedora 9'''来说是必要的<ref>[http://unx.ca/log/2008/06/27/scrolling-with-the-trackpoing-on-an-x61-with-fedora-9/ Fedora9环境中的配置方法]</ref></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # ServerFlags一节对'''Fedora 9'''来说是必要的<ref>[http://unx.ca/log/2008/06/27/scrolling-with-the-trackpoing-on-an-x61-with-fedora-9/ Fedora9环境中的配置方法]</ref></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "ServerFlags"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "ServerFlags"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第147行:</td>
<td colspan="2" class="diff-lineno">第118行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  InputDevice "Synaptics Touchpad"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  InputDevice "Synaptics Touchpad"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 配置完成 <del class="diffchange diffchange-inline">(至少在我的R51 1829上好使的) </del>,重新启动X就可以看到效果。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 配置完成,重新启动X就可以看到效果。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Firefox中水平滚动的配置==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Firefox中水平滚动的配置==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Firefox中垂直滚动是没有问题的,但是当试图水平滚动时 <del class="diffchange diffchange-inline">发现 </del>执行的是前进、后退操作。如果要修正,请在地址栏中输入</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Firefox中垂直滚动是没有问题的,但是当试图水平滚动时 <ins class="diffchange diffchange-inline">可能 </ins>执行的是前进、后退操作。如果要修正,请在地址栏中输入</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  about:config  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  about:config  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 回车。更改下列设置:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 回车。更改下列设置:</div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1133&oldid=prev
Chenxing在2009年1月26日 (一) 14:43
2009-01-26T14:43:32Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2009年1月26日 (一) 14:43所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第69行:</td>
<td colspan="2" class="diff-lineno">第69行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  EndSection</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  EndSection</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===Ubuntu 8.10 <del class="diffchange diffchange-inline">版本</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Ubuntu 8.10 <ins class="diffchange diffchange-inline">、Archlinux</ins>===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 在[[Ubuntu]] 8.10中,键盘、鼠标不再由X服务器而 <del class="diffchange diffchange-inline">是HAL </del>管理,/etc/X11/xorg.conf中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要 <del class="diffchange diffchange-inline">在Ubuntu 8.10 </del>中启用Trackpoint中键的滚轮功能,需要进行如下操作<ref>[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</ref>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 在[[Ubuntu]] 8.10 <ins class="diffchange diffchange-inline">、Archlinux等较新的发行版 </ins>中,键盘、鼠标不再由X服务器而 <ins class="diffchange diffchange-inline">是[[HAL]] </ins>管理,<ins class="diffchange diffchange-inline">''</ins>/etc/X11/xorg.conf<ins class="diffchange diffchange-inline">'' </ins>中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要 <ins class="diffchange diffchange-inline">在这些发行版 </ins>中启用Trackpoint中键的滚轮功能,需要进行如下操作<ref>[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</ref>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 首先,创建文件/etc/hal/fdi/policy/mouse-wheel.fdi,内容为:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 首先,创建文件<ins class="diffchange diffchange-inline">''</ins>/etc/hal/fdi/policy/mouse-wheel.fdi<ins class="diffchange diffchange-inline">'' </ins>,内容为:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="XML"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="XML"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><?xml version="1.0" encoding="UTF-8"?></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><?xml version="1.0" encoding="UTF-8"?></div></td></tr>
<tr><td colspan="2" class="diff-lineno">第92行:</td>
<td colspan="2" class="diff-lineno">第92行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置 <del class="diffchange diffchange-inline">后 </del>可能在一些情况下仍然无法使用滚轮,可以尝试自行编译打过补丁的驱动,步骤如下:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置 <ins class="diffchange diffchange-inline">后Ubuntu系统 </ins>可能在一些情况下仍然无法使用滚轮,可以尝试自行编译打过补丁的驱动,步骤如下:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="bash"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="bash"></div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1011&oldid=prev
Chenxing在2008年11月26日 (三) 12:30
2008-11-26T12:30:21Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2008年11月26日 (三) 12:30所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 本文 <del class="diffchange diffchange-inline">参考了thinkwiki.org中的相关文章,主要是做了翻译,并添加了针对</del>[[<del class="diffchange diffchange-inline">Fedora</del>]]的 <del class="diffchange diffchange-inline">解决 </del>方 <del class="diffchange diffchange-inline">案 </del>。 <del class="diffchange diffchange-inline">如果使用其它发行版,只要用xserver-xorg,都可以按本文设 </del>置 <del class="diffchange diffchange-inline">。</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 本文 <ins class="diffchange diffchange-inline">介绍在多种</ins>[[<ins class="diffchange diffchange-inline">Linux发行版</ins>]] <ins class="diffchange diffchange-inline">中设置Trackpoint </ins>的方 <ins class="diffchange diffchange-inline">法 </ins>。<ins class="diffchange diffchange-inline"><ref>[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint thinkwiki.org上对Trackpoint配 </ins>置 <ins class="diffchange diffchange-inline">的介绍]</ref></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为红点)。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为红点)。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><!--</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第18行:</td>
<td colspan="2" class="diff-lineno">第17行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>--></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==系统设置==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Debian/Ubuntu类发行版和Fedora、openSUSE等 </del>发行版的设置方法稍有不同,下面分别介绍。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">各 </ins>发行版的设置方法稍有不同,下面分别介绍。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{Hint|对于其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora的设置方法。}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{Hint|对于其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora的设置方法。}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">第26行:</td>
<td colspan="2" class="diff-lineno">第24行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">===Debian/Ubuntu等发行版===</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><!--</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">=</del>===Debian <del class="diffchange diffchange-inline">Stable等版本=</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Debian <ins class="diffchange diffchange-inline">Etch</ins>===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 安装了此项功能,可以在/etc/X11/xorg.conf中,Configured Mouse部分加入:  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 安装了此项功能,可以在/etc/X11/xorg.conf中,Configured Mouse部分加入:  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "EmulateWheel"          "on"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "EmulateWheel"          "on"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第34行:</td>
<td colspan="2" class="diff-lineno">第32行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "YAxisMapping" "4 5"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "YAxisMapping" "4 5"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "XAxisMapping" "6 7"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Option "XAxisMapping" "6 7"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 以下的配置 <del class="diffchange diffchange-inline">在我的电脑(IBM </del>R51,1829 <del class="diffchange diffchange-inline">) </del>上测试通过</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 以下的配置 <ins class="diffchange diffchange-inline">在IBM </ins>R51,1829上测试通过</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "InputDevice"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "InputDevice"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Identifier  "Configured Mouse"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       Identifier  "Configured Mouse"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第52行:</td>
<td colspan="2" class="diff-lineno">第50行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 重启X,滚轮就可以用了。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 重启X,滚轮就可以用了。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>===Debian Sid <del class="diffchange diffchange-inline">版本</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">--></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Emulate3Buutons </del>在 <del class="diffchange diffchange-inline">新版 </del>中 <del class="diffchange diffchange-inline">不再取on、off值 </del>, <del class="diffchange diffchange-inline">而要取true,故请InputDevice的Configured </del>Mouse <del class="diffchange diffchange-inline">修改 </del>如下 <del class="diffchange diffchange-inline">即可 </del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Debian <ins class="diffchange diffchange-inline">Lenny/</ins>Sid <ins class="diffchange diffchange-inline">或openSUSE</ins>===</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins>在<ins class="diffchange diffchange-inline">''/etc/X11/xorg.conf'' </ins>中, <ins class="diffchange diffchange-inline">找到'''Configured </ins>Mouse<ins class="diffchange diffchange-inline">'''并将其所在的Section做 </ins>如下 <ins class="diffchange diffchange-inline">修改 </ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "InputDevice"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "InputDevice"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Identifier  "Configured Mouse"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Identifier  "Configured Mouse"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第71行:</td>
<td colspan="2" class="diff-lineno">第70行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Ubuntu 8.10版本===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>===Ubuntu 8.10版本===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  <del class="diffchange diffchange-inline">在Ubuntu </del>8.10中,键盘、鼠标不再由X服务器而是HAL管理,/etc/X11/xorg.conf中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要在Ubuntu 8.10中启用Trackpoint中键的滚轮功能,需要进行如下操作:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  <ins class="diffchange diffchange-inline">在[[Ubuntu]] </ins>8.10中,键盘、鼠标不再由X服务器而是HAL管理,/etc/X11/xorg.conf中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要在Ubuntu 8.10中启用Trackpoint中键的滚轮功能,需要进行如下操作<ins class="diffchange diffchange-inline"><ref>[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</ref> </ins>:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">第107行:</td>
<td colspan="2" class="diff-lineno">第106行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>==其它发行版==</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>==<ins class="diffchange diffchange-inline">=Fedora等 </ins>其它发行版<ins class="diffchange diffchange-inline">=</ins>==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  <del class="diffchange diffchange-inline">其它发行版只要把xorg</del>.conf中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora为例介绍:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  <ins class="diffchange diffchange-inline">修改的基本思路都是在''/etc/X11/xorg</ins>.conf<ins class="diffchange diffchange-inline">'' </ins>中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora为例介绍:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Fedora中,''/etc/X11/xorg.conf''中没有Configured Mouse一项,需要添加:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">[[</ins>Fedora<ins class="diffchange diffchange-inline">]] </ins>中,''/etc/X11/xorg.conf''中没有Configured Mouse一项,需要添加:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>  # ServerFlags一节对'''Fedora 9'''来说是必要的<ref>http://unx.ca/log/2008/06/27/scrolling-with-the-trackpoing-on-an-x61-with-fedora-9/</ref></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{Hint|Fedora 10中,默认没有''/etc/X11/xorg.conf'',需要创建这个文件,加入下面的内容即可。}}</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>  # ServerFlags一节对'''Fedora 9'''来说是必要的<ref><ins class="diffchange diffchange-inline">[</ins>http://unx.ca/log/2008/06/27/scrolling-with-the-trackpoing-on-an-x61-with-fedora-9/ <ins class="diffchange diffchange-inline">Fedora9环境中的配置方法]</ins></ref></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "ServerFlags"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  Section "ServerFlags"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         Option  "AutoAddDevices"        "false"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         Option  "AutoAddDevices"        "false"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第141行:</td>
<td colspan="2" class="diff-lineno">第141行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  EndSection</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  EndSection</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 在<<del class="diffchange diffchange-inline">font color</del>=blue>Section "ServerLayout"</<del class="diffchange diffchange-inline">font</del>>中,去掉(如果有的话)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 在<<ins class="diffchange diffchange-inline">div style</ins>=<ins class="diffchange diffchange-inline">"color:</ins>blue<ins class="diffchange diffchange-inline">"</ins>>Section "ServerLayout"</<ins class="diffchange diffchange-inline">div</ins>>中,去掉(如果有的话)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   InputDevice    "Synaptics" "CorePointer"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   InputDevice    "Synaptics" "CorePointer"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 加入:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 加入:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第179行:</td>
<td colspan="2" class="diff-lineno">第179行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==参考资料==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==参考资料==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">*[http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint thinkwiki.org]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><references /></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">*[http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><references /></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><references /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Thinkpad]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Thinkpad]]</div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=1009&oldid=prev
Chenxing在2008年11月24日 (一) 11:31
2008-11-24T11:31:56Z
<p></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2008年11月24日 (一) 11:31所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第1行:</td>
<td colspan="2" class="diff-lineno">第1行:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 本文参考了thinkwiki.org中的相关文章,主要是做了翻译,并添加 <del class="diffchange diffchange-inline">了Fedora Core Linux </del>的解决方案。如果使用其它发行版,只要用xserver-xorg,都可以按本文设置。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 本文参考了thinkwiki.org中的相关文章,主要是做了翻译,并添加 <ins class="diffchange diffchange-inline">了针对[[Fedora]] </ins>的解决方案。如果使用其它发行版,只要用xserver-xorg,都可以按本文设置。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为红点)。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Trackpoint指的是Thinkpad笔记本上的指点杆(又常被称为红点)。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">==系统要求==</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"><!--</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以前版本的内核==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"><font color=red>此段未经测试</font></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">这是很久以前的内核了,现在已很难遇到。2</ins>.6.11以前版本的内核中滚动功能可以直接像Windows里一样被驱动。在终端中输入:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">2</del>.6.11以前版本的内核中滚动功能可以直接像Windows里一样被驱动。在终端中输入:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # echo -n 1 > /proc/trackpoint/scroll  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # echo -n 1 > /proc/trackpoint/scroll  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 启用滚动,而用</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 启用滚动,而用</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # echo -n 0 > /proc/trackpoint/scroll  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # echo -n 0 > /proc/trackpoint/scroll  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 禁用滚动。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 禁用滚动。</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以后版本的内核==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==2.6.11以后版本的内核==</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第19行:</td>
<td colspan="2" class="diff-lineno">第17行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 目前实现这一功能需要 "EmulateWheelTimeout" 的支持,但它在Xorg 6.9或7.0的更早版本中不被支持。令人欣慰的是它已经被包含在多数发行版的Xorg版本中,具体情况在http://www.mail-archive.com/devel@xfree86.org/msg03333.html 这里。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 目前实现这一功能需要 "EmulateWheelTimeout" 的支持,但它在Xorg 6.9或7.0的更早版本中不被支持。令人欣慰的是它已经被包含在多数发行版的Xorg版本中,具体情况在http://www.mail-archive.com/devel@xfree86.org/msg03333.html 这里。</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Debian/Ubuntu类发行版和Fedora等发行版的设置方法稍有不同,下面分别介绍。</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">--></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>{{Hint|对于其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora <del class="diffchange diffchange-inline">Core </del>的设置方法。}}</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==系统设置==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Debian/Ubuntu类发行版和Fedora <ins class="diffchange diffchange-inline">、openSUSE </ins>等发行版的设置方法稍有不同,下面分别介绍。</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>{{Hint|对于其它发行版,如果在/etc/X11/xorg.conf中有Configured Mouse一项,就参照Debian/Ubuntu的设置方法,如果没有,就参照Fedora的设置方法。}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><<del class="diffchange diffchange-inline">font color</del>=red>为避免出现意外,请先备份你 <del class="diffchange diffchange-inline">的xorg</del>.conf</<del class="diffchange diffchange-inline">font</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><<ins class="diffchange diffchange-inline">div style</ins>=<ins class="diffchange diffchange-inline">"color: </ins>red<ins class="diffchange diffchange-inline">"</ins>>为避免出现意外,请先备份你 <ins class="diffchange diffchange-inline">的''/etc/X11/xorg</ins>.conf<ins class="diffchange diffchange-inline">''</ins></<ins class="diffchange diffchange-inline">div</ins>></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak.trackpoint</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">第51行:</td>
<td colspan="2" class="diff-lineno">第52行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 重启X,滚轮就可以用了。</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 重启X,滚轮就可以用了。</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">=</del>===Debian Sid版本<del class="diffchange diffchange-inline">=</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Debian Sid版本===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Emulate3Buutons在新版中不再取on、off值,而要取true,故请InputDevice的Configured Mouse修改如下即可:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Emulate3Buutons在新版中不再取on、off值,而要取true,故请InputDevice的Configured Mouse修改如下即可:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Section "InputDevice"</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins>Section "InputDevice"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Identifier  "Configured Mouse"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Identifier  "Configured Mouse"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Driver      "mouse"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Driver      "mouse"</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第67行:</td>
<td colspan="2" class="diff-lineno">第68行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Option      "XAxisMapping"        "6 7"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Option      "XAxisMapping"        "6 7"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Option      "ZAxisMapping"        "4 5"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     Option      "ZAxisMapping"        "4 5"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>EndSection</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins>EndSection</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">=</del>===Ubuntu 8.10版本<del class="diffchange diffchange-inline">=</del>===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>===Ubuntu 8.10版本===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 在Ubuntu 8.10中,键盘、鼠标不再由X服务器而是HAL管理,/etc/X11/xorg.conf中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要在Ubuntu 8.10中启用Trackpoint中键的滚轮功能,需要进行如下操作:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 在Ubuntu 8.10中,键盘、鼠标不再由X服务器而是HAL管理,/etc/X11/xorg.conf中原有的配置不再有效(实际上Ubuntu在升级时也会自动注释相关部分)。要在Ubuntu 8.10中启用Trackpoint中键的滚轮功能,需要进行如下操作:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> (对于Ubuntu 8.10之前的版本请不要使用此方法,依照Debian配置方法即可)</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第106行:</td>
<td colspan="2" class="diff-lineno">第107行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">=</del>==其它发行版<del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>==其它发行版==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 其它发行版只要把xorg.conf中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora为例介绍:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> 其它发行版只要把xorg.conf中有关鼠标一项如上设置即可,并注意更改ServerLayout部分(如果有的话)的设备名称。下面以Fedora为例介绍:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">第176行:</td>
<td colspan="2" class="diff-lineno">第177行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==相关文章==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==相关文章==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Firefox、Opera中使用Thinkpad导航键]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Firefox、Opera中使用Thinkpad导航键]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">--[[User:Chenxing|Chenxing]] 01:10 2007年4月7日 (CST)</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">--[[User:Chenxing|Chenxing]] 14:25 2007年8月10日 (CST)</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==参考资料==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==参考资料==</div></td></tr>
</table>
Chenxing
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=983&oldid=prev
Ngukho: /* Ubuntu 8.10版本 */
2008-11-10T02:51:24Z
<p><span class="autocomment">Ubuntu 8.10版本</span></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2008年11月10日 (一) 02:51所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第92行:</td>
<td colspan="2" class="diff-lineno">第92行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置后可能在一些情况下仍然无法使用滚轮,可以尝试自行编译 <del class="diffchange diffchange-inline">最新 </del>的驱动,步骤如下:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置后可能在一些情况下仍然无法使用滚轮,可以尝试自行编译 <ins class="diffchange diffchange-inline">打过补丁 </ins>的驱动,步骤如下:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="bash"></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang="bash"></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>sudo apt-get install build-essential <del class="diffchange diffchange-inline">git-core</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">wget http://launchpadlibrarian.net/19254960/preinit.diff</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>sudo apt-get install build-essential</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo apt-get build-dep xserver-xorg-input-evdev</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo apt-get build-dep xserver-xorg-input-evdev</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">git clone git://git.freedesktop.org/git/</del>xorg<del class="diffchange diffchange-inline">/driver/xf86</del>-input-evdev</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">apt-get source xserver-</ins>xorg-input-evdev</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>cd <del class="diffchange diffchange-inline">xf86</del>-input-evdev</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>cd <ins class="diffchange diffchange-inline">xserver-xorg</ins>-input-evdev<ins class="diffchange diffchange-inline">-2.0.99+git20080912</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">git reset </del>-<del class="diffchange diffchange-inline">-hard 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">patch </ins>-<ins class="diffchange diffchange-inline">p1 < ../preinit.diff</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>./autogen --prefix=/usr</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>./autogen --prefix=/usr</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>make</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>make</div></td></tr>
</table>
Ngukho
http://linux-wiki.cn/index.php?title=%E9%85%8D%E7%BD%AETrackpoint%E7%9A%84%E4%B8%AD%E9%94%AE%E6%BB%9A%E8%BD%AE%E5%8A%9F%E8%83%BD&diff=972&oldid=prev
Ngukho: /* Ubuntu 8.10版本 */
2008-10-29T14:39:15Z
<p><span class="autocomment">Ubuntu 8.10版本</span></p>
<table style="background-color: white; color:black;">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一修订</td>
<td colspan='2' style="background-color: white; color:black;">在2008年10月29日 (三) 14:39所做的修订版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第90行:</td>
<td colspan="2" class="diff-lineno">第90行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo /etc/init.d/hal restart</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo /etc/init.d/hal restart</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo /etc/init.d/gdm restart</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>sudo /etc/init.d/gdm restart</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></source></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">由于对应的新驱动(xserver-xorg-input-evdev)存在一些bug,完成上述配置后可能在一些情况下仍然无法使用滚轮,可以尝试自行编译最新的驱动,步骤如下:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><source lang="bash"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">sudo apt-get install build-essential git-core</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">sudo apt-get build-dep xserver-xorg-input-evdev</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">cd xf86-input-evdev</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">git reset --hard 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">./autogen --prefix=/usr</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">make</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">sudo make install</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Ngukho