2011-05-04, 10:14
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
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