====== Debugging ======
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 'intel('
cat '/var/log/Xorg.0.log' | grep 'modeset('
cat '/var/log/Xorg.0.log' | grep 'DRI3'
cat '/var/log/Xorg.0.log' | grep 'iris'
====== Xfce Resets ======
rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml'
rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml'
====== Graphics ======
===== 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'
Section "OutputClass"
Identifier "Intel (intel custom)"
MatchDriver "i915"
Driver "intel"
Option "AccelMethod" "SNA"
Option "DRI" "3"
Option "TearFree" "0"
Option "VSync" "0"
Option "PageFlip" "0"
Option "SwapbuffersWait" "0"
Option "TripleBuffer" "0"
Option "LinearFramebuffer" "1"
Option "Throttle" "0"
EndSection
# End
===== modesetting =====
sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf'
Section "OutputClass"
Identifier "Intel (modesetting custom)"
MatchDriver "i915"
Driver "modesetting"
EndSection
# End
====== 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'
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
====== Input ======
===== evdev =====
****
sudo zypper install 'xf86-input-evdev'
==== Mouse ====
* ''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-mouse-custom.conf'
Section "InputClass"
Identifier "ATTACK SHARK R6 Mouse (evdev custom)"
MatchUSBID "373e:0021"
Driver "evdev"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
EndSection
# End
==== Tablet ====
* 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'
Section "InputClass"
Identifier "Wacom CTH-470 (evdev custom)"
MatchUSBID "056a:00de"
Driver "evdev"
Option "Mode" "Absolute"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
EndSection
# End
===== 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'
Section "InputClass"
Identifier "Touchpad (synaptics custom)"
MatchProduct "DELL0819:00"
Driver "synaptics"
Option "TapAndDragGesture" "0"
Option "CoastingSpeed" "0"
Option "PalmDetect" "0"
Option "CircularScrolling" "0"
Option "TapButton3" "0"
Option "TapButton2" "0"
Option "TapButton1" "0"
Option "LBCornerButton" "0"
Option "LTCornerButton" "0"
Option "RBCornerButton" "0"
Option "RTCornerButton" "0"
Option "LockedDrags" "0"
Option "HorizTwoFingerScroll" "0"
Option "CornerCoasting" "0"
Option "HorizEdgeScroll" "0"
Option "VertEdgeScroll" "0"
EndSection
# End
===== 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'
Section "InputClass"
Identifier "ATTACK SHARK R6 Mouse (libinput custom)"
MatchUSBID "373e:0021"
Driver "libinput"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection
# End
====== Xfce HDMI TODO ======
#!/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'"