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:

Then install docker with the following lines as root:

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:

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 openproj.sh:

to

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

Now my login screen is silent =)