xorg.conf,xset和xinput set之间有什么区别?

Kon*_*ner 7 linux xorg

我不明白为什么在xset和xorg.conf中有两件具有完全相同但完全不同选项的东西?为什么有两个而不是一个?为什么他们的参数不能有相同的名字?即使在xorg.conf本身,也有多个具有不同名称和相同效果的选项.为什么那么混乱?

例如,我可以在xorg.conf中停用鼠标加速

Option "AccelerationProfile" "-1"
Run Code Online (Sandbox Code Playgroud)

或者

xset m 0 0
Run Code Online (Sandbox Code Playgroud)

我使用Arch Linux与Gnome 3和Linux Kernel 3.0.26-1-lts.

pza*_*oni 8

xorg.conf文件用于设置启动X时将使用的配置.启动X后,更改xorg.conf不会有任何区别(除非重新启动X,但需要注销).

启动X ,xsetxinput命令用于更改配置.这意味着即使内部有默认选项,您(或您的工具包)也可以在运行时更改此默认值.您无需注销即可继续更改选项.xorg.conf

这解释了xorg.conf运行时应用程序(如xsetxinput)之间的区别.xset和之间的区别xinput写在xset的手册页:

The setting is applied to  all  connected  pointing
devices.  xinput(1)  should be used if you need device-specific
settings.
Run Code Online (Sandbox Code Playgroud)

您提到xorg.conf有多个选项具有不同的名称和相同的效果.我想看一个例子.我知道一些选项有一些"交集",但它们通常用于不同的目的.