ubuntu

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.

Terratec Cinergy T USB XXS

# install firmware für dvbt (/lib/firmware/dvb-usb-dib0700-1.20.fw)
sudo apt-get install linux-firmware
sudo apt-get install kaffeine
sudo apt-get install libxine1-plugins libxine1-all-plugins

# Links
http://kuparinen.org/martti/comp/ubuntu/en/terratecxxs.html
http://forum.xbmc.org/showthread.php?t=51945&highlight=dvb-t

Install lastest stable Firefox from PPA

wget https://raw.githubusercontent.com/panticz/installit/master/install.firefox.sh -O - | bash -

#!/bin/bash

# add repository if necessary
RELEASE=$(lsb_release -rs | tr -d ".")
if [ ${RELEASE} -le 1104 ]; then
  sudo add-apt-repository -y ppa:mozillateam/firefox-stable
  sudo apt-get update -qq
fi

# install firefox
sudo apt-get install -y firefox

# install language packs
sudo apt-get install -y firefox-locale-de firefox-locale-en

Global Firefox extensions folder
/usr/lib/thunderbird-addons/extensions/

OPTIONAL: install flash
wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.233/install_flash_player_11_linux.x86_64.tar.gz -O /tmp/install_flash_player.tar.gz
tar -xzf /tmp/install_flash_player.tar.gz -C /tmp
cp /tmp/libflashplayer.so /usr/lib/firefox-addons/plugins/

OPTIONAL, install german language pack
http://www.gtlib.gatech.edu/pub/mozilla.org/firefox/releases/3.6/linux-i686/xpi/de.xpi

Leo translate engine
http://dict.leo.org/pages.ende/toolbars_de.html

Gmail Notifier
http://www.nuko.org:4649/addons/temp/gmail_notifier-0.6.4.3.privateBuild1-fx.xpi

Links
http://www.daniel-ritter.de/blog/ubuntuzilla-immer-die-aktuelle-firefox-und-thunderbirdversion-unter-ubuntu

Install lastest stable Thunderbird

Installation
wget https://raw.githubusercontent.com/panticz/installit/master/install.thunderbird.sh -O - | bash -

#!/bin/bash

# TODO:
# install german spell check

# add repository if necessary
RELEASE=$(lsb_release -rs | tr -d ".")
if [ ${RELEASE} -le 1104 ]; then
  sudo add-apt-repository -y ppa:mozillateam/thunderbird-stable
  sudo apt-get update -qq
fi

# install thunderbird
sudo apt-get install -y thunderbird

# install language packs
sudo apt-get install -y thunderbird-locale-de thunderbird-locale-en hunspell-de-de hunspell-en-us

# do we need this?
#sudo apt-get install -y thunderbird-gnome-support

# install lightning
sudo apt-get install -y xul-ext-lightning

# set thunderbird as default email client
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ -t string -s /desktop/gnome/url-handlers/mailto/command 'thunderbird "%s"'

Releases
https://www.thunderbird.net/en-US/thunderbird/releases/

Extensions
mv /usr/lib/thunderbird.old/extensions/* /usr/lib/extensions/

german language
http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.1/linux-i686/xpi/de.xpi

Filter
~/.thunderbird/*.default/ImapMail/*/msgFilterRules.dat

Lightning (calender support)
apt-get install xul-ext-lightning
module name: {e2fda1a4-762b-4020-b5ad-a41df1933103}
https://addons.mozilla.org/de/thunderbird/addon/lightning/versions/
http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/linux-i686/lightning.xpi

# lighting on 64 bit
https://help.ubuntu.com/community/ThunderbirdLightning
wget http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2rc3/contrib/linux-x86_64/lightning.xpi

command line arguments
http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29

# shortcuts
https://www.thunderbird-mail.de/wiki/Kurzbefehle

### OLD

# german speel check
https://addons.mozilla.org/de/thunderbird/addon/9361

# Lightning for Thunderbird 3
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/linux-xpi/
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-comm-1.9.1/linux-xpi/lightning.xpi
https://addons.mozilla.org/de/thunderbird/downloads/file/75390/xpi/lightning-1.0b1-tb+sm-linux.xpi?src=addondetail

# add german language
#wget http://mozmirror01.true.nl/pub/mozilla.org//thunderbird/releases/3.0/linux-i686/de/thunderbird-3.0.tar.bz2 -P /tmp
wget ftp://ftp.mozilla.org/pub/thunderbird/releases/latest-3.1/linux-i686/de/thunderbird-3.1.2.tar.bz2 -P /tmp
tar xjf /tmp/thunderbird*.tar.bz2 -C /tmp
#cp /tmp/thunderbird/chrome/de.jar /usr/lib/thunderbird-3.0.1pre/chrome/
cp /tmp/thunderbird/chrome/de.* /usr/lib/thunderbird-3.1.1/chrome/

