warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/ 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

# monitor
tail -f /var/log/

# OPTIONAL: configure /etc/apcupsd/apccontrol


Acrobat Reader

wget -O - | bash -


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

# 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

# disable Firefox PDF plugin

sudo add-apt-repository "deb $(lsb_release -sc) partner"
sudo apt-get -y install acroread-fonts

Install TeamViewer under Ubuntu

wget -O - | bash -



# 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

$ 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).

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


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 - Docky Unread Count (Thunderbird extension)


sudo apt-get install libidn11-dev libssl-dev
wget -P /tmp
tar xzf /tmp/skipfish-1.29b.tgz -C /tmp
cd /tmp/skipfish
cp dictionaries/default.wl /tmp/skipfish/skipfish.wl
/tmp/skipfish/skipfish -o /tmp/x

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


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

# add debian sid repository
cat < /etc/apt/sources.list.d/sid.list
deb sid main
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 -P /tmp

# on amd64
wget -P /tmp

LibreOffice / OpenOffice

wget -O - | 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/ ] || sudo ln -s /usr/lib/libreoffice/program/ /usr/lib/

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

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

# fix broken /
ln -s /usr/lib/libreoffice/program/ /usr/lib/

#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/ /usr/lib/

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

Links - Release Plan - Official downloads (deb)

Install lastest stable Firefox from PPA

wget -O - | 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

# 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

OPTIONAL: install flash
wget -O /tmp/install_flash_player.tar.gz
tar -xzf /tmp/install_flash_player.tar.gz -C /tmp
cp /tmp/ /usr/lib/firefox-addons/plugins/

OPTIONAL, install german language pack

Leo translate engine

Gmail Notifier


Install lastest stable Thunderbird

wget -O - | bash -


# 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

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

apt-get install xul-ext-lightning

# thunderbird
wget -P /tmp
sudo dpkg -i /tmp/thunderbird-mozilla-build_*_i386.deb

# thunderbird DE
wget -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


module name: {e2fda1a4-762b-4020-b5ad-a41df1933103}

# lighting on 64 bit

command line arguments

# shortcuts

### OLD

# german speel check

# Lightning for Thunderbird 3

# add german language
#wget -P /tmp
wget -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 - browser for sqlite files

Open winmail.dat in thunderbird
LookOut -

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


Syndicate content