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/10/18 04:28] – [Debugging] Sean Rhonelinux:notes:xorg.conf_snippets [2026/01/02 01:25] (current) Sean Rhone
Line 1: Line 1:
 ====== Debugging ====== ====== Debugging ======
- 
-  * :!: TODO: [[bsd:notes:xorg.conf_snippets]] and [[bsd:freebsd_14.3_xfce#spinesnap4]] 
  
   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 'modeset('   cat '/var/log/Xorg.0.log' | grep 'modeset('
- 
-  cat '/var/log/Xorg.0.log' | grep 'intel:' 
  
   cat '/var/log/Xorg.0.log' | grep 'DRI3'   cat '/var/log/Xorg.0.log' | grep 'DRI3'
  
   cat '/var/log/Xorg.0.log' | grep 'iris'   cat '/var/log/Xorg.0.log' | grep 'iris'
- 
-===== GNOME ===== 
- 
-  cat ~/'.local/share/xorg/Xorg.'*'.log' | grep 'Using input driver' 
- 
-  gnome-text-editor ~/'.local/share/xorg/Xorg.1.log' 
- 
-====== Distro ====== 
- 
-  * [[linux;distros;debian_12_xfce|Debian 12 (Xfce)]] 
- 
-====== Specific Screens ====== 
- 
-===== HP 27vx ===== 
- 
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf' 
- 
-<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 
- 
-# End</code> 
  
 ====== Graphics ====== ====== Graphics ======
  
-===== modesetting =====+===== intel =====
  
-  * 2025/04/14: Preferred over ''intel''+  sudo zypper install 'xf86-video-intel'
  
   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'
Line 52: Line 25:
 <code> <code>
 Section "OutputClass" Section "OutputClass"
-    Identifier "Intel (modesetting custom)"+    Identifier "Intel (intel custom)"
     MatchDriver "i915"     MatchDriver "i915"
-    Driver "modesetting"+    Driver "intel" 
 +    Option "AccelMethod" "SNA" 
 +    Option "DRI" "3" 
 +    Option "TearFree" "1"
 EndSection EndSection
  
 # End</code> # End</code>
  
-===== intel ===== +===== modesetting =====
- +
-  sudo apt install 'xserver-xorg-video-intel'+
  
   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'
Line 67: Line 41:
 <code> <code>
 Section "OutputClass" Section "OutputClass"
-    Identifier "Intel (intel custom)"+    Identifier "Intel (modesetting custom)"
     MatchDriver "i915"     MatchDriver "i915"
-    Driver "intel" +    Driver "modesetting"
-    Option "DRI" "3" +
-    Option "TearFree" "0" +
-    Option "VSync" "0" +
-    Option "PageFlip" "0" +
-    Option "SwapbuffersWait" "0" +
-    Option "TripleBuffer" "0" +
-    Option "LinearFramebuffer" "1"+
 EndSection EndSection
  
Line 83: Line 50:
 ====== Input ====== ====== Input ======
  
-===== Keyboard =====+===== evdev ===== 
 + 
 +**** 
 + 
 +  sudo zypper install 'xf86-input-evdev'
  
-  sudo apt install 'xserver-xorg-input-evdev'+==== Keyboard ====
  
   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'
Line 93: Line 64:
     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"
Line 101: Line 71:
 # End</code> # End</code>
  
-===== Mouse ====+==== Mouse ====
- +
-  sudo apt install 'xserver-xorg-input-evdev'+
  
   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf'   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf'
Line 111: Line 79:
     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"
Line 119: Line 86:
 # End</code> # End</code>
  
-===== Tablet =====+==== Tablet ====
  
-  sudo apt install 'xserver-xorg-input-evdev'+  * 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'   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-tablet-custom.conf'
Line 129: Line 97:
     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"
Line 138: Line 105:
 # End</code> # End</code>
  
-===== Touchpad =====+===== synaptics =====
  
-  sudo apt install 'xserver-xorg-input-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'   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-touchpad-custom.conf'
Line 148: Line 119:
     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 166: Line 136:
     Option "HorizEdgeScroll" "0"     Option "HorizEdgeScroll" "0"
     Option "VertEdgeScroll" "0"     Option "VertEdgeScroll" "0"
 +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 EndSection
  
 # End</code> # End</code>
  
/usr/local/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1760776082.txt.gz · Last modified: by Sean Rhone