Results 1 to 5 of 5

Thread: Turn LCD monitor off

  1. #1

    Default Turn LCD monitor off

    Hi all,

    is there a way to turn my notebook LCD monitor off from terminal with a command (,not in a X-session).

    I tried both
    Code:
    setterm --powersave powerdown 
    setterm --powersave vsync
    but both don't work.

    Thanks in return.

    Remco

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,007
    Blog Entries
    1

    Default Re: Turn LCD monitor off

    You can use xrandr to control monitors.

    This command to discover the names of your devices and output modes available:

    xrandr -q
    For example, to turn off laptop display:

    xrandr --output LVDS --off
    To turn off an external monitor (named VGA-0):

    xrandr --output VGA-0 --off
    A good reference:

    Xorg RandR 1.2 - ThinkWiki

  3. #3

    Default Re: Turn LCD monitor off

    Deano, you are a life-savior :-) Thank you very much, (my laptop also says that :-) ).

    Cheers,

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,007
    Blog Entries
    1

    Default Re: Turn LCD monitor off

    I had forgotten about this thread! Glad to see it worked for you.

  5. #5
    Join Date
    Apr 2009
    Location
    Stuttgart, Germany
    Posts
    113

    Default Re: Turn LCD monitor off

    Another command that always worked for me:
    xset dpms force off

Posting Permissions

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