Win HOW-TO start XBMC in fullscreen on secondary monitor with custom resolution
#1
Star 
Updated 2013-04-17!!!
On latest builds of XBMC you can select witch display to use (if its activated) so you still need a software like UltraMon or other to activate secondary display when XBMC runs. With this guide I tell you how to do it with UltraMon.


However, I just found a way to do all this on Windows 7 without any 3rd party software. I tell you how.

Start by opening notepad, add this (Windows 7)
Quote:@echo off
C:\Windows\System32\DisplaySwitch.exe /extend
start /WAIT xbmc.exe
C:\Windows\System32\DisplaySwitch.exe /external

save it in C:\Program Files (x86)\XBMC as XBMC.bat

Now run it, and this .bat will first switch/activate extended view (activates secondary display) and XBMC will launch on it provided that you set up XBMC to run on secondary display. When you exit XBMC your displays will be restored.

Windows 8

OKAY, so for whatever reason you still need this, this should do it, NOTE that you first have to start XBMC one time on the desired display and set that display in XBMC
then hit alt+F4 (quit) next time you run XBMC with this bat, it should start up on that monitor

OPTION 1

Quote:@echo off
C:\Windows\System32\DisplaySwitch.exe /extend
PING -n 11 127.0.0.1>nul
start /WAIT xbmc.exe
C:\Windows\System32\DisplaySwitch.exe /external


OPTION 2

Quote:@echo off
C:\Windows\System32\DisplaySwitch.exe /extend
PING -n 11 127.0.0.1>nul
start /WAIT xbmc.exe
C:\Windows\System32\DisplaySwitch.exe /internal

-------------------------------------------------------------------------------------------------------------------------------------

First off, I would never had figure this out if it wasn't for althekiller, thnx

Quote:
Originally Posted by althekiller View Post
Try setting the environment variable SDL_FULLSCREEN_HEAD=1. I have no damn clue where to do this in that thing microsoft calls an OS that you're running so that's going to take some additional googling on your part.
-------------------------------------------------------------------------------------------------------------------------------------
PLEASE NOTE! Your settings could be lost. And you will have to redo them, one's.
VISTA, UAC USER? If you run Vista and use UAC, Run XBMC as admin the first time when you configure it!
INSTALLATION OF ULTRAMON UNDER WINDOWS 7 Read step (5.)
PROBLEM WITH LAG? Read step (6.)

HOW-TO start XBMC in full screen on secondary monitor with custom resolution

Setup. . .
  • 1. Downloading UltraMon, http://www.realtimesoft.com/ultramon/
  • 2. Make a shortcut to XBMC.exe if you don't already have one. Place it on your desktop (or wherever). Right-click on the shortcut select properties.
    Set the environment variable SDL_FULLSCREEN_HEAD=2 (2 for secondary display) apply and exit...

ex: "C:\Program Files (x86)\XBMC\XBMC.exe" SDL_FULLSCREEN_HEAD=2
  • 3. One's again Right-click on the XBMC shortcut. As you can see UltraMon have added two new tabs, "UltraMon - Display" & "UltraMon - Window"
  • a) Click on "UltraMon - Display" check "use custom settings" choose resolution for "secondary display" ex: 1920*1080 and check as enable.
  • b) Click on "UltraMon - Window" check "use custom settings" show: [normal] on monitor 2 (or whatever display/monitor you like but HEAD="x" must be the same) apply and exit...
  • 4. Launch XBMC, change resolution to AUTO, test resolution. XBMC will automatically choose the highest resolution possible for that display.
  • a) Now select 1080i (this will make the settings stick) and your done!

Troubleshooting. . .
  • (5.) Download UltraMon 3.0.5 Beta or newer. Or do the following.
  • a) Install UltraMon, ignore the errors.
  • b) Run regedit, change these entry's

HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\3.0.4\Window Buttons - Maximize to Desktop Button - change value to 0
HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\3.0.4\Window Buttons - Move Window Button - change value to 0

This should fix it.
  • (6.) This is a Windows problem with some blame on nVIDIA I guess.. You can solve this easy by following these simple steps.
  • a) Right-Click on XBMC.exe, goto "Compatibility"
  • b) Now check, "disable visual themes" "disable desktop composition" "disable display scaling on high DPI settings"
