Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: cds on 20 June 2024, 06:47:45

Title: SOLVED: LightDM and xrandr
Post by: cds on 20 June 2024, 06:47:45
I use a script that is supposed to get executed when LightDM runs.
In /etc/lightdm/lightdm.conf , I have this:

Code: [Select]
 display-setup-script=/etc/lightdm/monitors.sh

The script simply has the following:

Code: [Select]
 
#!/bin/sh
# Shutoff laptop display - use only HD monitor
xrandr --output eDP --off
xrandr --output HDMI-A-0 --mode 2560x1440

and is chmoded +x
This works in Debian and Arch but for the life of me, fails in Artix. Just a black screen.
Title: Re: LightDM and xrandr
Post by: gripped on 20 June 2024, 17:50:32
Have you checked the identifiers (eDP, HDMI-A-0) are correct ?
Title: Re: LightDM and xrandr
Post by: cds on 21 June 2024, 01:21:49
Have you checked the identifiers (eDP, HDMI-A-0) are correct ?

Yup yup, I did. Turns out all I needed was a reboot

/face-palm