From d5921ff8af8835c474dfa7bfbe3319d7922cc01f Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 5 Jan 2022 01:07:09 +0100 Subject: [PATCH] add xorg conf --- root/etc/X11/xorg.conf.d/00-keyboard.conf | 9 +++++++++ root/etc/X11/xorg.conf.d/10-monitor.conf | 17 ++++++++++++++++ root/etc/X11/xorg.conf.d/20-intel.conf | 10 ++++++++++ root/etc/X11/xorg.conf.d/50-synaptics.conf | 23 ++++++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 root/etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 root/etc/X11/xorg.conf.d/10-monitor.conf create mode 100644 root/etc/X11/xorg.conf.d/20-intel.conf create mode 100644 root/etc/X11/xorg.conf.d/50-synaptics.conf diff --git a/root/etc/X11/xorg.conf.d/00-keyboard.conf b/root/etc/X11/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..31ce6dd --- /dev/null +++ b/root/etc/X11/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,9 @@ + +#Option "XkbVariant" ",dvorak" +#Option "XkbModel" "pc104" +#MatchIsKeyboard "on" +Section "InputClass" + Identifier "system-keyboard" + Option "XkbLayout" "us" + Option "XkbOptions" "compose:caps" +EndSection diff --git a/root/etc/X11/xorg.conf.d/10-monitor.conf b/root/etc/X11/xorg.conf.d/10-monitor.conf new file mode 100644 index 0000000..7b17923 --- /dev/null +++ b/root/etc/X11/xorg.conf.d/10-monitor.conf @@ -0,0 +1,17 @@ +Section "Monitor" + Identifier "eDP1" + Option "Primary" "true" + Option "PreferredMode" "1920x1080" +EndSection + +Section "Monitor" + Identifier "DP1-1" + Option "Above" "eDP1" + Option "PreferredMode" "1920x1200" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Intel Graphics" + Monitor "Monitor0" +EndSection diff --git a/root/etc/X11/xorg.conf.d/20-intel.conf b/root/etc/X11/xorg.conf.d/20-intel.conf new file mode 100644 index 0000000..708f50a --- /dev/null +++ b/root/etc/X11/xorg.conf.d/20-intel.conf @@ -0,0 +1,10 @@ + +Section "Device" + Identifier "Intel Graphics" + Driver "Intel" +EndSection + +#Option "AccelMethod" "glamor" +#Option "TearFree" "true" +#Option "VertRefresh" "60" +#Option "DRI" "false" diff --git a/root/etc/X11/xorg.conf.d/50-synaptics.conf b/root/etc/X11/xorg.conf.d/50-synaptics.conf new file mode 100644 index 0000000..84a4fdc --- /dev/null +++ b/root/etc/X11/xorg.conf.d/50-synaptics.conf @@ -0,0 +1,23 @@ +Section "InputClass" + Identifier "touchpad" + Driver "synaptics" + MatchIsTouchpad "on" + Option "TapButton1" "1" + Option "TapButton2" "2" + Option "TapButton3" "3" + Option "VertEdgeScroll" "off" + Option "VertTwoFingerScroll" "on" + Option "HorizEdgeScroll" "off" + Option "HorizTwoFingerScroll" "on" + Option "CircularScrolling" "on" + Option "CircScrollTrigger" "2" + Option "EmulateTwoFingerMinZ" "40" + Option "EmulateTwoFingerMinW" "8" + Option "CoastingSpeed" "0" + Option "FingerLow" "30" + Option "FingerHigh" "50" + Option "MaxTapTime" "125" + Option "PalmDetect" "1" + Option "PalmMinWidth" "4" + Option "PalmMinZ" "100" +EndSection