Kodi Community Forum

Full Version: Right Way (tm) to run XBMC on the second screen?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have two screens - one for PC monitor and another one for LCD TV. Usually I am using my PC monitor and I wish to run XBMC on LCD TV. So my primary screen is PC monitor. I searched forum for "second screen", "DISPLAY=:0.1" but all answers was to "hack" XBMC's running scripts like adding "export DISPLAY=:0.1" and so on.

Is there is the Right Way ™ to say XBMC to run on the second screen? Like some "secret" keywords in config files?
Setting the DISPLAY=:0.1 environment variable is the correct way to do it, assuming you have your displays configured as separate X screens (which is the best way of using XBMC with a multimonitor setup).

You don't have to hack the xbmc script, just change whatever script or shortcut you're using to start XBMC by changing the startup line to "DISPLAY=:0.1 xbmc".
bobo1on1 Wrote:You don't have to hack the xbmc script, just change whatever script or shortcut you're using to start XBMC by changing the startup line to "DISPLAY=:0.1 xbmc".

May be it's need to include in Linux FAQ?