LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1651|回复: 9

[已解决,有新问题]CentOS的gnome桌面中怎么设置触控板的灵敏度?

[复制链接]
发表于 2008-10-31 11:10:14 | 显示全部楼层 |阅读模式
笔记本电脑怎么设置触控板的灵敏度?

现在的灵敏度太高了,不小心轻触了一下,鼠标指标就不知道跑哪去了,特别是在打字的时候,输入的文字经常搞错位置。
---------------------------------------------------------------
在CentOS 5.2 2.6.18-92.1.13.el5内核中,用3楼的方法解决了问题。
但在自己编译的2.6.27.4内核中,由于xorg.conf格式发生了大变化,3楼的方法又不适用了。
发表于 2008-10-31 23:23:17 | 显示全部楼层
忘记了。
有个g***, k***触摸板程序,我以前都用那个的,gsynaptics。
现在不用了,用的什么,自己也忘了。
好像是系统直接支持小红点的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-1 19:43:45 | 显示全部楼层
使用GSynaptics来调整笔记本电脑触控板的灵敏度:

环境:CentOS 5.2,Gnome桌面

1、下载:http://sourceforge.jp/projects/g ... ptics-0.9.14.tar.gz

2、解压:tar zxvf gsynaptics-0.9.14.tar.gz

3、编译、安装:
cd gsynaptics-0.9.14
./configure  && make
make install                #本步用root权限安装,在CentOS中su->输入root口令,再安装。Debian及派生系统用sudo make install安装。

4、在Xorg.conf增加参数:(本步需要root权限,否则不能保存)
gedit /etc/X11/xorg.conf
找到下面这节:
Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"

EndSection
增加一行
Option       "SHMConfig" "true"
变为:
Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
        Option       "SHMConfig" "true"

EndSection
保存后,退出。

5、注消用户,重新登录后,打开终端窗口,运行gsynaptics命令,即可出现图形触控板调整窗口。
  在“一般”标签中,将“敏感程度”调低一点,这样,打字时,大姆指不小心轻触到触控板,也不会改变光标的位置了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-1 19:45:30 | 显示全部楼层
谢谢2楼 怀恋在子夜 提供gsynaptics这条信息!
回复 支持 反对

使用道具 举报

发表于 2008-11-1 21:21:14 | 显示全部楼层
源里面有这个软件的,没必要自己编译
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-1 21:32:50 | 显示全部楼层
Post by gcell;1902551
源里面有这个软件的,没必要自己编译
你那种Linux的源里有,我装的Linux源里没有。
老兄大概装的是Ubuntu之类的Debian派生系统吧?
回复 支持 反对

使用道具 举报

发表于 2008-11-1 21:58:24 | 显示全部楼层
Post by yd_xzn;1902558
你那种Linux的源里有,我装的Linux源里没有。
老兄大概装的是Ubuntu之类的Debian派生系统吧?


Fedora的源里g和k两个都有的。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-5 16:45:54 | 显示全部楼层
CentOS 5.2 2.6.18-92.1.13.el5内核的xorg.conf的内容是:

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "rotocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
        Option      "SHMConfig" "true"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-5 16:46:53 | 显示全部楼层
自己编译的2.6.27.4内核的xorg.conf:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "unix/:7100"
        FontPath     "built-ins"
EndSection

Section "Module"
        Load  "record"
        Load  "glx"
        Load  "vnc"
        Load  "dri"
        Load  "dbe"
        Load  "extmod"
        Load  "xtrap"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        #DisplaySize          280   210        # mm
        Identifier   "Monitor0"
        VendorName   "CMO"
        ModelName    "1420"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ColorKey"                   # <i>
        #Option     "CacheLines"                 # <i>
        #Option     "Dac6Bit"                    # [<bool>]
        #Option     "DRI"                        # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "XvMCSurfaces"               # <i>
        #Option     "ageFlip"                   # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        BusID       "CI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-5 16:47:34 | 显示全部楼层
按网上的一些方法试了试,均无效。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表