Find the answer to your Linux question:
Results 1 to 7 of 7
I use Rapidshare a lot to download files and wanted a simple terminal command or program that would shutdown my monitor so I don't have to manually do it. Thanks....
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    20

    Terminal command or program to shutdown monitor

    I use Rapidshare a lot to download files and wanted a simple terminal command or program that would shutdown my monitor so I don't have to manually do it. Thanks.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Code:
    xset -display :0 dpms force off
    or

    Code:
    vbetool dpms off
    vbetool(1) - Linux man page

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    20
    Unfortunetly, "xset -display :0 dpms force off" worked for about a minute, then the monitor comes back on, while "vbetool dpms off" required me to reboot my machine to get the monitor back. Anyone, know of a program that'll do what I ask? There are a million of them in Windows. Thanks.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    while "vbetool dpms off" required me to reboot my machine to get the monitor back
    To turn the monitor back on
    Code:
    vbetool dpms on

  5. #5
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Isn't it easier just to push the on / off button?
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I was assuming the poster was using an ssh session. Like, I have a desktop computer, and I frequently lie in bed and watch movies on it, but using an ssh session from my laptop to control it. So if I'm falling asleep, I might want to turn off the monitor without getting up.

  7. #7
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    Ah there is that!

    Being somewhat old fashioned, I still watch movies on TV only. All this new fangled stuff!
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

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