User Tools

Site Tools


linux:notes:xorg.conf_snippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:xorg.conf_snippets [2025/03/29 06:17] Sean Rhonelinux:notes:xorg.conf_snippets [2025/11/09 20:31] (current) Sean Rhone
Line 2: Line 2:
  
   mousepad '/var/log/Xorg.0.log'   mousepad '/var/log/Xorg.0.log'
 +
 +  cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'
  
   cat '/var/log/Xorg.0.log' | grep 'Using input driver'   cat '/var/log/Xorg.0.log' | grep 'Using input driver'
  
-  cat '/var/log/Xorg.0.log' | grep 'intel:'+  cat '/var/log/Xorg.0.log' | grep 'intel(' 
 + 
 +  cat '/var/log/Xorg.0.log' | grep 'modeset('
  
   cat '/var/log/Xorg.0.log' | grep 'DRI3'   cat '/var/log/Xorg.0.log' | grep 'DRI3'
Line 11: Line 15:
   cat '/var/log/Xorg.0.log' | grep 'iris'   cat '/var/log/Xorg.0.log' | grep 'iris'
  
-  gnome-text-editor ~/'.local/share/xorg/Xorg.1.log'+====== Graphics ======
  
-====== Specific Screens ======+===== intel =====
  
-===== HP 27vx =====+  * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting'' 
 +  * :?: TODO: 2025/11/09: ''modesetting'' did over 10K
  
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf' +  sudo zypper install 'xf86-video-intel'
- +
-<code> +
-Section "Monitor" +
-    Identifier "HDMI-1" +
-    Modeline "1920x1080_74" 165.612 1920 1928 1960 2000 1080 1105 1113 1119 +HSync -VSync +
-    Modeline "1280x720_74" 75.077 1280 1288 1320 1360 720 732 740 746 +HSync -VSync +
-    Modeline "1024x768_74" 65.03 1024 1032 1064 1104 768 782 790 796 +HSync -VSync +
-    Option "PreferredMode" "1920x1080_74" +
-EndSection</code> +
- +
-====== Graphics ====== +
- +
-===== modesetting =====+
  
   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf'   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf'
- 
-<code> 
-Section "OutputClass" 
-    Identifier "Intel (modesetting custom)" 
-    MatchDriver "i915" 
-    Driver "modesetting" 
-EndSection</code> 
- 
-===== intel ===== 
- 
-  sudo dnf install 'xorg-x11-drv-intel' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf' 
  
 <code> <code>
Line 50: Line 31:
     MatchDriver "i915"     MatchDriver "i915"
     Driver "intel"     Driver "intel"
 +    Option "AccelMethod" "SNA"
     Option "DRI" "3"     Option "DRI" "3"
     Option "TearFree" "0"     Option "TearFree" "0"
Line 57: Line 39:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
-EndSection</code>+    Option "Throttle" "0" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +===== modesetting ===== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf' 
 + 
 +<code> 
 +Section "OutputClass" 
 +    Identifier "Intel (modesetting custom)" 
 +    MatchDriver "i915" 
 +    Driver "modesetting" 
 +EndSection 
 + 
 +# End</code>
  
 ====== Input ====== ====== Input ======
  
-===== Keyboard =====+===== evdev ===== 
 + 
 +**** 
 + 
 +  sudo zypper install 'xf86-input-evdev' 
 + 
 +==== Keyboard ====
  
-  sudo dnf install 'xorg-x11-drv-evdev' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf'+  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf'
  
 <code> <code>
Line 69: Line 73:
     Identifier "BY Tech Gaming Keyboard (evdev custom)"     Identifier "BY Tech Gaming Keyboard (evdev custom)"
     MatchUSBID "258a:010c"     MatchUSBID "258a:010c"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection
  
-===== Mouse =====+# End</code>
  
-  sudo dnf install 'xorg-x11-drv-evdev' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf'+==== Mouse ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf'
  
 <code> <code>
Line 83: Line 88:
     Identifier "ATTACK SHARK R6 Mouse (evdev custom)"     Identifier "ATTACK SHARK R6 Mouse (evdev custom)"
     MatchUSBID "373e:0021"     MatchUSBID "373e:0021"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection
  
-===== Tablet =====+# End</code>
  
-  sudo dnf install 'xorg-x11-drv-evdev-y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-tablet-custom.conf'+==== Tablet ==== 
 + 
 +  * 2024/12/08: Finger/pad touch doesn't work ((I only use stylus with [[games:bsd:wine:osu|osu!]] so not a //real// issue :p)) ((finger touch can be used in Absolute mode with ''wacom'' driver, see [[bsd:notes:xorg.conf_snippets?rev=1733705200#tablet|older revision]])) 
 +  * :?: TODO: There's 3 devices; ''Finger'' and ''Pad'can likely be disabled 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-tablet-custom.conf'
  
 <code> <code>
Line 97: Line 106:
     Identifier "Wacom CTH-470 (evdev custom)"     Identifier "Wacom CTH-470 (evdev custom)"
     MatchUSBID "056a:00de"     MatchUSBID "056a:00de"
-    MatchDevicePath "/dev/input/event*" 
     Driver "evdev"     Driver "evdev"
     Option "Mode" "Absolute"     Option "Mode" "Absolute"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection
  
-===== Touchpad =====+# End</code>
  
-  sudo dnf install 'xorg-x11-drv-synaptics-legacy-y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-touchpad-custom.conf'+===== synaptics ===== 
 + 
 +==== Touchpad ==== 
 + 
 +  * :!: Not ''evdev'' like the above 
 + 
 +  sudo zypper install 'xf86-input-synaptics' 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-touchpad-custom.conf'
  
 <code> <code>
Line 112: Line 128:
     Identifier "Touchpad (synaptics custom)"     Identifier "Touchpad (synaptics custom)"
     MatchProduct "DELL0819:00"     MatchProduct "DELL0819:00"
-    MatchDevicePath "/dev/input/event*" 
     Driver "synaptics"     Driver "synaptics"
     Option "TapAndDragGesture" "0"     Option "TapAndDragGesture" "0"
Line 130: Line 145:
     Option "HorizEdgeScroll" "0"     Option "HorizEdgeScroll" "0"
     Option "VertEdgeScroll" "0"     Option "VertEdgeScroll" "0"
-EndSection</code>+EndSection 
 + 
 +# End</code> 
 + 
 +===== libinput ===== 
 + 
 +  * https://man.archlinux.org/man/libinput.4 
 + 
 +==== Mouse ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "ATTACK SHARK R6 Mouse (libinput custom)" 
 +    MatchUSBID "373e:0021" 
 +    Driver "libinput" 
 +    Option "AccelProfile" "flat" 
 +    Option "AccelSpeed" "0" 
 +EndSection 
 + 
 +# End</code>
  
/var/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1743243476.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki