-
Notifications
You must be signed in to change notification settings - Fork 0
Xorg Configuration
Dmitry Sayevich edited this page Jul 8, 2023
·
11 revisions
В файле /etc/X11/xorg.conf отредактируйте секции:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "RegistryDwords" "EnableBrightnessControl=1"
Option "DPI" "96 x 96"
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
Если xorg не стартует с nvidia драйвером, ссылаясь на ошибку инициализации, стоит попробовать отключить modesetting.
В файле /boot/grub/grub.cfg добавить параметры:
nomodeset nouveau.modeset=0
Создать файл /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
Установить xclip. После этого копирование будет осуществляться последовательным вводом "+y.