--------------------------------------------------------------------------
There seems to be a problem that cause XBMC not to fill the screen right? Cause of this I don't know but here is plausible solution by gstreet
Quote:Try this:
1. Get UltraMon.
2. Copy your XBMC.exe
3. Right-click where you want your shortcut and press "Paste shortcut"
4. Right-click your new shortcut, select "Properties.
5. In Target, add -fs. Should look like this: "C:\Program Files\XBMC\XBMC.exe" -fs.
6. Press apply and select "UltraMon - Window" tab. Select "Use custom settings" and choose Monitor2, then also select "Centered".
7. Hit "OK", open the shortcut, should now be displayed on your screen of choose.
8. Go to your skins settings and choose wanted resolution.
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
Reply


Messages In This Thread
HOW-TO start XBMC in fullscreen on secondary monitor with custom resolution - by Blackkatt - 2009-01-29, 18:46
-o - by rnwb - 2009-01-30, 04:28
RE: -o - by Empomi - 2012-11-13, 12:36
[No subject] - by Blackkatt - 2009-01-30, 11:24
[No subject] - by aussieburger - 2009-02-01, 12:47
[No subject] - by Blackkatt - 2009-02-01, 17:56
[No subject] - by Hasselstrom - 2009-02-12, 21:26
[No subject] - by Blackkatt - 2009-02-13, 10:34
[No subject] - by Hasselstrom - 2009-02-13, 12:57
[No subject] - by Blackkatt - 2009-02-13, 13:19
[No subject] - by Hasselstrom - 2009-02-13, 17:55
[No subject] - by Blackkatt - 2009-02-14, 14:13
[No subject] - by curtis-r - 2009-02-14, 19:26
SOLVED - kind of - by curtis-r - 2009-02-15, 00:50
[No subject] - by Blackkatt - 2009-02-15, 11:49
[No subject] - by curtis-r - 2009-02-16, 06:35
[No subject] - by Hasselstrom - 2009-02-23, 23:39
[No subject] - by PJ_Hooker - 2009-02-25, 23:23
[No subject] - by Blackkatt - 2009-03-10, 10:10
[No subject] - by logicalinsanity - 2009-03-14, 07:12
[No subject] - by Blackkatt - 2009-03-14, 11:22
[No subject] - by logicalinsanity - 2009-03-14, 17:25
[No subject] - by Blackkatt - 2009-03-15, 13:01
[No subject] - by gstreet - 2009-03-30, 14:25
[No subject] - by Blackkatt - 2009-03-31, 13:36
[No subject] - by Montellese - 2009-03-31, 22:11
[No subject] - by gstreet - 2009-04-01, 10:36
[No subject] - by Montellese - 2009-04-01, 19:08
[No subject] - by gstreet - 2009-04-01, 22:58
[No subject] - by Montellese - 2009-04-02, 08:47
[No subject] - by gstreet - 2009-04-02, 11:36
[No subject] - by Montellese - 2009-04-02, 12:02
[No subject] - by Montellese - 2009-04-02, 18:34
[No subject] - by Inaudible-Whisp - 2009-04-07, 20:53
[No subject] - by phoenx97 - 2009-04-08, 12:05
[No subject] - by uncola - 2009-04-09, 08:35
[No subject] - by linesma - 2009-04-12, 01:47
[No subject] - by deviat - 2009-04-14, 22:27
[No subject] - by curtis-r - 2009-04-14, 23:01
[No subject] - by gstreet - 2009-04-14, 23:44
[No subject] - by curtis-r - 2009-04-14, 23:47
[No subject] - by kakihara1 - 2009-04-15, 15:29
[No subject] - by gstreet - 2009-04-18, 16:50
[No subject] - by febox-pootz - 2009-04-24, 03:58
[No subject] - by Blackkatt - 2009-04-25, 10:50
[No subject] - by nmt1978 - 2009-05-09, 16:41
[No subject] - by Blackkatt - 2009-05-09, 17:44
[No subject] - by nmt1978 - 2009-05-09, 18:48
[No subject] - by Blackkatt - 2009-05-09, 20:54
[No subject] - by nmt1978 - 2009-05-10, 09:13
[No subject] - by cloverfield - 2009-05-13, 11:51
[No subject] - by spartacus51 - 2009-06-03, 06:35
[No subject] - by pettergulbra - 2009-06-12, 18:22
[No subject] - by spartacus51 - 2009-06-15, 23:36
[No subject] - by coreythemaggot - 2009-06-29, 19:55
Lag on Second monitor - by Homerjr43 - 2009-07-03, 16:29
[No subject] - by mason - 2009-07-07, 14:22
[No subject] - by billybanana - 2009-07-08, 14:16
[No subject] - by coreythemaggot - 2009-07-09, 18:29
[No subject] - by coreythemaggot - 2009-07-16, 19:57
[No subject] - by cmbx - 2009-08-04, 05:45
[No subject] - by Blackkatt - 2009-08-06, 21:04
[No subject] - by Blackkatt - 2009-08-06, 21:17
[No subject] - by coreythemaggot - 2009-08-09, 09:54
[No subject] - by Blackkatt - 2009-08-09, 17:11
[No subject] - by surge - 2009-08-13, 02:04
[No subject] - by Blackkatt - 2009-08-13, 08:53
[No subject] - by ghostnelson - 2009-08-20, 15:44
[No subject] - by Blackkatt - 2009-08-20, 20:22
[No subject] - by BigBlack - 2009-09-03, 04:12
[No subject] - by Rappakalja - 2009-09-13, 00:26
[No subject] - by lonchaney - 2009-09-28, 20:43
[No subject] - by OlafBerserker77 - 2009-10-13, 14:39
[No subject] - by lonchaney - 2009-10-17, 23:29
[No subject] - by Blackkatt - 2009-10-18, 09:19
[No subject] - by ettore1969 - 2009-10-18, 18:00
[No subject] - by Blackkatt - 2009-10-18, 20:56
[No subject] - by ettore1969 - 2009-10-19, 15:30
[No subject] - by Blackkatt - 2009-10-20, 09:12
[No subject] - by Halibutt - 2009-11-10, 22:24
[No subject] - by Trench - 2009-11-15, 22:28
[No subject] - by Halibutt - 2009-11-16, 04:36
[No subject] - by Trench - 2009-11-16, 10:43
[No subject] - by Halibutt - 2009-11-16, 14:12
[No subject] - by Trench - 2009-11-16, 19:46
[No subject] - by Halibutt - 2009-11-19, 18:55
[No subject] - by Trench - 2009-11-20, 12:03
[No subject] - by Joana10 - 2009-12-21, 11:27
Can't get this to work... - by Ricardocervera - 2010-01-06, 22:04
[No subject] - by Blackkatt - 2010-01-07, 09:58
[No subject] - by Dotan - 2010-01-13, 16:05
[No subject] - by Dotan - 2010-01-15, 11:03
[No subject] - by Dotan - 2010-01-26, 23:36
[No subject] - by ubuntuf4n - 2010-02-02, 20:58
[No subject] - by seba74 - 2010-05-21, 02:23
[No subject] - by Blackkatt - 2010-05-21, 09:17
[No subject] - by soldave - 2010-05-26, 15:24
[No subject] - by Blackkatt - 2010-05-26, 16:13
[No subject] - by CrystalP - 2010-06-14, 08:14
[No subject] - by Blackkatt - 2010-06-14, 09:17
[No subject] - by evlo - 2010-12-24, 23:59
very strange - by helicobacter - 2011-10-31, 21:29
[No subject] - by Blackkatt - 2011-10-31, 23:16
[No subject] - by helicobacter - 2011-11-01, 08:46
[No subject] - by Blackkatt - 2011-11-01, 11:44
[No subject] - by helicobacter - 2011-11-01, 12:21
[No subject] - by Blackkatt - 2011-11-01, 12:40
[No subject] - by dmitrixx - 2011-12-18, 17:14
[No subject] - by Stealth1 - 2012-01-09, 06:15
RE: [WINDOWS] HOW-T - by webtax - 2013-04-17, 04:33
help me - by tezz99 - 2013-04-22, 00:47
RE: help me - by Blackkatt - 2013-04-22, 08:29
RE: [WINDOWS] HOW-TO - by tdhz77 - 2013-04-24, 09:09
RE: [WINDOWS] HOW-TO - by Blackkatt - 2013-04-24, 09:25
Logout Mark Read Team Forum Stats Members Help
HOW-TO start XBMC in fullscreen on secondary monitor with custom resolution4