TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Turn Computer Monitors Off

    Linux
    7
    9
    5.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tony Bineyard
      last edited by

      For Linux:

      {"trigger":"Turn Monitors Off","command":"xset dpms force off","ground":"foreground","voice":"monitors off"},

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Tony Bineyard
        last edited by Russ

        Thanks @tony-bineyard. I added this to the list of examples that show up in the agent GUI.

        Russell VanderMey

        H 1 Reply Last reply Reply Quote 0
        • H
          heyfrank @Russ
          last edited by

          @russ @Tony-Bineyard How does this work if you sit down at your computer 10 minutes later, do the monitors turn back on?

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @heyfrank
            last edited by

            @heyfrank, I don't know. I don't use this because I don't use a Linux computer for my desktop.

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • S
              shakepayshaker
              last edited by

              If you want to turn monitors off with windows (jiggle mouse turns them back on)

              powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)
              exit
              
              Jean silvaJ 1 Reply Last reply Reply Quote 2
              • Jean silvaJ
                Jean silva @shakepayshaker
                last edited by

                @shakepayshaker please send how to use the command to turn the monitor back on by Windows as well

                RussR 1 Reply Last reply Reply Quote -1
                • RussR
                  Russ @Jean silva
                  last edited by Russ

                  @Jean-silva and @shakepayshaker, I replied in this post in the Windows section.

                  Russell VanderMey

                  1 Reply Last reply Reply Quote 0
                  • Jogador Extremo liveJ
                    Jogador Extremo live
                    last edited by

                    I have two monitor, is there a way to turn off just my second monitor?

                    1 Reply Last reply Reply Quote 1
                    • O
                      Olivotec
                      last edited by

                      @Jogador-Extremo-live said in Turn Computer Monitors Off:

                      I have two monitor, is there a way to turn off just my second monitor?

                      So this is basically what I need, did you manage to do this?

                      I want to play games on my TV which is one of 3 monitors I have. And i want to turn off both monitors to have only the TV i'm using to game

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post