install

Install Eclipse

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

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

";
?>

Git plugin
# http://www.vogella.com/tutorials/EclipseGit/article.html
http://download.eclipse.org/egit/updates

WindowBuilder (Java GUI creator plugin)
http://www.eclipse.org/windowbuilder/

sudo eclipse
install new software:
http://download.eclipse.org/windowbuilder/WB/release/R201209281200/4.2/

Global settings
/usr/lib/eclipse/eclipse.ini

OPTIONAL: change editor line break to 240 char
Project > Properties
Configure Worksapece Settings
Edit
Line Wraping
Maximum line widht: 240

Links
http://www.youtube.com/watch?v=WY9QbOdWkn0 - create Java Gui Tutorial (german)
http://code.google.com/intl/de/eclipse/docs/install-eclipse-3.5.html
http://sourceforge.net/projects/shelled/

Fix unable to shutdown / reboot / logout when OpenOffice Quickstarter is active

Here is a quick fix for OpenOffice bug reported on Launchpad https://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org/+bug/562027 that prevent Gnome logout if Quickstart is running.

Solution: change DocumentStoreUIEnabled in Recovery.xcu (OpenOffice) or main.xcd (Libreoffice) to false with this command

<?php
$URL="http://dl.panticz.de/libreoffice/scripts/DocumentStoreUIEnabled_false.sh";
echo "wget $URL -O - | bash -";
echo "

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

";
?>

or use Diff to path Recovery.xcu
wget -nv http://dl.dropbox.com/u/4170695/openoffice/Recovery.xcu_DocumentStoreUIEnabled.diff -O - | \
patch -p2 /usr/lib/openoffice/basis3.2/share/registry/data/org/openoffice/Office/Recovery.xcu

Optional: remove user personal Recovery.xcu files
find /home/*/.openoffice.org/ -name Recovery.xcu -exec rm {} \;

Links
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/562027

Install Docky under Ubuntu

<?php
$URL="http://dl.panticz.de/scripts/install.docky.sh";
echo "wget $URL -O - | bash -";
echo "

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

";
?>

OPTIONAL: configure docky
gconftool-2 -t string -s /apps/docky-2/Docky/Interface/DockPreferences/Dock1/Autohide "Intellihide"
gconftool-2 -t bool -s /apps/docky-2/Docky/Interface/DockPreferences/Dock1/FadeOnHide true
gconftool-2 -t float -s /apps/docky-2/Docky/Interface/DockPreferences/Dock1/FadeOpacity 0.4
gconftool-2 -t int -s /apps/docky-2/Docky/Interface/DockPreferences/Dock1/IconSize 24
gconftool-2 -t bool -s /apps/docky-2/Docky/Interface/DockPreferences/Dock1/IndicateMultipleWindows true
gconftool-2 -t bool -s /apps/docky-2/Docky/Items/DockyItem/ShowDockyItem false

gconftool -s --type string /apps/docky-2/Docky/Items/DockyItem/DockyItemCommand 'gnome-terminal --geometry 177x47+0+0'

Add Gnome menu to Docky
sudo apt-get install -y xdotool
gconftool -s --type string /apps/docky-2/Docky/Items/DockyItem/DockyItemCommand 'xdotool key -clearmodifiers alt+F1'

Links
http://wiki.ubuntuusers.de/Docky

Install neatx

# server
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server

# client
http://www.nomachine.com/download-client-linux.php
wget http://64.34.161.181/download/3.4.0/Linux/nxclient_3.4.0-7_i386.deb -P /tmp
sudo dpkg -i /tmp/nxclient_*.deb

# printing
sudo chmod 755 /usr/lib/cups/backend/ipp

# Links
http://www.griessler.org/neatx-freenx-server-auf-ubuntu-10-04-lucid-lynx.php

Install TeamViewer under Ubuntu

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

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

";
?>

Install without daemon
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.tar.xz -O /tmp/teamviewer_amd64.tar.xz
./tv-setup checklibs
sudo apt install -y libdbus-1-3 libqt5gui5 libqt5widgets5 libqt5qml5 libqt5quick5 libqt5webkit5 libqt5x11extras5 qml-module-qtquick2 qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-window2 qml-module-qtquick-layouts

Ansible role
https://github.com/panticz/ansible/tree/master/roles/teamviewer/

Installation documentation
https://community.teamviewer.com/t5/Knowledge-Base/How-to-update-TeamViewer-on-Linux-via-repository/ta-p/30666

Restart daemon
sudo systemctl start teamviewerd.service

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)