linux:notes:xorg.conf_snippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:notes:xorg.conf_snippets [2024/08/25 17:40] – [Acer S271HL] 75hz Sean Rhone | linux:notes:xorg.conf_snippets [2025/05/16 21:39] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | | + | |
- | * '' | + | |
- | ====== Config File ====== | + | cat '/ |
- | | + | |
- | | + | |
- | ====== Specific Screens ====== | + | cat '/ |
- | ===== Acer S271HL ===== | + | cat '/ |
- | * [[devices; | + | ===== GNOME ===== |
- | | + | |
- | | + | |
- | | + | |
- | < | + | ====== Distro ====== |
- | Section " | + | |
- | Identifier " | + | |
- | Modeline " | + | |
- | Modeline " | + | |
- | Modeline " | + | |
- | Option " | + | |
- | EndSection</ | + | |
- | ==== NVIDIA ==== | + | * [[linux; |
- | * https://blogshit.baka.fi/2020/07/xorg-custom-resolutions/ | + | ====== Specific Screens ====== |
- | * https:// | + | |
+ | ===== HP 27vx ===== | ||
+ | |||
+ | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf' | ||
< | < | ||
Section " | Section " | ||
- | Identifier "S271HL-75Hz" | + | Identifier "HDMI-1" |
- | Modeline "1920x1080_75" | + | Modeline "1920x1080_74" |
+ | Modeline " | ||
+ | Modeline " | ||
+ | Option " | ||
EndSection | EndSection | ||
- | Section " | + | # End</ |
- | Identifier " | + | |
- | Option " | + | |
- | Monitor " | + | |
- | EndSection</ | + | |
- | ====== | + | ====== |
- | ===== Deep Color ===== | + | ===== modesetting |
- | * https://wiki.gentoo.org/ | + | * 2025/04/14: Preferred over '' |
- | * https:// | + | |
- | * The lack-of quotes around | + | |
- | * :!: This may cause apps to crash | + | |
- | sudo -e '/ | + | |
< | < | ||
- | Section "Screen" | + | Section "OutputClass" |
- | Identifier "Deep Color Screen" | + | Identifier "Intel (modesetting custom)" |
- | | + | |
- | EndSection</ | + | Driver " |
+ | EndSection | ||
- | ==== Verify ==== | + | # End</ |
- | + | ||
- | * [[notes: | + | |
- | + | ||
- | Pixel depth | + | |
- | + | ||
- | ====== GPU ====== | + | |
- | + | ||
- | ===== amdgpu ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier "AMD Graphics" | + | |
- | MatchDriver " | + | |
- | Driver " | + | |
- | Option " | + | |
- | Option " | + | |
- | EndSection</ | + | |
===== intel ===== | ===== intel ===== | ||
- | | + | |
- | sudo zypper install | + | sudo mkdir -p '/ |
< | < | ||
Section " | Section " | ||
- | Identifier " | + | Identifier " |
MatchDriver " | MatchDriver " | ||
Driver " | Driver " | ||
Option " | Option " | ||
Option " | Option " | ||
+ | Option " | ||
+ | Option " | ||
+ | Option " | ||
Option " | Option " | ||
- | EndSection</ | + | Option " |
+ | EndSection | ||
- | ===== NVIDIA ===== | + | # End</ |
- | + | ||
- | * '' | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier " | + | |
- | MatchDriver " | + | |
- | Option " | + | |
- | Option " | + | |
- | EndSection</ | + | |
====== Input ====== | ====== Input ====== | ||
- | ===== libinput | + | ===== Keyboard |
- | | + | |
- | sudo -e '/ | + | |
< | < | ||
Section " | Section " | ||
- | Identifier "Pointer | + | Identifier "BY Tech Gaming Keyboard |
- | | + | |
MatchDevicePath "/ | MatchDevicePath "/ | ||
- | Driver "libinput" | + | Driver "evdev" |
- | Option "AccelProfile" "flat" | + | Option "AccelerationProfile" "-1" |
+ | Option " | ||
EndSection | EndSection | ||
- | Section " | + | # End</ |
- | Identifier " | + | |
- | MatchIsKeyboard " | + | |
- | MatchDevicePath "/ | + | |
- | Driver " | + | |
- | Option " | + | |
- | EndSection | + | |
- | + | ||
- | Section " | + | |
- | Identifier " | + | |
- | MatchIsTouchpad " | + | |
- | MatchDevicePath "/ | + | |
- | Driver " | + | |
- | Option " | + | |
- | Option " | + | |
- | Option " | + | |
- | Option " | + | |
- | Option " | + | |
- | Option " | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== evdev ===== | + | |
- | + | ||
- | * Last tested: 2024/06/11 on openSUSE Tumbleweed | + | |
- | * :!: Touchpad needed '' | + | ===== Mouse ===== |
- | sudo zypper | + | sudo apt install 'xserver-xorg-input-evdev' |
- | sudo zypper install | + | sudo mkdir -p '/ |
< | < | ||
Section " | Section " | ||
- | Identifier "Pointer | + | Identifier "ATTACK SHARK R6 Mouse (evdev custom)" |
- | | + | |
MatchDevicePath "/ | MatchDevicePath "/ | ||
Driver " | Driver " | ||
Line 175: | Line 115: | ||
EndSection | EndSection | ||
+ | # End</ | ||
+ | |||
+ | ===== Tablet ===== | ||
+ | |||
+ | sudo apt install ' | ||
+ | |||
+ | sudo mkdir -p '/ | ||
+ | |||
+ | < | ||
Section " | Section " | ||
- | Identifier "Keyboard | + | Identifier "Wacom CTH-470 |
- | | + | |
MatchDevicePath "/ | MatchDevicePath "/ | ||
Driver " | Driver " | ||
+ | Option " | ||
Option " | Option " | ||
Option " | Option " | ||
EndSection | EndSection | ||
+ | # End</ | ||
+ | |||
+ | ===== Touchpad ===== | ||
+ | |||
+ | sudo apt install ' | ||
+ | |||
+ | sudo mkdir -p '/ | ||
+ | |||
+ | < | ||
Section " | Section " | ||
Identifier " | Identifier " | ||
- | | + | |
MatchDevicePath "/ | MatchDevicePath "/ | ||
Driver " | Driver " | ||
Line 207: | Line 166: | ||
EndSection | EndSection | ||
- | Section " | + | # End</ |
- | Identifier " | + | |
- | MatchIsTablet " | + | |
- | MatchDevicePath "/ | + | |
- | Driver " | + | |
- | Option " | + | |
- | Option " | + | |
- | EndSection | + | |
- | + | ||
- | Section " | + | |
- | Identifier " | + | |
- | MatchIsTouchscreen " | + | |
- | MatchDevicePath "/ | + | |
- | Driver " | + | |
- | Option " | + | |
- | Option " | + | |
- | EndSection</ | + | |
/srv/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1724622057.txt.gz · Last modified: (external edit)