From 7c8c7b24014bc0b27796a2a1c929a941dd57f3bb Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 28 Jul 2018 11:12:16 +0200 Subject: [PATCH] xsession: enable QT autoscaling according to screen DPI This seems to work great! --- xsession | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xsession b/xsession index 212f77b..7b1ed98 100644 --- a/xsession +++ b/xsession @@ -20,6 +20,9 @@ export MAILCAPS=$HOME/.mailcap # https://bugzilla.gnome.org/show_bug.cgi?id=677329 export GDK_CORE_DEVICE_EVENTS=1 +# Make QT automatically scale according to screen DPI +export QT_AUTO_SCREEN_SCALE_FACTOR=1 + # Environment variables [ -e ~/.zsh/env ] && . ~/.zsh/env