User Tools

Site Tools


bsd: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
bsd:notes:xorg.conf_snippets [2025/08/25 00:07] Sean Rhonebsd:notes:xorg.conf_snippets [2025/11/02 10:14] (current) – [intel] 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'
Line 12: Line 14:
  
   cat '/var/log/Xorg.0.log' | grep 'iris'   cat '/var/log/Xorg.0.log' | grep 'iris'
 +
 +  pciconf -lv | grep -B3 display
  
 ====== Graphics ====== ====== Graphics ======
Line 38: Line 42:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
-EndSection</code>+    Option "Throttle" "0" 
 +EndSection 
 + 
 +# End</code>
  
 ===== modesetting ===== ===== modesetting =====
Line 56: Line 63:
  
 ====== Input ====== ====== Input ======
 +
 +===== libinput =====
 +
 +  * https://man.archlinux.org/man/libinput.4
 +
 +==== Mouse ====
 +
 +  su -
 +
 +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/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>
 +
  
 ===== evdev ===== ===== evdev =====
 +
 +  su -
 +
 +  pkg install 'xf86-input-evdev'
  
 ==== webcamd ==== ==== webcamd ====
  
   * ''xf86-input-evdev'' requires ''webcamd''   * ''xf86-input-evdev'' requires ''webcamd''
- +  * 2025/10/26: TODO: Re-check if still required
-  su -+
  
   pkg install 'webcamd'   pkg install 'webcamd'
Line 72: Line 104:
  
 ==== Keyboard ==== ==== Keyboard ====
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-keyboard-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-keyboard-custom.conf'
Line 86: Line 114:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
 ==== Mouse ==== ==== Mouse ====
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf'
Line 103: Line 129:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
 ==== Tablet ==== ==== Tablet ====
Line 109: Line 137:
   * 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]]))   * 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   * :?: TODO: There's 3 devices; ''Finger'' and ''Pad'' can likely be disabled
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-tablet-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-tablet-custom.conf'
Line 124: Line 148:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
 ===== Synaptics ===== ===== Synaptics =====
  
-  su -+  * :!: The only one not ''evdev''
  
   pkg install 'xf86-input-synaptics'   pkg install 'xf86-input-synaptics'
Line 155: Line 181:
     Option "HorizEdgeScroll" "0"     Option "HorizEdgeScroll" "0"
     Option "VertEdgeScroll" "0"     Option "VertEdgeScroll" "0"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
/usr/local/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1756094856.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