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 [2026/04/08 09:17] – Sean Rhonelinux:notes:xorg.conf_snippets [2026/09/28 00:46] (current) – [Touchscreen] Sean Rhone
Line 1: Line 1:
 +====== Information ======
 +
 +  * ''xorg.conf'' snippets
 +  * Xorg X11
 +
 +  * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]]
 +
 ====== Debugging ====== ====== Debugging ======
  
Line 4: Line 11:
  
   cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'   cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'
 +
 +  cat '/var/log/Xorg.0.log' | grep 'DPI'
  
   cat '/var/log/Xorg.0.log' | grep 'Using input driver'   cat '/var/log/Xorg.0.log' | grep 'Using input driver'
Line 20: Line 29:
  
   rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml'   rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml'
 +
 +====== Monitor ======
 +
 +  * https://tomverbeure.github.io/video_timings_calculator
 +  * [[programs:linux:wine:cru|Custom Resolution Utility]] (Wine)
 +
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf'
 +
 +===== Dell 5459 =====
 +
 +==== eDP ====
 +
 +  * :!: [[devices:displays:dell_5459|Notes]]
  
 ====== Graphics ====== ====== Graphics ======
Line 36: Line 58:
     Option "AccelMethod" "SNA"     Option "AccelMethod" "SNA"
     Option "DRI" "3"     Option "DRI" "3"
 +    Option "Present" "1"
     Option "TearFree" "0"     Option "TearFree" "0"
     Option "VSync" "0"     Option "VSync" "0"
Line 42: Line 65:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
 +    Option "Virtualheads" "0"
     Option "Throttle" "0"     Option "Throttle" "0"
 +    Option "HotPlug" "0"
 EndSection EndSection
  
Line 60: Line 85:
 # End</code> # End</code>
  
-====== Monitor ======+====== Input ======
  
-  * https://tomverbeure.github.io/video_timings_calculator +===== evdev =====
-  * [[devices:displays:hp_s2031|HP S2031]] (76Hz) +
-  * ''HDMI1'' (no-dash) = [[#intel|Intel DDX]]+
  
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf'+  sudo zypper install 'xf86-input-evdev' 
 + 
 +==== Keyboard ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf'
  
 <code> <code>
-Section "Monitor" +Section "InputClass" 
-    Identifier "HDMI1" +    Identifier "BY Tech Gaming Keyboard (evdev custom)" 
-    Modeline "1600x900_76" 119.125 1600 1608 1640 1680 900 919 927 933 +HSync -VSync +    MatchUSBID "258a:010c" 
-    Modeline "1280x720_76" 77.209 1280 1288 1320 1360 720 733 741 747 +HSync -VSync +    Driver "evdev" 
-    Modeline "1024x768_76" 66.787 1024 1032 1064 1104 768 782 790 796 +HSync -VSync +    Option "AccelerationProfile" "-1" 
-    Modeline "800x600_76" 41.599 800 808 840 880 600 608 616 622 +HSync -VSync +    Option "AccelerationScheme" "none"
-    Modeline "640x480_76" 27.25 640 648 680 720 480 484 492 498 +HSync -VSync +
-    Option "PreferredMode" "1600x900_76"+
 EndSection EndSection
  
 # End</code> # End</code>
  
-====== Input ======+==== Mouse ====
  
-===== evdev =====+  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 X3 Mouse (evdev custom)" 
 +    MatchUSBID "1d57:fa61" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection
  
-  sudo zypper install 'xf86-input-evdev'+# End</code>
  
-==== Mouse ====+==== Touchscreen ====
  
-  * ''MatchUSBID'' changes between wired USB-C and wireless receiver ((USB-C = ''373e:0021'', wireless = ''373e:0022''))+  * :?: 2026/09/27: Click might get held and cause oddities with Xfce and Firefox ((likely osu!, maybe SDL3; tapping screen and/or toggle-enable Touchscreen from Xfce Mouse settings fixes))
  
-  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-touchscreen-custom.conf'
  
 <code> <code>
 Section "InputClass" Section "InputClass"
-    Identifier "ATTACK SHARK R6 Mouse (evdev custom)" +    Identifier "WEIDA Hi-tech CoolTouch Touchscreen (evdev custom)" 
-    MatchUSBID "373e:0021"+    MatchUSBID "2149:5cfd"
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
Line 178: Line 210:
  
 # End</code> # End</code>
- 
-====== Xfce HDMI TODO ====== 
- 
-<code> 
-#!/bin/bash 
- 
-'/usr/bin/xrandr' --output 'HDMI1' --set 'Broadcast RGB' 'Full' 
-'/usr/bin/xrandr' --output 'HDMI1' --set 'content type' 'Game' 
-'/usr/bin/xrandr' --output 'HDMI1' --set 'Colorspace' 'opRGB' 
-'/usr/bin/xrandr' --output 'HDMI1' --set 'audio' 'force-dvi' 
- 
-# End 
- 
- 
-'/usr/bin/bash' -c "'/usr/bin/xrandr' --output 'HDMI1' --set 'Broadcast RGB' 'Full' && '/usr/bin/xrandr' --output 'HDMI1' --set 'content type' 'Game' && '/usr/bin/xrandr' --output 'HDMI1' --set 'Colorspace' 'opRGB'" 
- 
-'/usr/bin/bash' -c "~/'.local/scripts/xrandr-HDMI.sh'" 
- 
-'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' -T 'openSUSE Updater' -I '/usr/share/icons/hicolor/scalable/apps/distributor.svg' -e ~/'.local/scripts/opensuse-updater.sh'"</code> 
  
/usr/local/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1775654278.txt.gz · Last modified: by Sean Rhone