# Update
# -------------------------------------------------------
sudo aptitude update
sudo apt-get install python-software-properties pkg-config -y
# Now update
# -------------------------------------------------------
sudo aptitude update
# Install XBMC
# -------------------------------------------------------
sudo apt-get install xbmc xinit x11-xserver-utils -y
# Install XBMCLIVE
# -------------------------------------------------------
sudo apt-get install xbmc-live -y
# Configure VDR
# -------------------------------------------------------
## Stop VDR ##
sudo /etc/init.d/vdr stop
## VDR Management ##
sudo vim /etc/default/vdr
...
# /etc/default/vdr
#
# See also /usr/share/doc/vdr/README.Debian.gz
#
# Change to 1 to enable vdr's init-script
ENABLED=1
# Change this to 1 if you want vdr to be able to shutdown the
# computer
ENABLE_SHUTDOWN=0
# Options that will be passed to vdr's commandline
# for example: OPTIONS="-w 15"
OPTIONS="-w 60"
## Energy Management ##
sudo vim /etc/PolicyKit/PolicyKit.conf
...
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<match user="xbmc">
<return result="yes"/>
</match>
<define_admin_auth group="admin"/>
</config>
Add Custom Actions to PolicyKit
sudo update-grub