[mythtv-users] Shell script to turn monitor off that almost works
Wayne Thomas
waynethomas69 at gmail.com
Mon Jan 17 16:15:07 UTC 2011
mute the volume before you turn the monitor off.
Instead of:
case "$MONITOR" in
"On")
xset dpms force standby
if [ "$VOLUME" != "0" ] ; then
mute
fi
Change it to:
case "$MONITOR" in
"On")
if [ "$VOLUME" != "0" ] ; then
mute
fi
xset dpms force standby
I think you will find the action of muting the volume was waking the
screen up. The first time you pressed the button this is what has
occured; the second time you press it the volume is already muted so
the mute call does not occur.
Cheers
Wayne
More information about the mythtv-users
mailing list