![Synaptics 触摸板滚动不起作用](https://linux22.com/image/1083161/Synaptics%20%E8%A7%A6%E6%91%B8%E6%9D%BF%E6%BB%9A%E5%8A%A8%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我在 Dell Studio 1557 上运行 Ubuntu 14.04。我的 Synaptics 触摸板被检测到,但滚动功能不起作用。GUI 中鼠标和触摸板的滚动选项已消失。我尝试重新安装 xserver-xorg-input-synaptics 包,但收到以下错误:包“xorg-input-abi-20”没有安装候选项。请提供解决方案。
以下是输出,我仍然无法安装多点触控包。
hmehra@ubuntu:~$ sudo apt-get install -f
[sudo] password for hmehra:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
删除了 xserver-xorg-core
hmehra@ubuntu:~$ sudo apt-get autoremove xserver-xorg-core
[sudo] password for hmehra:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
xserver-xorg-input-mouse xserver-xorg-input-vmmouse xserver-xorg-input-wacom
xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-modesetting xserver-xorg-video-neomagic
xserver-xorg-video-nouveau xserver-xorg-video-openchrome
xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon
xserver-xorg-video-s3 xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sis
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
xserver-xorg-video-vesa xserver-xorg-video-vmware
0 upgraded, 0 newly installed, 28 to remove and 60 not upgraded.
After this operation, 11.7 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 411157 files and directories currently installed.)
Removing xserver-xorg (1:7.7+1ubuntu8) ...
Removing xserver-xorg-video-siliconmotion (2:1.7.7-makson1~raring1) ...
Removing xserver-xorg-video-ati (2:7.1.0-makson1~raring2) ...
Removing xserver-xorg-input-vmmouse (2:13.0.0-makson1~raring2) ...
Removing xserver-xorg-input-mouse (2:1.8.1-makson1~raring3) ...
Removing xserver-xorg-video-mach64 (1:6.9.4-makson1~raring2) ...
Removing xserver-xorg-video-intel (3:2.21.4-makson1~raring1) ...
Removing xserver-xorg-input-evdev (2:2.7.3-makson1~raring1) ...
Removing xserver-xorg-input-wacom (2:0.20.0-makson1~raring2) ...
Removing xserver-xorg-video-cirrus (2:1.5.2-makson1~raring1) ...
Removing xserver-xorg-video-fbdev (2:0.4.3-makson1~raring1) ...
Removing xserver-xorg-video-mga (2:1.6.2-makson1~raring1) ...
Removing xserver-xorg-video-modesetting (1:0.6.0-makson1~raring1) ...
Removing xserver-xorg-video-neomagic (2:1.2.7-makson1~raring1) ...
Removing xserver-xorg-video-nouveau (2:1.0.6-makson1~raring1) ...
Removing xserver-xorg-video-openchrome (2:0.3.1-makson1~raring1) ...
Removing xserver-xorg-video-qxl (1:0.1.0-makson1~raring1) ...
Removing xserver-xorg-video-r128 (1:6.9.1-makson1~raring1) ...
Removing xserver-xorg-video-radeon (2:7.1.0-makson1~raring2) ...
Removing xserver-xorg-video-s3 (2:0.6.5-makson1~raring1) ...
Removing xserver-xorg-video-savage (2:2.3.6-makson1~raring1) ...
Removing xserver-xorg-video-sis (2:0.10.7-makson1~raring2) ...
Removing xserver-xorg-video-sisusb (2:0.9.6-makson1~raring1) ...
Removing xserver-xorg-video-tdfx (2:1.4.5-makson1~raring1) ...
Removing xserver-xorg-video-trident (2:1.3.6-makson1~raring1) ...
Removing xserver-xorg-video-vesa (2:2.3.2-makson1~raring1) ...
Removing xserver-xorg-video-vmware (2:13.0.0-makson1~raring1) ...
Removing xserver-xorg-core (3:1.12.4+git20121105-makson2~raring1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
重新安装时的输出 -
hmehra@ubuntu:~$ sudo apt-get install xserver-xorg-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libxatracker1
Use 'apt-get autoremove' to remove it.
Suggested packages:
xfonts-100dpi xfonts-75dpi
The following NEW packages will be installed:
xserver-xorg-core
0 upgraded, 1 newly installed, 0 to remove and 60 not upgraded.
Need to get 1,228 kB of archives.
After this operation, 3,757 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main xserver-xorg-core amd64 2:1.15.1-0ubuntu2 [1,228 kB]
Fetched 1,228 kB in 1s (633 kB/s)
Selecting previously unselected package xserver-xorg-core.
(Reading database ... 410842 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-core_2%3a1.15.1-0ubuntu2_amd64.deb ...
Unpacking xserver-xorg-core (2:1.15.1-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up xserver-xorg-core (2:1.15.1-0ubuntu2) ...
答案1
这可能是一个错误,因为在 14.04 中这些选项可通过 GUI 获得。
这是一个可行的解决方案,请在此处查看原始答案启用边缘和双指滚动
使用 gedit 或文档编写器创建脚本非常简单
首先打开gedit
并复制并粘贴以下内容:
#!/bin/bash
synclient VertEdgeScroll=1
synclient VertTwoFingerScroll=1
将文件保存为scrolling.sh
您的~/bin
目录中
更改权限以便能够将其作为程序运行打开终端CTRL + ALT + T
运行此命令:
chmod +x ~/bin/scrolling
在 Dash 中搜索Startup Applications
,然后打开它然后设置滚动在 ubuntu 启动时运行。
答案2
尝试安装 gpointing-device-settings,它在我的华硕上运行良好。
sudo apt-get update
sudo apt-get install gpointing-device-settings
它从 GUI 界面运行,您会在应用程序中找到它,只需搜索指点设备,图标只是一个鼠标,但应用程序是用于触摸板的。有一个单独的滚动选项卡。
或者,从命令行
gpointing-device-settings
实际上我的系统响应更快。
修复损坏的包裹。
尝试代码:
sudo apt-get update
更新你的软件包列表。然后代码:
sudo apt-get autoclean
清理任何不完整的包。然后代码:
sudo apt-get clean
清理 apt 缓存。代码:
sudo apt-get autoremove
将清除所有不需要的依赖项。如果在执行此操作时您可以识别损坏的包,此代码将非常强制地将其删除。代码:
sudo dpkg --remove -force --force-remove-reinstreq <package name>
当然是将包名称更改为真实名称。
然后
代码:
sudo apt-get install -f
sudo dpkg --configure -a
最后一步是确保没有剩余的破损包裹。
您现在就可以安装您的软件包了。
要完全删除 xserver-xorg 并重新安装,请执行以下操作。
使用以下命令删除现有的 xorg
sudo apt-get remove --purge xserver-xorg
使用以下命令安装 xorg
sudo apt-get install xserver-xorg
使用以下命令重新配置 xorg
sudo dpkg-reconfigure xserver-xorg
然后尝试再次安装多点触控。
答案3
我刚刚进入系统设置,在鼠标和触控板选项下选择了“自然滚动”。虽然触控板对侧面和底部的滑块没有反应,但当我将两根手指放在上面时,它确实可以正确滚动。
答案4
我的富士通笔记本电脑也遇到了同样的问题。最后我通过替换一些代码解决了这个问题
/etc/default/grub
这是我修改后的文件的样子。
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo debian
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.notimeout i8042.nomux"
然后运行命令
sudo update grub
也许它会对你有帮助。