Whoa, and i promptly sent the wrong example. Here is the working one: schwarze@isnote $ cat /etc/sensorsd.conf hw.sensors.acpiac0.indicator0:low=1:command=/etc/sensorsd/acpiac %2 %3 %4
schwarze@isnote $ cat /etc/sensorsd/acpiac #!/bin/sh export XAUTHORITY=/home/schwarze/.Xauthority logger -p daemon.info -t acpiac status=$1 low=$2 high=$3 if [ "X$1" = "XOn" ]; then xsetroot -display :0 -def else xsetroot -display :0 -solid red fi exit 0