-
Notifications
You must be signed in to change notification settings - Fork 0
Xorg Configuration
Dmitry Sayevich edited this page Oct 22, 2022
·
11 revisions
В файле /etc/X11/xorg.conf отредактируйте секции:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "MetaModes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Создать файл /etc/X11/xorg.conf.d/00-keyboard.conf и добавить секцию:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
Выполнить ln -s /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf и отредактировать секцию тачпада следующим образом:
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
EndSection