From 01d65673ca3511636bc91f19087678acd2a8121c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 17 Apr 2016 19:07:04 +0200 Subject: [PATCH] xsettings: when using display port adapter, keep HiDPI settings too In fact, we should detect we have some videoprojector and do that. --- bin/xsettingsd-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xsettingsd-setup b/bin/xsettingsd-setup index b414f1d..48e1d59 100755 --- a/bin/xsettingsd-setup +++ b/bin/xsettingsd-setup @@ -6,9 +6,9 @@ case $(hostname),$(xrandr --current | \ sed -n 's/\([^ ]*\) connected .*[0-9][0-9]*x[0-9][0-9]*+[0-9][0-9]*+[0-9][0-9]* .*/\1/p' | \ sort | tr '\n' ':') in zoro,eDP1:) dpi=144 ;; - zoro,eDP1:HDMI2:) dpi=144 ;; zoro,eDP-1:) dpi=144 ;; zoro,eDP-1:HDMI-2:) dpi=144 ;; + zoro,eDP-1:DP-1:) dpi=144 ;; *) dpi=96 ;; esac