<?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: Steam Big Picture Function not working</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=01906ae6-21bf-72d9-a215-9402d944398d" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=01906ae6-21bf-72d9-a215-9402d944398d</link>
<description>DisplayFusion RSS: Steam Big Picture Function not working</description>
<lastBuildDate>Fri, 22 May 2026 21:06:53 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=01906ae6-21bf-72d9-a215-9402d944398d</generator>
<item>
<title>RE: Steam Big Picture Function not working</title>
<link>https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d#3</link>
<pubDate>Mon, 01 Jul 2024 14:59:11 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi John, that's great to hear I'm happy to hear you got it sorted out.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi John, that's great to hear I'm happy to hear you got it sorted out. <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Steam Big Picture Function not working</title>
<link>https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d#2</link>
<pubDate>Mon, 01 Jul 2024 14:13:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I figured out what the problem was, turns out in had nothing to do with the code. The Monitor Profile I was switching to was broken in some way and had an asterix next to the name, so even though it was working perfectly fine as is it stopped functions from working correctly I geuss. I just re-sa...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I figured out what the problem was, turns out in had nothing to do with the code. The Monitor Profile I was switching to was broken in some way and had an asterix next to the name, so even though it was working perfectly fine as is it stopped functions from working correctly I geuss. I just re-saved it as a new Profile and that seems to have fixed it.
</div>
]]></content:encoded>
</item>
<item>
<title>Steam Big Picture Function not working</title>
<link>https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d</link>
<pubDate>Sun, 30 Jun 2024 20:46:25 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/steam-big-picture-function-not-working/?ID=01906ae6-21bf-72d9-a215-9402d944398d</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello, I'm trying to use this function https://www.displayfusion.com/ScriptedFunctions/View/?ID=018cf550-e36a-77ea-88f6-aed3ae6317bc To switch to a different monitor profile and open Steam in Big Picture mode. But while the Monitor Profile switching part works, I can't seem to get any function to...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello, I'm trying to use this function <a href="https://www.displayfusion.com/ScriptedFunctions/View/?ID=018cf550-e36a-77ea-88f6-aed3ae6317bc" target="_blank" rel="nofollow"><b>https://www.displayfusion.com/ScriptedFunctions/View/?ID=018cf550-e36a-77ea-88f6-aed3ae6317bc</b></a> To switch to a different monitor profile and open Steam in Big Picture mode. But while the Monitor Profile switching part works, I can't seem to get any function to interact with steam at all, even though I'm confident the file path is correct.<br/>
<br/>
Here's how I have it set right now:<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="#code019e518332bf7058a1cf1757292fa57b" 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('code019e518332bf7058a1cf1757292fa57bJs'); 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="code019e518332bf7058a1cf1757292fa57bJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Linq;

public static class DisplayFusionFunction
{
    /**
        Requirements:
        (1) A Steam installation.
            https://store.steampowered.com/about/
        (2) A monitor profile that you intend to use for Steam's Big Picture mode.
            https://www.displayfusion.com/HelpGuide/DisplayFusionBeginnersGuide/#MonitorProfiles
        (3) (optional) A profile you intend to revert to when Steam exits big picture mode.
        (4) (optional) A desktop icon profile to revert to after profile reversion. This is especially
            helpful when icons are shuffled after monitor profile changes.
            https://www.displayfusion.com/HelpGuide/DisplayFusionBeginnersGuide/#DesktopIconProfiles    
    
        Instructions:
        (1) Change the value of "gamingMonitorProfile" to the name of the monitor profile you intend to
            use Steam on. Your monitor profile will be exactly as you named it. Steam Big Picture mode
            will launch on the primary monitor in the profile.
        (2) Change "steamExec" value to your Steam.exe path. Currently it is set to the most common path.
        (3) (optional) Change the value of "defaultMonitorProfile" to the monitor profile you intend to
            revert to once Steam Big Picture mode is exited. If you intend to use this feature, you should
            also set the value of "switchBackOnExit" to "true".
        (4) (optional) Change the value of "iconProfile" to the Desktop Icons profile you intend to revert
            to when your monitor profile switches back. If you intend to use this feature, you should also
            set the value of "resetIconPositions" to "true". This feature is only effective if the
            "switchBackOnExit" feature is also "true".
    */
    
