[mythtv-users] Making a monitor sleep using a shell script?

Peter A. Daly petedaly at gmail.com
Fri Jun 6 02:05:06 UTC 2008


On Thu, Jun 5, 2008 at 9:43 AM, mythtv at blandford.net
<mythtv at blandford.net> wrote:
> jonny Linux wrote:
>
>> I was wondering, is it possible to write a shell script that would be
>> able to make the desktop monitor sleep whenever its run? For example, I
>> could either have it as a MythTV EXEC menu or on a LIRC command. Is it
>> possible to control the two screens independently or would they both
>> have to sleep?
> This is what I use to put my monitor to sleep.
> xset dpms force standby
If you want it to toggle the monitor on/off, try the script I have here:

http://www.mythpvr.com/mythtv/frontend/remote-monitor-power.html

That also addresses how to map it to a button on your remote using
lirc.  Doesn't cover the two monitor issue though.

-Pete


More information about the mythtv-users mailing list