Hi there, i have to customize a debian based distro to run on some pc, showing some advertising on screen (with firefox in fullscreen mode).
I'd like to write a software (script or compiled) that checks every X seconds the status of the VGA/HDMI cable and upon disconnection send an email to the administrator. It would be nice to check if the AV channel on the TV connected to the pc is switched to another channel.
Can you suggest an easy (and graphic card indipendent) way to accomplish those 2 tasks ?
Thanks.