Installation und Konfiguration

in aller Kürze:

Pakete:
add-apt-repository ppa:glennric/dolphin-emu
apt-get update
apt-get dist-upgrade
apt-get install vim openssh-server aptitude firefox lcdproc iotop bluetooth extremetuxracer scummvm dolphin-emu wminput wmgui lswm vainfo hddtemp rrdtool

 

Grafikkarte:
aticonfig --initial --nobackup
amdcccle

vi ~/.xbmc/userdata/advancedsettings.xml
<gputempcommand>export DISPLAY=:0; xhost + > /dev/null 2>&1; /usr/bin/aticonfig –od-gettemperature | grep Temperature | cut -f 2 -d „-“ | cut -f 1 -d „.“ | sed -e „s, ,,“ | sed ’s/$/ C/'<⁄gputempcommand>

export DISPLAY=:0; xhost + > /dev/null 2>&1; vainfo
mkdir -p /usr/lib/va/drivers/
cd /usr/lib/va/drivers/
ln -s /usr/lib/i386-linux-gnu/dri/xvba_drv_video.so .
export DISPLAY=:0; xhost + > /dev/null 2>&1; vainfo
service lightdm restart

 

Front-Display:
vi /etc/LCDd.conf
Driver=imon
ServerScreen=blank
Hello=““
Hello=““
GoodBye=““
GoodBye=““
[imon]
Device=/dev/lcd1

update-rc.d LCDd defaults

 

Systemoptimierung:
vi /etc/fstab
tmpfs /tmp tmpfs nosuid,size=2G 0 0

cd /var
rmdir tmp
ln -s /tmp tmp

vi /etc/hdparm.conf
/dev/sdb {
spindown_time = 240 # 20 min
}

vi /etc/auto.master
/media/mydata /etc/auto.data –timeout=300,defaults

blkid

vi /etc/auto.data
data -fstype=ext4 :UUID=79ec9ce2-9dcd-4b79-b883-3340628d032a

mkdir /media/mydata
rmdir /data
ln -s /media/mydata/data /data
service autofs restart

 

Wiimote:
vi /etc/cwiid/wminput/xbmc
Plugin.led.Led1 = 1
Wiimote.A = KEY_KPENTER
Wiimote.B = KEY_ESC
Wiimote.Home = KEY_SPACE
Wiimote.Up = KEY_UP
Wiimote.Down = KEY_DOWN
Wiimote.Left = KEY_LEFT
Wiimote.Right = KEY_RIGHT
Wiimote.Minus = KEY_R
Wiimote.Plus = KEY_F
Wiimote.1 = KEY_C
Wiimote.2 = KEY_I

vi /etc/environment
SDL_VIDEO_X11_DGAMOUSE=0

vi /home/scripte/start-wminput.bash
#!/bin/bash
sudo /usr/bin/wminput -d -c /etc/cwiid/wminput/xbmc &

vi /home/scripte/kill-wminput.bash
#!/bin/bash
sudo /usr/bin/killall wminput

vi /etc/sudoers
xbmc    ALL=NOPASSWD:/usr/bin/wminput *, /usr/bin/killall wminput

vi /etc/rc.local
/usr/bin/wminput -d -c /etc/cwiid/wminput/xbmc &

 

Dolphin-emu:
vi /home/scripte/dolphin-emu.bash
#!/bin/bash
sudo /usr/bin/killall wminput
openbox &
sleep 5
/usr/games/dolphin-emu -e „$1“ -b
killall -9 openbox

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert