<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Sleep all monitors lasts one second</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=090d8be0-3fd4-4b39-84d1-139a5069bfb9" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=090d8be0-3fd4-4b39-84d1-139a5069bfb9</link>
<description>DisplayFusion RSS: Sleep all monitors lasts one second</description>
<lastBuildDate>Sat, 02 May 2026 09:26:32 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=090d8be0-3fd4-4b39-84d1-139a5069bfb9</generator>
<item>
<title>RE: Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#6</link>
<pubDate>Sun, 10 Sep 2023 15:48:11 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Hey there. I've used this code to define a Scripted Function to sleep all monitors. Associated a key combination to it and tried it out.
All three monitors go black, but this lasts only 1-2 seconds. Am I doing something wrong or is there something I could check that prevents the monitors...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Hey there. I've used <a href="https://www.displayfusion.com/ScriptedFunctions/View/?ID=d377ffeb-d6d4-4b12-8bef-a4d742451f36" target="_blank" rel="nofollow"><b>this code</b></a> to define a Scripted Function to sleep all monitors. Associated a key combination to it and tried it out.<br/>
<br/>
All three monitors go black, but this lasts only 1-2 seconds. Am I doing something wrong or is there something I could check that prevents the monitors to go to sleep?<br/>
<br/>
I'm using DisplayFunction Pro 9.7 on a 64bit Windows 10 Pro.</div></div><br/>
Do you have Steam and possibly a wireless MS keyboard/mouse installed by chance?<br/>
<br/>
If so, I am/was having the same issue. There are some potential solutions here:<br/>
https://steamcommunity.com/discussions/forum/11/3004430610118704574/<br/>
<br/>
The quickest workaround is just to make sure Steam is closed and then my monitors stay off. The other option is to change the wireless KB options as noted in the thread above. This sort of works for me... allowing monitors to stay off SOMETIMES but not always. Its an incredibly weird issue as my old korean 1440p doesn't have this issue ( straight DVI, and now DP-&gt;DVI through adapter) but my Dell monitor does. Super annoying.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#5</link>
<pubDate>Sun, 10 Sep 2023 06:55:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[I came across a this thread when I was searching for a solution for this same problem.
I ended up modifying the scripted fuction to add a wait which helped me work around the issue. Thought I'd tack it on in case someone else stumbles upon this issue as well. Hope it helps!
Code
Copy
Select A...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I came across a this thread when I was searching for a solution for this same problem. <br/>
<br/>
I ended up modifying the scripted fuction to add a wait which helped me work around the issue. Thought I'd tack it on in case someone else stumbles upon this issue as well. Hope it helps!<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019de802d44a741b9bb8d881a216c6df" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019de802d44a741b9bb8d881a216c6dfJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019de802d44a741b9bb8d881a216c6dfJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Window Location target when run by a Window Location rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {    
        //wait 1000mS to avoid key combo waking the screen 
        BFS.General.ThreadWait(1000);
        // put all the monitors to sleep
        BFS.General.SleepMonitors();
    }
}</pre><textarea id="code019de802d44a741b9bb8d881a216c6df" name="code019de802d44a741b9bb8d881a216c6df" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#4</link>
<pubDate>Fri, 07 Jan 2022 19:54:42 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ah right, my mistake. Could you send me over a debug log? Here are the steps:
On the DisplayFusion Settings  Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
Reproduce the issue and note the time so we'll know where to check in the log file
Click the "Expo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ah right, my mistake. Could you send me over a debug log? Here are the steps:<br/>
<br/>
<ul class="ListBullet">
<li>On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply</li>
<li>Reproduce the issue and note the time so we'll know where to check in the log file</li>
<li>Click the "Export Info to File" button on the Settings > Troubleshooting tab</li>
<li>Reply with the file attached</li>
<li>Disable debug logging after sending the log</li></ul>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#3</link>
<pubDate>Fri, 07 Jan 2022 18:11:46 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Yes, it does.
One small thing I want to clarify: not the PC going to sleep, but only the monitors. In Windows "When plugged in, turn off after..." functionality.
Thanks]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Yes, it does.<br/>
<br/>
One small thing I want to clarify: not the PC going to sleep, but only the monitors. In Windows "When plugged in, turn off after..." functionality.<br/>
<br/>
Thanks
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#2</link>
<pubDate>Fri, 07 Jan 2022 17:46:38 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I tested it on out on my end and it seemed to work fine. If you let your computer go to sleep naturally, does that work or does it never enter sleep mode?
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I tested it on out on my end and it seemed to work fine. If you let your computer go to sleep naturally, does that work or does it never enter sleep mode?<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Sleep all monitors lasts one second</title>
<link>https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9</link>
<pubDate>Fri, 07 Jan 2022 12:50:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/sleep-all-monitors-lasts-one-second/?ID=090d8be0-3fd4-4b39-84d1-139a5069bfb9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey there. I've used this code to define a Scripted Function to sleep all monitors. Associated a key combination to it and tried it out.
All three monitors go black, but this lasts only 1-2 seconds. Am I doing something wrong or is there something I could check that prevents the monitors to go t...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey there. I've used <a href="https://www.displayfusion.com/ScriptedFunctions/View/?ID=d377ffeb-d6d4-4b12-8bef-a4d742451f36" target="_blank" rel="nofollow"><b>this code</b></a> to define a Scripted Function to sleep all monitors. Associated a key combination to it and tried it out.<br/>
<br/>
All three monitors go black, but this lasts only 1-2 seconds. Am I doing something wrong or is there something I could check that prevents the monitors to go to sleep?<br/>
<br/>
I'm using DisplayFunction Pro 9.7 on a 64bit Windows 10 Pro.
</div>
]]></content:encoded>
</item>
</channel>
</rss>