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/05/10 01:41] (current) – [HP S2031] Sean Rhone
Line 20: Line 20:
  
   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
 +
 +===== HP S2031 =====
 +
 +  * [[devices:displays:hp_s2031|Notes]]
 +  * ''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'
 +
 +<code>
 +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 56: Line 80:
     MatchDriver "i915"     MatchDriver "i915"
     Driver "modesetting"     Driver "modesetting"
-EndSection 
- 
-# End</code> 
- 
-====== Monitor ====== 
- 
-  * https://tomverbeure.github.io/video_timings_calculator 
-  * [[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' 
- 
-<code> 
-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 EndSection
  
Line 89: Line 92:
   sudo zypper install 'xf86-input-evdev'   sudo zypper install 'xf86-input-evdev'
  
-==== Mouse ====+==== Keyboard ====
  
-  ''MatchUSBID'changes between wired USB-C and wireless receiver ((USB-C = ''373e:0021'', wireless ''373e:0022''))+  sudo mkdir -p '/etc/X11/xorg.conf.d&& sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "BY Tech Gaming Keyboard (evdev custom)" 
 +    MatchUSBID "258a:010c" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +==== Mouse ====
  
   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 97: Line 113:
 <code> <code>
 Section "InputClass" Section "InputClass"
-    Identifier "ATTACK SHARK R6 Mouse (evdev custom)" +    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)" 
-    MatchUSBID "373e:0021"+    MatchUSBID "1b1c:1b75"
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
Line 178: Line 194:
  
 # 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> 
  
/srv/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1775654278.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