summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-01-13 17:37:33 -0800
committerFranck Cuny <franck@fcuny.net>2021-01-13 17:37:33 -0800
commit6e68ef1200f0273b605cbd86b154b1e25429f2e6 (patch)
tree6cda4b69f3aa1bad9c96bf04519e8518b9cab099
parentzsh: display completion menu (diff)
downloademacs.d-6e68ef1200f0273b605cbd86b154b1e25429f2e6.tar.gz
README: add extra configuration for Linux
-rw-r--r--README.org18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.org b/README.org
index 0a4508e..c43b4aa 100644
--- a/README.org
+++ b/README.org
@@ -90,7 +90,7 @@ pacman -Qqe
 ** xorg
 To fix the touchpad (use reverse / natural scrolling and faster movement):
 #+begin_src
-##/etc/X11/xorg.conf.d/30-touchpad.conf
+#/etc/X11/xorg.conf.d/30-touchpad.conf
 Section "InputClass"
     Identifier "touchpad"
     Driver "libinput"
@@ -99,3 +99,19 @@ Section "InputClass"
     Option "AccelSpeed" "0.3"
 EndSection
 #+end_src
+
+In case it's needed, the configuration for the DELL 4k monitor:
+#+begin_src
+#/etc/X11/xorg.conf.d/25-dell-monitor-U2718Q.conf
+# Dell 4k home monitors (U2718Q)
+Section "Monitor"
+    Identifier "DP-3"
+    Option "DPMS" "true"
+EndSection
+#+end_src
+
+The following udev rules:
+#+begin_src
+#/etc/udev/rules.d/99-monitor-hotplug.rules
+KERNEL=="card0", ACTION=="change", SUBSYSTEM=="drm", ENV{DISPLAY}=":0" ENV{HOTPLUG}=="1", RUN+="/usr/local/bin/monitor-hotplug"
+#+end_src