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/25 04:55] – [Xfce HDMI TODO] 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 24: Line 33:
  
   * https://tomverbeure.github.io/video_timings_calculator   * https://tomverbeure.github.io/video_timings_calculator
 +  * [[programs:linux:wine:cru|Custom Resolution Utility]] (Wine)
  
-===== HP S2031 =====+  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf'
  
-  * [[devices:displays:hp_s2031|Notes]]+===== Dell 5459 =====
  
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf'+==== eDP ====
  
-<code> +  * :!: [[devices:displays:dell_5459|Notes]]
-Section "Monitor" +
-    Identifier "HDMI1" +
-    Modeline "1600x900_76" 119.125 1600 1608 1640 1680 900 919 927 933 +HSync -VSync +
-    Modeline "1280x720_76" 77.209 1280 1288 1320 1360 720 733 741 747 +HSync -VSync +
-    Modeline "1024x768_76" 66.787 1024 1032 1064 1104 768 782 790 796 +HSync -VSync +
-    Modeline "800x600_76" 41.599 800 808 840 880 600 608 616 622 +HSync -VSync +
-    Modeline "640x480_76" 27.25 640 648 680 720 480 484 492 498 +HSync -VSync +
-    Option "PreferredMode" "1600x900_76" +
-EndSection +
- +
-# End</code>+
  
 ====== Graphics ====== ====== Graphics ======
Line 48: Line 47:
 ===== intel ===== ===== intel =====
  
-  sudo apt install 'xserver-xorg-video-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 59: 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 65: 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 87: Line 89:
 ===== evdev ===== ===== evdev =====
  
-**** +  sudo zypper install 'xf86-input-evdev'
- +
-  sudo apt install 'xserver-xorg-input-evdev'+
  
 ==== Keyboard ==== ==== Keyboard ====
Line 112: Line 112:
 <code> <code>
 Section "InputClass" Section "InputClass"
-    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)" +    Identifier "ATTACK SHARK X3 Mouse (evdev custom)" 
-    MatchUSBID "1b1c:1b75"+    MatchUSBID "1d57:fa61" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +==== Touchscreen ==== 
 + 
 +  * :?: 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-touchscreen-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "WEIDA Hi-tech CoolTouch Touchscreen (evdev custom)" 
 +    MatchUSBID "2149:5cfd"
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
Line 146: Line 163:
   * :!: Not ''evdev'' like the above   * :!: Not ''evdev'' like the above
  
-  sudo apt install 'xserver-xorg-input-synaptics'+  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 193: 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/xrandr' --output 'HDMI1' --set 'Broadcast RGB' 'Full' --set 'content type' 'Game' --set 'Colorspace' 'opRGB' --set 'audio' 'force-dvi' --set 'max bpc' '8' 
- 
-xfce4-session-settings 
- 
-'/usr/bin/bash' -c "'/usr/bin/xrandr' --output 'HDMI1' --set 'Broadcast RGB' 'Full' --set 'content type' 'Game' --set 'Colorspace' 'opRGB' --set 'audio' 'force-dvi' --set 'max bpc' '8'" 
- 
- 
-'/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.1777107321.txt.gz · Last modified: by Sean Rhone