My laptop's monitor does not work any more and thus I've attached an external monitor.
On boot, GDM still recognizes the primary laptop screen and displays it's login window on it. Which I then can't see.
I can disable the laptop's screen by running
xrandr --output LVDS1 --off after logging in.
I tried putting this command into
~\.xinitrc and into a
Both to no effect at all. I had hoped that it'd at least would switch off the laptop's screen on log in.
How do I disable the laptop's screen before GDM starts?