# calender file
local.sqlite
http://sqlitebrowser.sourceforge.net/ - browser for sqlite files

Open winmail.dat in thunderbird
LookOut - https://addons.mozilla.org/en-US/thunderbird/addons/policy/0/4433/33018

Send Email from command line
FILE=/tmp/file-$(date +'%Y%m%dT%H%M%S').json
thunderbird -compose "to='foo@example.com',cc='bar@example.com',subject='my_subject',body='my_text',attachment=${FILE}"

Links
http://egon.resonar.de/2010/07/20/thunderbird-3-1-1-ppa-fuer-ubuntu-maverick-lucid-karmic-jaunty-hardy/
ftp://ftp.mozilla.org/pub/thunderbird/releases/3.0b2/linux-i686/de/
https://wiki.mozilla.org/Thunderbird:Thunderbird3

Preseed Debian / Ubuntu installation

Pressed on GitHub
https://github.com/panticz/preseed

pressed install under kvm
wget https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/cre... -O - | bash -

wget -q http://dl.panticz.de/preseed/UbuntuNetInstall.iso -O /tmp/UbuntuNetInstall.iso
kvm -m 512 -hda /dev/sda -cdrom /tmp/UbuntuNetInstall.iso -boot d

Install UPnP server
http://dl.dropbox.com/u/4170695/preseed/preseed.upnp.seed

Preseed auto RAID1 LVM

DataLogic QuickScan QS6500 with Ubuntu as USB Keyboard

download configuration codes
https://easeofaccess.scanning.datalogic.com/public/marketlit/Send.aspx?file=R44-2816A

reset to factory default (Page 3)
scan: Return handheld to factory defaults

configure as USB Keyboard
Interface Selection (Page 30 / 33)
scan: START
scan: USB Keyboard
scan: END

OPTIONAL, configure Keyboard Layout (Page 53 / 54)

Ubuntu LiveCD quick tweaks

GoTo: Applications > Accessories > Terminal

SSH server
sudo apt-get install -y openssh-server
echo root:t00r | sudo chpasswd
ifconfig | grep Bcast | cut -d':' -f2 | cut -d' ' -f1

Adobe Flash
#wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.deb -P /tmp && \
#sudo dpkg -i /tmp/install_flash_player_10_linux.deb
sudo add-apt-repository ppa:sevenmachines/flash
sudo apt-get update
sudo apt-get install flashplugin64-installer

Skype

Install Fax client for Hylafax (YajHFC)

wget https://raw.githubusercontent.com/panticz/installit/master/install.yajhfc.sh -O - | bash -

#!/bin/bash

# add repository
sudo apt-add-repository "deb http://download.yajhfc.de/repository/apt/ stable/"
 
# add repository key
wget -q http://download.yajhfc.de/JonasWolz.pub -O - | sudo apt-key add -
 
# update repository list
sudo apt-get update -qq
 
# install yajhfc
sudo apt-get install -y yajhfc yajhfc-faxprinter

# install apps
sudo apt-get install -y libtiff-tools gs

# fix installation
sudo apt-get install -f

# disable autostart
sudo mv /etc/xdg/autostart/yajhfc-autostart.desktop /etc/xdg/autostart/yajhfc-autostart.desktop.disabled

# rename menu entry
sudo sed -i 's|YajHFC|FAX Client|g' /usr/share/applications/yajhfc.desktop

# TODO: rename YajHFC printer to FAX

# OPTIONAL, set evince as default fax viewer
sed -i 's|gnome-open|evince|g' ~/.yajhfc/settings

Links
http://www.yajhfc.de/
http://wiki.xtronics.com/index.php/Faxfrontend
http://www.yajhfc.de/downloads/deb-packages
http://developer.berlios.de/forum/forum.php?forum_id=34299

Ubuntu repository list

## Main
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted universe multiverse

## Updates
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse

## Backports
deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Proposed

upstart

cat <<EOF> /etc/init/cdromrun.conf
start on started tty1
#start on runlevel 2
stop on runlevel [!2]
 
console output
 
script
   [ -f /cdrom/run ] && exec /cdrom/run
end script
EOF
 
# Links
http://upstart.ubuntu.com/cookbook/
http://upstart.ubuntu.com/getting-started.html
http://wiki.frugalware.org/index.php/Upstart_Job_HOWTO

SheevaPlug HDD susped with hdparm (Hard drive sleep mode)

sudo apt-get install -y hdparm
 
cat <<EOF>> /etc/hdparm.conf
/dev/sda {
   spindown_time = 240
}
EOF
Syndicate content