agentlame
August 23rd, 2008, 08:44 PM
*THIS IS A COMPLETE HACK*
in fullscreen mode, boxee locks the mouse/keyboard to it's window.
as a result, you can not launch boxee fullscreen on one monitor, and still use your mouse/keyboard on another. :(
this is an issue with the sdl frameword that boxee/xbmc are based on, and not something that is easily fixed the those teams.
so here's what you can do:
1. install wmctrl.
click here (apt://wmctrl) on ubuntu.
2. configure boxee to launch in windowed mode.
in boxee: Settings > Appearance > Screen > Resolution.
set it to anything that ends in: "(Window)"
3. use wmctrl to make boxee fullscreen.
wmctrl -x -r Boxee.Boxee -b toggle,fullscreen
BAM! fullscreen boxee, completely usable mouse/keyboard.
now, this is all fine and good, but I want to launch boxee like this.
here is a simple shell script:
#! /bin/bash
STATUS=0
WINCLASS=Boxee.Boxee
DISPLAY=:0.1
SLEEPDELAY=1
/usr/boxee/run-boxee-desktop "$@" &
while [ $STATUS -eq 0 ]
do
sleep $SLEEPDELAY
STATUS=`wmctrl -x -l | grep $WINCLASS | wc -l | awk '{print $1}'`
done
wmctrl -x -r $WINCLASS -b toggle,fullscreen
save this as ~/bin/launch-boxee
then run this command:
chmod +x ~/bin/launch-boxee
-------------------------------------------------------------------------------------------------------------------
note: set "DISPLAY" to whichever display you want boxee to run on.
note: you may need to adjust "SLEEPDELAY" to be longer or shorter, depending on your system.
confession: i suck at scripting, so if i did something dumb, lemme know.
in fullscreen mode, boxee locks the mouse/keyboard to it's window.
as a result, you can not launch boxee fullscreen on one monitor, and still use your mouse/keyboard on another. :(
this is an issue with the sdl frameword that boxee/xbmc are based on, and not something that is easily fixed the those teams.
so here's what you can do:
1. install wmctrl.
click here (apt://wmctrl) on ubuntu.
2. configure boxee to launch in windowed mode.
in boxee: Settings > Appearance > Screen > Resolution.
set it to anything that ends in: "(Window)"
3. use wmctrl to make boxee fullscreen.
wmctrl -x -r Boxee.Boxee -b toggle,fullscreen
BAM! fullscreen boxee, completely usable mouse/keyboard.
now, this is all fine and good, but I want to launch boxee like this.
here is a simple shell script:
#! /bin/bash
STATUS=0
WINCLASS=Boxee.Boxee
DISPLAY=:0.1
SLEEPDELAY=1
/usr/boxee/run-boxee-desktop "$@" &
while [ $STATUS -eq 0 ]
do
sleep $SLEEPDELAY
STATUS=`wmctrl -x -l | grep $WINCLASS | wc -l | awk '{print $1}'`
done
wmctrl -x -r $WINCLASS -b toggle,fullscreen
save this as ~/bin/launch-boxee
then run this command:
chmod +x ~/bin/launch-boxee
-------------------------------------------------------------------------------------------------------------------
note: set "DISPLAY" to whichever display you want boxee to run on.
note: you may need to adjust "SLEEPDELAY" to be longer or shorter, depending on your system.
confession: i suck at scripting, so if i did something dumb, lemme know.