Open carlotm opened 1 year ago
The systemd unit isn't a service, it's started ad hoc as needed. What mechanism do you use to detect changes? udev? Generally, unplug should trigger autorandr.
I am using this udev rule:
$ cat /etc/udev/rules.d/95-monitors.rules
ACTION=="change", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/carloratm/.Xauthority", RUN+="/usr/bin/autorandr --change"
It is working when I plug a monitor, does not work when I unplug it
I can't make autorandr to change the profile when the external monitor is unplugged.
Is it supposed to work? How can I debug what's going on?
Cheers