Win HOW-TO start XBMC in fullscreen on secondary monitor with custom resolution
Hi,
on this page is described, how to select screen for XBMC without 3th party tools: http://davor.no-ip.com/blog/2011/07/10/s...rty-tools/. It is based on .BAT file and copying of predefined config file. Thanks to Davor Josipovic.

Here is copy of his instruction:
Quote:This is usually done by changing the default display with some tool (DisplaySwitch.exe, UltraMon,…) Here we simply use XBMC’s advanced settings and a simple batch file which will allow to select the startup options (in this case the screen), copy the corresponding advancedsettings.xml to the \userdata\ folder and start XBMC on the correct screen with custom properties.
For this we use XBMC in portable mode (with command line option –p), but it could also work without. Make this folder structure in your XBMC directory:portable_data\config\adv_settings


In adv_settings folder we put 2 files from which we will chose during startup:
Advancedsettings_monitor.xml:<advancedsettings>
<videoscreen>
<screenmode>WINDOW</screenmode>
</videoscreen>
<window>
<height>720</height>
<width>1280</width>
</window>
<input>
<enablemouse>false</enablemouse>
</input>
</advancedsettings>


Advancedsettings_tv.xml:<advancedsettings>
<videoscreen>
<screenmode>10128000720050.00000</screenmode>
</videoscreen>
</advancedsettings>


These values are taken from guisettings.xml in the \userdata\ folder. So it’s best you set up XBMC and take the settings you need from guisettings.xml and put them into advancedsettings.xml. Apparently, in my case 10128000720050.00000 corresponds to full screen on the TV.
Finally this simple batch file will let you choose between the two:@set batch_path=%~dp0

:: Choose Monitor-------------------------------------
@choice /C 12 /M "Start on TV[1], Monitor[2]?" /N /T 3 /D 1
@goto ANSWER%ERRORLEVEL%
::----------------------------------------------------

:ANSWER0
:ANSWER255
@GOTO ERROR

:ANSWER1
@copy "%batch_path%adv_settings\advancedsettings_tv.xml" "%batch_path%..\userdata\advancedsettings.xml" /Y
@IF ERRORLEVEL 1 GOTO ERROR
@GOTO exit

:ANSWER2
@copy "%batch_path%adv_settings\advancedsettings_monitor.xml" "%batch_path%..\userdata\advancedsettings.xml" /Y
@IF ERRORLEVEL 1 GOTO ERROR
@GOTO exit

:ERROR
@echo "Wrong batch execution... check batch"
@pause
@GOTO QUIT

:EXIT
@start /D "%batch_path%..\..\" XBMC.exe -p

:QUIT


Now all you need to do is run the batch file, type 1 or 2 and XBMC will start on the correct screen. It is also obvious that these advanced settings allow much more customization than is shown here.
Reply


Messages In This Thread
-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
Select screen for XBMC without 3th party tools - by tommer - 2014-07-16, 08:26


Logout Mark Read Team Forum Stats Members Help
HOW-TO start XBMC in fullscreen on secondary monitor with custom resolution4
This forum uses Lukasz Tkacz MyBB addons.