Sunday, May 10, 2009

HOWTO install XBMC 9.04 on ubuntu 9.04 - Install

EDIT: Added Hardy as alternative.

Instruction on how to install PPA

Installation instruction

XBMC 9.04 for Ubuntu 9.04 (jaunty)

XBMC 9.04 For Ubuntu 8.04 (hardy)

Add key from terminal
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xa62016ec6944db21c7793b3a9f10e6ae9317790e

Hardy
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 91E7EE5E


Add source
sudo gedit /etc/apt/sources.list
deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main

deb http://ppa.launchpad.net/team-xbmc/hardy-ppa/ubuntu hardy main 


sudo apt-get update
sudo apt-get install xbmc
sudo apt-get install xbmc-standalone

Setup sound levels
alsamixer

Save Sound levels
sudo alsactl store



HOWTO install XBMC 9.04 on ubuntu 9.04 - Preparation

Install Ubuntu 9.04

user/ pwd xbmc/xbmc
autologin


Install all updates


Install and config remote control


sudo apt-get install ubuntu-restricted-extras

Tuesday, May 5, 2009

HOWTO Fix for Live CD persistent USB boot ubuntu / xubuntu 8.04

DOES NOT WORK ON 8.04

There is a problem with the Live CD persistent USB BOOT in ubuntu 8.04  (and earlier)
It is supposed to be fixed in ubuntu-8.04.3 but the available version is ubuntu-8.04.2.

The problem is in the default initrd.gz
Bugg report https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192

I found the solution here 
http://ubuntuforums.org/showthread.php?t=1073838

sudu  cp /usr/share/initramfs-tools/scripts/casper /usr/share/initramfs-tools/scripts/casper_org

sudo  /usr/share/initramfs-tools/scripts/casper
Delete section   ",mode=755"

AND
sudo cp /usr/share/initramfs-tools/init  /usr/share/initramfs-tools/init_org

sudo  /usr/share/initramfs-tools/init 

Add text in bold

break)
break=premount
;;

persistent)
PERSISTENT=yes
root_persistence=casper-rw
home_persistence=home-rw
;;

esac

I am testing this on xubuntu

Saturday, May 2, 2009

policy instead of sudoers?

I have to look into this again

sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions