Finally learned how xorg config files work

This commit is contained in:
2022-02-04 11:10:56 +04:00
parent 99cf81dbf9
commit e87066957a
4 changed files with 24 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ Files in the `udev` folder should be placed in `/etc/udev/rules.d` and owned by
- `backlight.rules`: Gives normal users access to backlight controls
- `touchpad_input.rules`: Maps the touchpad's variable `/dev/input/event*` path to the static `/dev/input/touchpad` for VFIO passthrough
FIles in the `xorg` folder should be placed in `/etc/X11/xorg.conf.d` and owned by `root`.
FIles in the `xorg` folder should be placed in `/usr/share/X11/xorg.conf.d` and owned by `root`.
- `10-monitor.conf`: Enables 165Hz on boot.
- `10-nvidia-refresh-rate.conf`: Enables 165Hz on boot when using the nvidia driver
- `20-mouse-options.conf`: Sets options for touchpad and mouse

View File

@@ -1,6 +0,0 @@
Section "Screen"
Identifier "Screen 0"
Subsection "Display"
Modes "2560x1600_165"
EndSubsection
EndSection

View File

@@ -0,0 +1,6 @@
Section "Screen"
Identifier "Screen 0"
Subsection "Display"
Modes "2560x1600_165"
EndSubsection
EndSection

View File

@@ -0,0 +1,15 @@
Section "InputClass"
Identifier "MSFT0001:00 06CB:CE44 Touchpad"
MatchProduct "MSFT0001:00 06CB:CE44 Touchpad"
Option "TransformationMatrix" "5 0 0 0 5 0 0 0 1"
Option "AccelProfile" "flat"
Option "NaturalScrolling" "on"
Option "Tapping" "off"
EndSection
Section "InputClass"
Identifier "pointer:Razer Razer DeathAdder Elite"
MatchProduct "Razer Razer DeathAdder Elite"
MatchIsPointer "on"
Option "AccelSpeed" "-0.65"
EndSection