3
votes
1answer
1k views

script does not behave properly when called by acpi and udev events

I have the following files in /etc/acpi/events and /etc/udev/rules.d /etc/acpi/events/lidclose # Pass all events to our one handler script event=button/lid action=/etc/acpi/monitors.sh ...
31
votes
5answers
8k views

How can I detect when a monitor is plugged in or unplugged?

Is there any event that is triggered when I plug in or out an external monitor into the DisplayPort of my laptop? ACPID and UDEV don't react at all. I'm using onboard graphics on an intel chip. Here ...