On Tue, Aug 9, 2011 at 4:11 PM, Evan Hisey <ehi...@gmail.com> wrote:
>
> Using the FXD is lot simpler than the approach I was going to take. I
> use freevo as the desktop on mine. May have to change ow that I think
> about. hulu would need a window manager.
>
> Evan
>

I installed ratpoison (apt-get install ratpoison on ubuntu) and then
added this to /etc/ratpoisonrc

#start config
msgwait 1
startup_message off
defborder 0
set padding 0 0 0 0
set bgcolor black
set bargravity southwest
exec xset -dpms
exec xset s off
exec xsetroot -display :0 -solid "#000000"
exec xsetroot -cursor_name left_ptr

#end config

Basically, I turn off the start up message, make it fill the screen,
set the background color black in case hulu desktop doesn't completely
fill the screen for some reason and turn the screen saver off.

Then, in my freevo local_conf.py I added the following:

COMMAND_SPAWN_WM = '/usr/bin/ratpoison &'
COMMAND_KILL_WM = 'killall ratpoison'

With the <spawnwm /> in the FXD file, it will start ratpoison, set my
config settings load hulu desktop.  Then when I exit hulu desktop
(from the hulu menu) it closes ratpoison and takes me back to freevo
(the freevo screen saver comes back as well).

I have also created similar FXD files that load the video pages of
websites in Chrome.  For example, my daughter likes Special Agent Oso
on Disney Jr., so I have a FXD file like this:

<?xml version="1.0" ?>
<freevo>
    <command title="Playhouse Disney">
        <cmd>/usr/bin/google-chrome
--app=http://disney.go.com/disneyjunior/special-agent-oso/special-agent-oso-videos-episodes</cmd>
        <nostdout />
        <stoposd />
        <spawnwm />
        <info>
            <content>Playhouse disney videos</content>
        </info>
    </command>
</freevo>

which loads the Agent Oso video page.  It is a little bit of a pain to
use my "remote mouse" (I have a Harmony 300 with one of the functions
set as a Media Center remote with the number keys at the bottom
emulating a mouse) to click the video to start, but once it does, I
make it full screen and we can watch it.

As one other note, as I mentioned before, Hulu seems to take a lot of
processing power.  For some reason, no matter what governor I picked,
it seemed that my CPU wouldn't scale up to its max speed when Hulu was
running, leading to jumpy playback.  I created a simple script file
with the following:

cpufreq-set -c 0 -f 3.0GHz
cpufreq-set -c 1 -f 3.0GHz
/usr/bin/huludesktop
cpufreq-set -c 0 -f 1.0GHz
cpufreq-set -c 1 -f 1.0GHz

Called it starthulu, made it executable, and put it in /usr/bin.  I
then set my FXD to use this script instead.  Basically, it sets each
of the cores of my CPU to their max speed (3.0 GHZ), starts Hulu, and
then turns them back down to their min speed when I exit from Hulu.
You might not need that, but I thought I would share in case it might
help.

Preston

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to