    // Profile settings
    static string gamingMonitorProfile = "Console TV";
    static string defaultMonitorProfile = "Default PC v2";
    static string iconProfile = "[Your desktop icons profile]";
    
    // Steam executable location (don't forget the double backslashes)
    static string steamExec = "C:\\Program Files (x86)\\Steam\\steam.exe";
    
    // Options
    static bool switchBackOnExit = true; // Switch to the default monitor profile upon BPM exit.
    static bool resetIconPositions = false; // Set Desktop Icon profile when Monitor profile is reverted.
    static bool moveTheMouse = true; // Move the mouse to the top left corner to avoid interference with Steam.
    static bool slowPC = false; // If it takes more than 5 seconds for Steam to load, set this to true.
    
    // Begin code
    public static void Run(IntPtr windowHandle)
    {
        // Check that the profiles are valid before proceeding.
        if(checkProfiles()) {
            
            // Switch to "Gaming" profile
            BFS.DisplayFusion.LoadMonitorProfile(gamingMonitorProfile);
            
            // Move the mouse out of the way
            mouseTrap();
            
            // Check steam windows
            IntPtr window = BFS.Window.GetWindowByText("*Steam Big Picture Mode*");
            IntPtr steam = BFS.Window.GetWindowByText("*Steam*");
            
            // If BPM is running
            if(window != IntPtr.Zero) {
                // Move it to the main window
                BFS.Window.MoveToMonitor(1, window);
                
                // Focus on the window
                BFS.Window.Focus(window);
            }
            
            // BPM is not running
            else {
                // Steam is running
                if(steam != IntPtr.Zero) {
                    // Request BPM
                    BFS.Application.Start("steam://open/bigpicture");
                }
                
                // Steam is not running
                else {
                    // Launch Steam in BPM
                    BFS.Application.Start(steamExec, "steam://open/bigpicture");
                }
            }
            
            checkForExit();
        }
    }
    
    // Check to see if the profiles are valid
    private static bool checkProfiles() {
        string[] monitorProfiles = BFS.DisplayFusion.GetMonitorProfiles();
        string[] iconProfiles = BFS.DisplayFusion.GetDesktopIconsProfiles();
        if(!monitorProfiles.Contains(gamingMonitorProfile)) {
            BFS.Dialog.ShowMessageError($"'{gamingMonitorProfile}' is not a valid monitor profile. Please check that you have a monitor profile with this name.");
            return false;
        }
        else if(switchBackOnExit && !monitorProfiles.Contains(defaultMonitorProfile)) {
            BFS.Dialog.ShowMessageError($"'{defaultMonitorProfile}' is not a valid monitor profile. Please check that you have a monitor profile with this name.");
            return false;
        }
        else if(resetIconPositions && !iconProfiles.Contains(iconProfile)) {
            BFS.Dialog.ShowMessageError($"'{iconProfile}' is not a valid desktop icon profile. Please check that you have a monitor profile with this name.");
            return false;
        }
        return true;
    }
    
    // Move the mouse to the top left (0,0)
    private static void mouseTrap() {
        if(moveTheMouse) {
            while(true) {
                if(BFS.DisplayFusion.GetCurrentMonitorProfile() == gamingMonitorProfile) {
                    BFS.Input.SetMousePosition(0,0);
                    break;
                }
            }
        }
    }
    
    // Check if BPM has exited, and switch to the default monitor profile if it has.
    private static void checkForExit() {
        if(switchBackOnExit) {
            // Wait 5 seconds before attempting to check (15 seconds if "slowPC" option is selected).
            uint waitTime = (uint) (slowPC ? 15000 : 5000);
            BFS.General.ThreadWait(waitTime);
            
            while(true) {
                IntPtr window = BFS.Window.GetWindowByText("*Steam Big Picture Mode*");
                if(window == IntPtr.Zero) {
                    BFS.DisplayFusion.LoadMonitorProfile(defaultMonitorProfile);
                    BFS.DisplayFusion.LoadDesktopIconsProfile(iconProfile);
                    break;
                }
            }
        }
    }
}</pre><textarea id="code019e518332bf7058a1cf1757292fa57b" name="code019e518332bf7058a1cf1757292fa57b" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
My Steam path is "C:\Program Files (x86)\Steam\steam.exe", so I have no idea why this wont open Big Picture, or even just regular Steam.
</div>
]]></content:encoded>
</item>
</channel>
</rss>