From 935397b426297424bacca8db5346871ba31163a6 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 27 Mar 2026 12:44:44 -0300 Subject: [PATCH] Add X11 config files --- etc/X11/xorg.conf.d/00-keyboard.conf | 10 ++++++++++ etc/X11/xorg.conf.d/20-modesetting.conf | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 etc/X11/xorg.conf.d/20-modesetting.conf diff --git a/etc/X11/xorg.conf.d/00-keyboard.conf b/etc/X11/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..146d931 --- /dev/null +++ b/etc/X11/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,10 @@ +# Written by systemd-localed(8), read by systemd-localed and Xorg. It's +# probably wise not to edit this file manually. Use localectl(1) to +# update this file. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "dk" + Option "XkbModel" "pc105" + Option "XkbOptions" "terminate:ctrl_alt_bksp" +EndSection diff --git a/etc/X11/xorg.conf.d/20-modesetting.conf b/etc/X11/xorg.conf.d/20-modesetting.conf new file mode 100644 index 0000000..96ed85d --- /dev/null +++ b/etc/X11/xorg.conf.d/20-modesetting.conf @@ -0,0 +1,7 @@ +Section "Device" + Identifier "Intel Graphics" + Driver "modesetting" + Option "ShadowFB" "false" # you don't need on recent hardware + Option "Atomic" "true" #only effective on Xlibre, or Xorg-git with a special patch + Option "TearFree" "false" +EndSection