Ubuntu如何提供默认的突触设置?我已经在Eeepc 900上安装了Ubuntu Netbook 10.10。现成的TapButton2设置为3,而TapButton3设置为2。
我有几个想要作为系统范围默认值的自定义突触设置。现在,我将脚本与synclient命令一起使用,每次启动或唤醒时都必须运行。皮塔饼 它曾经是xorg.conf ..中不再存在的所有内容。我正在尝试学习新方法,该方法显然是的conf文件/usr/share/X11/xorg.conf.d
。
我编辑
/usr/share/X11/xorg.conf.d/50-synaptics.conf
后看起来像:“ InputClass”部分 标识符“触摸板全包” 驾驶员“突触” MatchIsTouchpad“开启” MatchDevicePath“ / dev / input / event *” 选项“ LockedDrags”“ 1” 选项“ TapButton2”“ 2” 选项“ TapButton3”“ 3” 结束部分
我尝试修改的触摸板部分
/usr/share/X11/xorg.conf.d/10-evdev.conf
,没有雪茄。在一
/etc/X11/xorg.conf.d
节中尝试了相同的50-synaptics.conf和10-evdev.conf文件。尝试
/etc/X11/xorg.conf
使用上面的InputClass部分。没有雪茄。
我总是先还原旧的更改,进行新的更改,然后开始一个新的X会话以测试(startx -- :2
)。我发现有趣的是,在切换到虚拟终端(ctrl+ alt+ F1)后,我的突触设置都丢失了。重大?我不知道。
这些是我运行的synclient命令:
jake @ clyde:〜$ cat bin / synset.sh #!/ bin / bash synclient TapButton2 = 2 synclient TapButton3 = 3 synclient LockedDrags = 1
这是/ dev / input中的内容:
jake@clyde:/dev/input$ ls
by-path/ event0 event1 event2 event3 event4 event5 event6 event7 mice mouse0
jake@clyde:/dev/input$ ls -l by-path/
total 0
lrwxrwxrwx 1 root root 9 2011-02-18 15:43 platform-eeepc-event -> ../event6
lrwxrwxrwx 1 root root 9 2011-02-18 15:43 platform-i8042-serio-0-event-kbd -> ../event4
lrwxrwxrwx 1 root root 9 2011-02-18 15:43 platform-i8042-serio-1-event-mouse -> ../event7
lrwxrwxrwx 1 root root 9 2011-02-18 15:43 platform-i8042-serio-1-mouse -> ../mouse0
X日志很长,但是这里有一些输出。如果整个事情都有用,那么在哪里上传是个好地方?
jake@clyde:/var/log$ egrep "synaptics|touchpad" Xorg.0.log
[ 16.707] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event7)
[ 16.707] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[ 16.707] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[ 16.707] (II) LoadModule: "synaptics"
[ 16.707] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 16.707] (II) Module synaptics: vendor="X.Org Foundation"
[ 16.708] (II) Synaptics touchpad driver version 1.2.2
[ 16.708] (II) ETPS/2 Elantech Touchpad: x-axis range 8 - 1144
[ 16.708] (II) ETPS/2 Elantech Touchpad: y-axis range 8 - 760
[ 16.708] (II) ETPS/2 Elantech Touchpad: device does not report pressure, will use touch data.
[ 16.708] (II) ETPS/2 Elantech Touchpad: finger width range 0 - 0
[ 16.708] (II) ETPS/2 Elantech Touchpad: buttons: left right double triple
[ 16.708] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 16.708] (**) ETPS/2 Elantech Touchpad: always reports core events
[ 16.708] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD)
[ 16.708] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[ 16.709] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 0
[ 16.709] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[ 16.709] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[ 16.709] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 16.710] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[ 15516.377] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 44215.009] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 44358.733] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 44414.761] (--) ETPS/2 Elantech Touchpad: touchpad found
[ 44515.817] (--) ETPS/2 Elantech Touchpad: touchpad found
在当前的Ubuntu(12.04,12.10)中似乎仍未解决。