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

Turn Computer Monitors Off

Linux
7
9
5.7k
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 Aug 3, 2018, 4:05 AM

    For Linux:

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

    R 1 Reply Last reply Aug 3, 2018, 10:03 PM Reply Quote 0
    • R
      Russ @Tony Bineyard
      last edited by Russ Aug 3, 2018, 10:03 PM Aug 3, 2018, 10:03 PM

      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 Oct 16, 2018, 9:05 PM Reply Quote 0
      • H
        heyfrank @Russ
        last edited by Oct 16, 2018, 9:05 PM

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

        R 1 Reply Last reply Oct 21, 2018, 9:08 PM Reply Quote 0
        • R
          Russ @heyfrank
          last edited by Oct 21, 2018, 9:08 PM

          @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 Apr 2, 2020, 3:34 PM

            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
            
            J 1 Reply Last reply Apr 29, 2020, 1:38 PM Reply Quote 2
            • J
              Jean silva @shakepayshaker
              last edited by Apr 29, 2020, 1:38 PM

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

              R 1 Reply Last reply Apr 29, 2020, 3:37 PM Reply Quote -1
              • R
                Russ @Jean silva
                last edited by Russ Apr 29, 2020, 3:37 PM Apr 29, 2020, 3:37 PM

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

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • J
                  Jogador Extremo live
                  last edited by Aug 19, 2021, 9:41 PM

                  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 Sep 8, 2023, 12:35 PM

                    @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