Find the answer to your Linux question:
Results 1 to 2 of 2
I am using my linux box as a digital picture frame. I don't want the monitor on all night though. Can I shut the monitor off at a specific time ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    4

    Shut Off Monitor

    I am using my linux box as a digital picture frame. I don't want the monitor on all night though. Can I shut the monitor off at a specific time every night and turn it back on at a specific time in the morning?

    i realize the specific time would probably be handled by cron, so i'm really looking for a command/script to shut the monitor off...

  2. #2
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    Here's the command I've been using to suspend my monitor:
    Code:
    /usr/X11R6/bin/xset dpms force suspend
    According to the man page for xset, you can substitute the last word with on, off, or standby. So xset dpms force on would turn it back on.

    I'd agree with using cron to set the times. You should be able to just set the above commands in your crontab, if you enclose them in single quotes.
    Stand up and be counted as a Linux user!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •