install

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.

APC Back-UPS ES 700G under Ubuntu

# install
apt-get install -y apcupsd

# configure
sed -i 's|UPSCABLE smart|UPSCABLE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|UPSTYPE apcsmart|UPSTYPE usb|g' /etc/apcupsd/apcupsd.conf
sed -i 's|DEVICE /dev/ttyS0|DEVICE|g' /etc/apcupsd/apcupsd.conf
sed -i 's|ISCONFIGURED=no|ISCONFIGURED=yes|g' /etc/default/apcupsd

# start apcupsd demon
/etc/init.d/apcupsd start

# get status
apcaccess status

# configure
/etc/init.d/apcupsd stop
apctest

# monitor
tail -f /var/log/apcupsd.events

# OPTIONAL: configure /etc/apcupsd/apccontrol

# LINKS

Acrobat Reader

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

#!/bin/bash

# create debconf answer file
sudo debconf-set-selections <<\EOF
acroread acroread/default-viewer boolean false
EOF

# enable partner repository
sudo sed -i "s/# \(deb .* partner\)/\1/" /etc/apt/sources.list
sudo apt-get update -qq

# install acrobat reader
sudo apt-get install -y acroread

# set evince as default pdf viewer
sudo sed -i 's/application\/pdf.*$/application\/pdf=evince.desktop/g' /etc/gnome/defaults.list

# TODO
# disable Firefox PDF plugin

# OPTIONAL:
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
sudo apt-get -y install acroread-fonts

Install TeamViewer under Ubuntu

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

#!/bin/bash

URL=http://download.teamviewer.com/download/teamviewer_i386.deb

# add required 32 bit architecture on a 64 bit system
sudo dpkg --add-architecture i386

# install required applications
sudo apt-get install -y wget

# download teamviewer
wget -q ${URL} -O /tmp/teamviewer.deb

# install teamviewer
sudo apt install -y /tmp/teamviewer.deb

# clean up
rm /tmp/teamviewer.deb

