Categories
Linux Mastering Development

Why does xrandr pick a different DPI if called by lightdm?

I have a script which calls xrandr and specifies my screen layout: #!/bin/sh xrandr –output DVI-D-0 –off –output HDMI-0 –off –output DP-0 –off –output DP-1 –off –output DP-2 –mode 2560×1440 –pos 0x0 –rotate normal –output DP-3 –off –output DP-4 –mode 2560×1440 –pos 0x1440 –rotate normal –output DP-5 –off If I run it manually, everything works […]