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:

xrandr --output DVI-D-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --mode 2560x1440 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --mode 2560x1440 --pos 0x1440 --rotate normal --output DP-5 --off

If I run it manually, everything works fine. But if I instruct lightdm to run it by adding these lines to /etc/lightdm/lightdm.conf


Then everything works except that my mouse cursor is huge (which I’m assuming is happening because it is DPI sensitive). Why does this happen?

Leave a Reply

Your email address will not be published. Required fields are marked *