Find the answer to your Linux question:
Results 1 to 6 of 6
Does anyone know a command to turn off the monitor. Or maybe u have a script to do so. I have been getting into c++ and using the 'system()' function. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    22

    Any one know the command to turn off monitor.


    Does anyone know a command to turn off the monitor. Or maybe u have a script to do so. I have been getting into c++ and using the 'system()' function. I like making my own buttons to do certain stuff. So anyone?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    press the power button i'd say...

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    22

    HAHA!

    I only do that when i get pissed off at it.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    1

    Try out this:

    xset -display :0 dpms force off

  6. #5
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Thanks

    Thanks. It worked. But the problem arises is that it is automatically turned on after a small time. Please give a reply and also comment about how turn on monitor from off position

  7. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hi, Tom

    Please start a new thread with the details of any problems you are having. This thread is 3 to 5 years old already and not likely to be monitored by the other posters any longer.

    Sorry for any inconvenience.
    oz

Posting Permissions

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