linux

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Alien-arena

#!/bin/bash
 
sudo apt-get install -y alien-arena
 
# optional
sudo apt-get install -y alien-arena-browser
 
glxgears -fullscreen
 
# links
http://icculus.org/alienarena/rpa/index.html
http://console.planetquake.gamespy.com/commands/quake_2.html
http://icculus.org/alienarena/rpa/
http://quake.ingame.de/tutorials/131.php

Kino

# grab dv tape
apt-get install -y dvgrab
dvgrab -opendml -size 0 -autosplit -t
 
 
# install kino
sudo apt-get install kino ffmpeg
 
# fix export scripts
wget http://surfnet.dl.sourceforge.net/project/kino/kino/1.3.4/kino-1.3.4.tar.gz -P /tmp
tar xzf /home/pako/Desktop/kino-1.3.4.tar.gz -C /tmp
sudo mv /usr/share/kino/scripts/exports/ /usr/share/kino/scripts/exports.old
sudo mv /tmp/kino-1.3.4/scripts/exports/ /usr/share/kino/scripts/
 
# links
https://launchpad.net/ubuntu/+source/kino/+bugs

LXDE (Lightweight X11 Desktop Environment)

Autostart
/etc/xdg/lxsession/LXDE/autostart

Links
http://lxde.org/
http://wiki.lxde.org/de/LXPanel

Install fcpci (AVM Fritz Card PCI kernel module)

#!/bin/bash
 
# install capiutils
apt-get install -y capiutils
sed -i 's|#fcpci|fcpci|g' /etc/isdn/capi.conf
 
# install kernel module for AVM Fritz card PCI or compile: http://www.panticz.de/ubuntu_compile_fcpci
apt-get install wget
wget http://dl.dropbox.com/u/4170695/www/fcpci.tar.bz2 -P /tmp
tar xjf /tmp/fcpci.tar.bz2 -C /tmp/
/tmp/fcpci/install.sh
reboot
 
apt-get install -y asterisk asterisk-chan-capi
# do we need this?

Asterisk DomU

http://www.panticz.de/DomU-Debian-Wheezy
 
# hide your ISDN card in dom0 and reboot dom0
# sed -i 's|tty0|tty0 pciback.hide=(04:02.0)|g' /boot/grub/menu.lst
# reboot
 
# in domU
passwd
 
# install lspci
apt-get install -y pciutils
 
# OPTIONAL: Diva Server 4BRI-8M 2.0 PCI
http://www.panticz.de/node/342
 
 
 
# apt-get install -y linux-headers-$(uname -r) dpkg-dev
 
 
 
 
apt-get source linux-image-$(uname -r)
 
#cd /usr/src/
#tar xzf linux_2.6.24.orig.tar.gz
#ln -s /usr/src/linux-2.6.24.2/ /usr/src/linux
ln -s /usr/src/linux-$(uname -r)/ /usr/src/linux
 
#mv /etc/apt/sources.li

ATI / Medion X10 MD8800 remote controll

# disable ati_remote
echo "blacklist ati_remote" >> /etc/modprobe.d/blacklist

# update lircd config
wget http://lirc.sourceforge.net/remotes/atiusb/lircd.conf.atilibusb -O /usr/share/lirc/remotes/atiusb/lircd.conf.atilibusb

# reconfigure
sudo dpkg-reconfigure lirc
Remote control configuration: ATI/NVidia/X10 RF Remote (userspace)
IR transmitter, if present: None

# xbmc medion x10 double key can by fixed with ~/.xbmc/userdata/advancedsettings.xml

4

Download

Rsync SSH backup script

cat <<EOF> ~/privat/scripts/backup.ssh.sh
#!/bin/bash
 
nice -n 20 rsync -avze ssh --delete --exclude-from=/home/pako/.gvfs /home/pako pako@fs:/mnt/pakonb
EOF

ALSA

umount channels
amixer set Master 75 unmute
amixer set PCM 75 unmute
amixer set IEC958 100 unmute

# save settings
alsactl store

# test
aplay /usr/share/sounds/alsa/Noise.wav

Links
http://wiki.archlinux.org/index.php/ALSA_Einrichten

cpupowerd

#!/bin/bash
 
http://sourceforge.net/projects/cpupowerd
 
# load kernel modules
modprobe msr
modprobe powernow-k8
modprobe cpufreq_userspace
 
# get current cpu state
./cpupowerd -s
 
# create config
cat <<EOF > /etc/cpupowerd.conf
1000 0.8500
1800 1.1500
2000 1.1500
2200 1.2000 
EOF
 
# executable
http://dl.panticz.de/sts/cpupowerd.bz2
 
# test environment
http://dl.panticz.de/sts/cpupowerd_test.tar.bz2
 
# Links
http://aur.archlinux.org/packages/cpupowerd/cpupowerd/cpupowerd
http://www.meisterkuehler.de/forum/linux-unix/20124-cpupowerd-ein-tool-fuers-cpu-undervolten-unte
Syndicate content