Debian Sid

# configure domU
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=sid
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:d1:1a:00:00:00
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=1Gb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=4Gb

# create domU
xen-create-image --hostname=${DOMAIN_NAME} \
--dist=sid --lvm=vg1 --size=${DOMAIN_HDD} --fs=ext4 \
--memory=${DOMAIN_RAM} --swap=${DOMAIN_RAM} \
--dhcp --mac=${DOMAIN_MAC} --genpass=0 --password=terceS \
--vcpus $(cat /proc/cpuinfo | grep processor | wc -l)

# rename vm config
mv /etc/xen/${DOMAIN_NAME}.cfg /etc/xen/${DOMAIN_NAME}

# OPTIONAL: add to autostart
ln -s /etc/xen/${DOMA

IPCop: Check / Update DDNS

<?php
$URL="http://dl.panticz.de/endian/checkddns";
echo "wget $URL -O /etc/cron.d/checkddns";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://dl.panticz.de/endian/checkddns.sh";
echo "wget $URL -O /sbin/checkddns.sh";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>
chmod u+x /sbin/checkddns.sh
/etc/init.d/fcron restart

HowTo: Compile Nautilus

Install compiled 64bit version
wget http://dl.panticz.de/nautilus/nautilus_3.2.1-0ubuntu3.1_amd64.deb
sudo dpkg -i /tmp/nautilus_3.2.1-0ubuntu3.1_amd64.deb
nautilus -q

Automatic installation script
<?php
$URL="http://dl.panticz.de/scripts/rebuild.nautilus.sh";
echo "wget $URL -O - | bash -";
echo "

";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $URL);
$result = curl_exec($ch);
curl_close($ch);
htmlspecialchars($result);
echo "

";
?>

Links
http://www.omgubuntu.co.uk/2011/12/how-to-move-nautilus-navigation-buttons-back-to-the-left
http://ubuntuforums.org/showthread.php?p=11501676#post11501676

Ubuntu Precise domU under Debian Dom0

# configure domU
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=precise
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:00:ab:cd:11:10
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=2Gb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=8Gb

# update bootstrap
http://www.panticz.de/update_debootstrap

# create vm
xen-create-image --hostname=${DOMAIN_NAME} \
--dist=oneiric --mirror=http://de.archive.ubuntu.com/ubuntu \
--lvm=vg1 --size=${DOMAIN_HDD} --fs=ext4 \
--memory=${DOMAIN_RAM} --swap=${DOMAIN_RAM} \
--dhcp --mac=${DOMAIN_MAC} --genpass=0 --password=terceS
#--pygrub

# rename vm config
mv /etc/xen/${DOMAIN_NAME}.cfg /etc/xen

Toshiba Tegra AC100

# https://github.com/nthchild/ubuntu-ac100

HowTo
https://wiki.ubuntu.com/ARM/TEGRA/AC100

install nvflash (broken, download and install manually)
http://developer.download.nvidia.com/assets/mobile/files/tegra-linux-12.alpha.1.0.tar.gz
wget https://phablet-paz00.googlecode.com/files/nvflash_20110628-2_all.deb -O /tmp/nvflash_20110628-2_all.deb
sudo dpkg -i /tmp/nvflash_20110628-2_all.deb

get bootrom
# wget http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/lubuntu-12.10-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg
# wget http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg
wget http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/pending/trusty-preinstalled-desktop-armhf+ac100.bootimg -O /tmp/ac100.bootimg

flash bootrom
# Connect the USB cable between your AC100 and the host PC
# Press CTRL and ESC keys and power on your AC100
sudo nvflash --bl /usr/lib/nvflash/fastboot.bin --download 6 /tmp/ac100.bootimg
# poweroff
# poweron

download image
sudo mount /dev/sdb1 /mnt

# wget http://cdimage.ubuntu.com/lubuntu/releases/quantal/release/lubuntu-12.10-preinstalled-desktop-armhf+ac100.tar.gz -P /mnt/
# wget http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-desktop-armhf+ac100.tar.gz -P /mnt/
wget http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/pending/trusty-preinstalled-desktop-armhf+ac100.tar.gz -O /tmp/trusty-preinstalled-desktop-armhf+ac100.tar.gz

sudo umount /mnt

# OPTIONAL configuration
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/hardware/ac100.postinstall.sh";
echo "wget $URL -O - | sudo bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Ubuntu images for AC100
http://cdimage.ubuntu.com/releases/11.10/release/
http://cdimage.ubuntu.com/releases/12.04/beta-2/
http://cdimage.ubuntu.com/daily-preinstalled/current/

Links
http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/current/
http://ac100.grandou.net/hw_accelerated_video_playback - Ubuntu 12.10 / 12.04 Nvidia graphic driver for Toshiba AC100
http://wiki.informatik.hu-berlin.de/nomads/index.php/Erfahrungsbericht_Toshiba_AC100#Nvidia_Grafiktreiber_f.C3.BCr_Tegra_2
http://ac100.grandou.net/
http://ac100.grandou.net/nvflash#debian_ubuntu_package - NvFlash
http://ac100.grandou.net/ubuntu_deubuntuization
http://developer.nvidia.com/content/linux-tegra-release-12-alpha-1-released
http://ac100.grandou.net/apps

Accelated Video
wget http://launchpadlibrarian.net/118260107/linux-image-3.1.10-6-ac100_3.1.10-6.9_armhf.deb
wget http://flie.no-ip.org:7080/ac100/deb/nvidia-tegra_16.1.0-0ubuntu3~fly2_armhf.deb
sudo dpkg -i linux-image-3.1.10-6-ac100_3.1.10-6.9_armhf.deb nvidia-tegra_16.1.0-0ubuntu3~fly2_armhf.deb

http://ac100.grandou.net/hw_accelerated_video_playback
nvgstplayer -i "file://$1" --svs="nvxvimagesink" --sas="nv_omx_audiosink"

Java Linux ARM v6/v7 VFP
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

# axis
http://ports.ubuntu.com/pool/multiverse/a/axe/axe_6.1.2-16.2_armhf.deb
http://ports.ubuntu.com/ubuntu-ports/pool/universe/t/tk8.6/tk8.6-lib_8.6.0-1ubuntu1_armhf.deb

# kali
http://cdimage.kali.org/kali-latest/armhf/

Lubuntu / LXDM enable autologin
/etc/lightdm/lightdm.conf.d/10-autologin.conf
[SeatDefaults]
autologin-user=USERNAME
autologin-user-timeout=0
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter

# old
sudo echo "deb http://people.debian.org/~jak/ac100/ unreleased main non-free" > /etc/apt/sources.list.d/people.debian.org.jak.ac100.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AC2A5FFE00823EC2
sudo apt-get update
sudo apt-get -y --force-yes install xserver-xorg-video-tegra

wget https://launchpad.net/~canonical-arm-dev/+archive/ppa/+build/2610299/+files/nvidia-tegra_12-0ubuntu1~alpha1monson6_armel.deb -O /tmp/nvidia-tegra_12-0ubuntu1~alpha1monson6_armel.deb
sudo dpkg -i /tmp/nvidia-tegra_12-0ubuntu1~alpha1monson6_armel.deb

Unity

# List installed schemas
gsettings list-schemas

# Watch for changes
gsettings monitor com.canonical.indicator.datetime

# View date and day in clock applet
gsettings set com.canonical.indicator.datetime show-day true
gsettings set com.canonical.indicator.datetime show-date true

# set nautilus list view
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'

sudo apt-get remove indicator-appmenu
sudo gconftool-2 --set /apps/compiz-1/plugins/unityshell/screen0/options/icon_size --type int 32
#dconf write /org/compiz/profiles/unity/plugins/unityshell/icon-

Install Chromium (Chrome clone)

Automatic installation script
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.chromium.sh";
echo "wget $URL -O - | bash -";
echo "

";

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $URL);
$result = curl_exec($ch);
curl_close($ch);
htmlspecialchars($result);

echo "

";
?>

# fix key?
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1397BC53640DB551

Add-ons
# Proxy SwitchyOmega
https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?hl=de

keyboard shortcut
https://www.die-tastenkombination.de/tastenkombinationen-fur-google-chrome.html