Documentation
$ teamviewer help
teamviewer Start TeamViewer user interface (if not running).
teamviewer help Print this help screen.
teamviewer version Print version information.
teamviewer info Print version, status, id.
teamviewer ziplog Create a zip containing all teamviewer logs (useful when contacting support).
teamviewer license [show|accept] Interactively agree or show/agree to End User License Agreement.
teamviewer setup Configure headless modes (non-gui/console)
teamviewer passwd [PASSWD] Set a password (useful when installing remote (ssh).
teamviewer daemon status Show current status of the TeamViewer daemon.
teamviewer daemon start Start TeamViewer daemon.
teamviewer daemon stop Stop TeamViewer daemon.
teamviewer daemon restart Stop/Start TeamViewer daemon.
teamviewer daemon disable Disable TeamViewer daemon - don't start daemon on system startup.
teamviewer daemon enable Enable TeamViewer daemon - start daemon on system startup (default).

Uninstall
sudo apt-get purge *teamviewer*
rm -r ~/.config/teamviewer*
rm -r ~/.local/share/teamviewer*

Links
http://askubuntu.com/questions/267010/how-to-configure-teamviewer-so-it-does-not-load-unless-needed

Install docky, gnome-do, gnome-shell and zeitgeist

# install gnome-do
sudo add-apt-repository ppa:do-core/ppa
sudo apt-get update
sudo apt-get install gnome-do

# install zeitgeist
sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update
sudo aptitude install zeitgeist

# install gnome-shell
sudo add-apt-repository ppa:ricotz/testing
sudo apt-get install gnome-shell
gnome-shell --replace

# Links
http://wiki.go-docky.com/index.php?title=List_of_helpers
https://addons.mozilla.org/de/thunderbird/addon/72199 - Docky Unread Count (Thunderbird extension)

Skipfish

sudo apt-get install libidn11-dev libssl-dev
wget http://skipfish.googlecode.com/files/skipfish-1.29b.tgz -P /tmp
tar xzf /tmp/skipfish-1.29b.tgz -C /tmp
cd /tmp/skipfish
make
cp dictionaries/default.wl /tmp/skipfish/skipfish.wl
/tmp/skipfish/skipfish -o /tmp/x http://www.panticz.de

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

syslinux

echo 'APT::Cache-Limit "50331648";' >> /etc/apt/apt.conf

# add debian sid repository
cat < /etc/apt/sources.list.d/sid.list
deb http://ftp.de.debian.org/debian sid main
EOF
sudo apt-get update -qq

apt-get install -y --force-yes syslinux

rm /etc/apt/sources.list.d/sid.list
sudo apt-get update -qq

# on i386
wget http://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux-common_4.01+dfsg-1_all.deb -P /tmp

# on amd64
wget http://ftp.de.debian.org/debian/pool/main/s/syslinux/syslinux_3.86+dfsg-1_amd64.deb -P /tmp

LibreOffice / OpenOffice

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

#!/bin/bash

# add ppa repository
sudo add-apt-repository -y ppa:libreoffice/ppa
sudo apt-get update -qq

# install
sudo apt-get install -y libreoffice
sudo apt-get install -y libreoffice-gnome libreoffice-help-de libreoffice-l10n-de libreoffice-officebean libreoffice-java-common libreoffice-base
sudo apt-get install -y hunspell-de-de hunspell-en-us hyphen-de mythes-de

# remove unnecessary gnome menu entries
sed -i 's|Education;Science;||' /usr/share/applications/libreoffice-math.desktop

# fix libjpipe
[ -f /usr/lib/libjpipe.so ] || sudo ln -s /usr/lib/libreoffice/program/libjpipe.so /usr/lib/libjpipe.so

# do we need this?
#sudo apt-get install -y openoffice.org openoffice.org-style-human openoffice.org-java-common

Configure default paper size
echo "a4" > /etc/papersize

# fix broken libjpipe.so /
ln -s /usr/lib/libreoffice/program/libjpipe.so /usr/lib/libjpipe.so

#http://artfiles.org/documentfoundation.org/libreoffice/stable/5.0.1/deb/x86_64/LibreOffice_5.0.1_Linux_x86-64_deb.tar.gz
#dpkg -x libreoffice5.0-ure_5.0.1.2-2_amd64.deb /tmp/
#dpkg -i libreoffice5.0-ure_5.0.1.2-2_amd64.deb
#ln -sf /opt/libreoffice5.0/program/libjpipe.so /usr/lib/libjpipe.so

# optional, start LibreOffice quicksart to speedup
ln -s /usr/lib/libreoffice/share/xdg/qstart.desktop /etc/xdg/autostart/

Links
https://launchpad.net/~libreoffice/+archive/ppa?field.series_filter=oneiric
http://de.openoffice.org/downloads/quick.html?platform=ooo_beta
http://download.openoffice.org/680/index.html
http://tombuntu.com/index.php/2007/06/23/speed-up-openoffice/
http://wiki.documentfoundation.org/ReleasePlan/3.5 - Release Plan
http://download.documentfoundation.org/libreoffice/ - Official downloads (deb)

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

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"'

#lightning
apt-get install xul-ext-lightning

# thunderbird
wget http://ovh.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt/pool/main/t/thunderbird-mozilla-build/thunderbird-mozilla-build_3.1.3-0ubuntu1_i386.deb -P /tmp
sudo dpkg -i /tmp/thunderbird-mozilla-build_*_i386.deb

# thunderbird DE
wget http://mozilla.saudi.net.sa/thunderbird/releases/3.1.2/linux-i686/de/thunderbird-3.1.2.tar.bz2 -P /tmp
mv /usr/lib/thunderbird /usr/lib/thunderbird.old
tar xjf /tmp/thunderbird-3.1.2.tar.bz2 -C /usr/lib/
ln -sf /usr/lib/thunderbird/thunderbird /usr/bin/thunderbird
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
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

Syndicate content