Boxee

From Hurlster Wiki
Jump to navigation Jump to search

Ubuntu minimal install

Install Ubuntu

Grab Ubuntu Minimal and Burn it to CD.

$ wget http://releases.ubuntu.com/maverick/ubuntu-10.10-alternate-i386.iso

Install it including SSH package

Potential easy install
http://hacktolive.org/wiki/Super_OS_repository

dpkg -i http://hacktolive.org/files/Super_OS_repo_0.3.2.deb

Install Sound

$ sudo apt-get install linux-sound-base alsa-base alsa-utils

After installing the sound utlities, the channels were muted.
Anything with MM is muted, change to 00

$ alsamixer

Save the audio volumes:

$ sudo alsactl store 0

Install Graphic Enviroment

$ sudo aptitude install xorg

Install Graphic Card Drivers:

ATI - https://help.ubuntu.com/community/BinaryDriverHowto/ATI
Nvidia - $ sudo apt-get install nvidia-glx-new

Configure Xorg

$ sudo nvidia-xconfig

xorg.conf for Nvidia and ATI card setup

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 270.41.06  (buildmeister@swio-display-x86-rhel47-08.nvidia.com)  Mon Apr 18 15:13:48 PDT 2011

Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
   Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
   # generated from default
   Identifier     "Mouse0"
   Driver         "mouse"
   Option         "Protocol" "auto"
   Option         "Device" "/dev/psaux"
   Option         "Emulate3Buttons" "no"
   Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   # generated from default
   Identifier     "Keyboard0"
   Driver         "kbd"
EndSection

Section "Monitor"
   # HorizSync source: edid, VertRefresh source: edid
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "NOR LM-965WA"
   HorizSync       30.0 - 83.0
   VertRefresh     50.0 - 76.0
   Option         "DPMS"
EndSection

Section "Monitor"
   # HorizSync source: edid, VertRefresh source: edid
   Identifier     "Monitor1"
   VendorName     "Unknown"
   ModelName      "SAMSUNG"
   HorizSync       26.0 - 68.0
   VertRefresh     23.0 - 60.0
   Option         "DPMS"
EndSection

Section "Device"
   Identifier     "Device0"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce GT 220"
   BusID          "PCI:1:0:0"
   Screen          0
EndSection

Section "Device"
   Identifier     "Device1"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce GT 220"
   BusID          "PCI:1:0:0"
   Screen          1
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "TwinView" "0"
   Option         "metamodes" "CRT: nvidia-auto-select +0+0"
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection

Section "Screen"
   Identifier     "Screen1"
   Device         "Device1"
   Monitor        "Monitor1"
   DefaultDepth    24
   Option         "TwinView" "0"
   Option         "metamodes" "DFP: nvidia-auto-select +0+0"
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection

Install Remote

This is LIRC

$ apt-get install lirc

If that errors out about modules for some reason, such as on Lucid, use:

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B33004BC 
deb http://ppa.launchpad.net/alexandr-surkov/test/ubuntu maverick main 
deb-src http://ppa.launchpad.net/alexandr-surkov/test/ubuntu maverick main

Install this file and restart app. This is for usage with Hauppauge PVR-250 remote.
Lircmap.xml

<lircmap>
-
<remote device="hauppauge_pvr">
<AspectRatio>Red</AspectRatio>
<enter>OK</enter>
<power>Power</power>
<BigStepBack>Replay</BigStepBack>
<BigStepForward>Skip</BigStepForward>
<up>Ch+</up>
<down>Ch-</down>
<left>Vol-</left>
<right>Vol+</right>
<volumeplus>Blue</volumeplus>
<volumeminus>Yellow</volumeminus>
<info>Green</info>
<select>Ok</select>
<mute>Mute</mute>
<pause>Pause</pause>
<stop>Stop</stop>
<play>Play</play>
<go>Go</go>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<back>Back/Exit</back>
<menu>Menu</menu>
<forward>Forward</forward>
<reverse>Rewind</reverse>
</remote>
</lircmap>

Build Dependancies

sudo apt-get install libglew1.5 liblzo2-2 libsdl-image1.2 libsdl-gfx1.2-4 libmad0 libtre5 libhal1 \
libhal-storage1 libmysqlclient16 libxmlrpc-c3 libdirectfb-1.2-9 xsel libenca0 libmms0 \
flashplugin-nonfree mysql-common flashplugin-installer libts-0.0-0 libxmlrpc-core-c3 tsconf

Get Boxee

Get latest software from http://www.boxee.tv, pay attention 32bit/64bit.

http://dl.boxee.tv/boxee-0.9.22.13692.x86_64.modfied.deb #as of 4/15/2011

Install Boxee

$ dpkg -i boxee-0.9.22.13692.x86_64.modfied.deb

Run IT!

$ /opt/boxee/run-boxee-desktop