Kodi Community Forum

Full Version: full screen on second monitor in 11.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Howdy all. I just switched over to the new distro and found that xbmc had been made available(ish) for it. I used to run into little problem when trying to watch xbmc on one monitor and do work on my main monitor which i found a little work around with a little script and booting xbmc into windowed mode. This script doesn't seem to be working in my new installation however and the windowed mode setting seem a little different? I was wondering if anyone had any insights...

here's the script...

#! /bin/bash

# Launch XBMC in windowed mode, then use wmctrl to remove the titlebar



# Select display 1

DISPLAY=:0.1



# Start XBMC without blocking this script

xbmc &



# Wait for the XBMC window to appear

status=0

while [ $status -eq 0 ]

do

sleep 1

status=`wmctrl -x -l | grep "XBMC Media Center" | wc -l | awk '{print $1}'`

done



# Force XBMC window to fullscreen

wmctrl -x -r XBMC Media Center.XBMC Media Center -b toggle,fullscreen