我最近一直在尝试解决我的新 Debian 8.6 ppc 安装中的一些小问题。我已经找到或得到了在终端中运行的命令来修复它们。我已经将这些命令添加到/etc/init.d/rc.local
and to/etc/rc.local
以及.profile
但我仍然需要在启动和登录后在终端中运行它们才能使它们工作。
一个是sudo modprobe snd-aoa-i2sbus
让声音正常工作,另一个是synclient TapButton1=1
启用触摸板点击。
小智 5
您不需要对这些任务运行命令。使用特定的配置文件来处理模块加载和外设配置。
在snd-aoa-i2sbus
你可以通过编辑您的解决/etc/modules
将与模块的名称一致。它会是这样的:
root@host:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
snd-aoa-i2sbus
loop
Run Code Online (Sandbox Code Playgroud)
加载时的模块选项:如果您需要在加载过程中更改特定的模块参数,请将这些参数添加到/etc/modprobe.d/<your_module>.conf
. 通过执行检查可能的(如果有的话)参数是什么modinfo snd-aoa-i2sbus | grep '^parm:'
要更改触摸板按钮,请编辑/etc/X11/xorg.conf.d/50-synaptics.conf
(如果不存在则创建)并将以下内容放入其中。
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
Run Code Online (Sandbox Code Playgroud)
只需使用Option
参数映射按钮行为/动作,更改触摸板按钮以更好地满足您的需求。正如对此答案的评论所指出的那样,如果xorg.conf.d/
缺少目录,只需在/etc/X11
. 无需xorg.conf
直接调整。
归档时间: |
|
查看次数: |
168 次 |
最近记录: |