Category Archives: Ubuntu 12.04

Install Docker in Ubuntu 12.04 Precise

First make sure you have the latest version and an actual kernel running. Execute theses commands as root:

apt-get update
apt-get dist-upgrade

Then install docker with the following lines as root:

apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb ubuntu-precise main" > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker*
apt-cache policy docker-engine
apt-get install docker-engine

After this docker should be up and running. Rry using “docker ps” as root or with sudo.

Office Communicator under Ubuntu 12.04

I recently managed to connect to office communicator under linux.
First I installed pidgin-sipe and configured my account. But something seemed to be wrong with the ssl communication. So I copied over all ssl certificates from pidgin:

cd ~/.purple/certificates/x509/tls_peers && sudo find . -type f -exec 
cp {} /etc/ssl/certs/{}.pem ;; sudo chmod a+r /etc/ssl/certs/*

Then I added “NSS_SSL_CBC_RANDOM_IV=0” (without quotes) into /etc/environment and restarted X by logging in and out.

OpenProj 1.4 with Oracle JDK

I tried to run openproj under ubuntu 12.04 with the latest jdk7 from oracle. Openproj complains that the java vendor should be sun instead of oracle. So simply use the zip or tar.gz version of openproj from sourceforge, extract the files and change the following line in

JAVA_OPTS="-Xms128m -Xmx768m"


JAVA_OPTS="-Djava.vendor=Sun -Xms128m -Xmx768m"

Then simply delete the .openproj folder in your homedir if you tried to start the program before. After that you should be able to run the program.

Menu Items have no icons in Ubuntu 12.04/gnome3

Some time ago I noticed that several programs have no icons in menus though they always had. I really didn’t like the lack of icons in eclipse so I was looking for a solution for this. I found two working solutions.

  1. Install dconf-tools and run dconf-editor to set two keys to true:
    • org.gnome.desktop.interface.menus-have-icons
    • org.gnome.desktop.interface.buttons-have-icons
  2. Install the gnome-tweak-tool and run it. You find the two points mentioned above under theme

After setting these keys to true all missing icons seem to be visible again. I don’t know why gnome removed them but I want to see them ;-)

Ubuntu 12.04 Window Borders

Window borders are very thin (1px) since ubuntu 11.10. So here is how to make borders clickable again. I use the Radiance theme, so the file to edit is /usr/share/themes/Radiance/metacity-1/metacity-theme-1.xml. There you have the values left_width, right_width and bottom_height all with the value 1. Just edit the value to let’s say 3px to make it clickable in higher resolutions. After changing the file you have to relogin.

Mute Ubuntu 12.04 Login Screen

I don’t want my login screen to beep. So I looked for a way to mute it. I couldn’t find a way to do this over a menu or another configuration. After looking a while I decided to move the soundfile away by the following command

sudo mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg 

Now my login screen is silent =)