November 28, 2011
After upgrading the Ubuntu install on my laptop from Natty to Oneiric my VMWare Player failed to start. It gave a error about not being able to compile the wmmon module. The compile process reported errors like:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:783:59: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
The fix was to repeat the official installation instructions. No need to remove the old one first. This upped the major version number in the progress.
Tags: natty, oneiric, player, SPIN_LOCK_UNLOCKED, ubuntu, upgrade, vmware, wmmon
Posted in Uncategorized | Leave a Comment »
July 16, 2011
You can’t. Facebook doesn’t support editing of groups in their jabber implementation. The trick then becomes to assign groups through facebook.
This is done by logging into facebook and choosing ‘Edit Friends’ from the ‘Account’ drop-down menu. The process is first to create the groups (lists in facebook-lingo) and then to assign contacts (friends in facebook-lingo) to them.
Tags: contact groups, contacts, empathy, facebook, friends, group, Jabber, list
Posted in Uncategorized | Leave a Comment »
July 14, 2011
You wrote the wrong description for the last commit and it annoys you. What to do?
git commit --amend -m "The correct description"
This will modify the history. Further discussion here.
Tags: amend, commit, commit message, description, git, history, last commit, message
Posted in Uncategorized | Leave a Comment »
June 26, 2011
Binary drivers tend to be build against a specific kernel. When the kernel is updated the driver will break if not rebuild. Ubuntu has a mechanism for dealing with this, but it depends on the linux-headers-generic package being installed:
sudo apt-get install linux-headers-generic
Specific drivers may need a few hints to realize that they should rebuild (normally done at boot-time). This page covers the specifics for the proprietary nvidia driver.
Tags: driver, kernel, linux-headers-generic, nvidia, proprietary, rebuild, ubuntu, update
Posted in Uncategorized | Leave a Comment »
June 20, 2011
Installed Natty Narwhal (Ubuntu 11.04) and quickly became annoyed with the new ‘unity’ interface. The old ‘classical gnome’ option worked fine, but I decided to try installing Gnome 3 from PPA.
I ended up with some fallback theme. With some inspiration I managed to fix it using
sudo apt-get remove gnome-accessibility-themes gnome-accessibility-themes-extras
sudo apt-get install gnome-themes-standard
and then choosing the ‘Adwaita’ theme.
Tags: 11.04, adwaita, gnome 3, natty, natty narwhal, ppa, theme, ubuntu, unity
Posted in Uncategorized | 1 Comment »
February 14, 2011
This thread describes how to do skype chatting in empathy.
The steps to follow – for ubuntu users at least – are:
- Install skype: see link.
- Install pidgin-skype: sudo apt-get install pidgin-skype
- Start skype.
- Go to empathy’s account manager and add a bigbrownchunx-skype-dbus account for your skype identity.
Tags: bigbrownchunx-skype-dbus, empathy, pidgin, pidgin-skype, skype
Posted in Uncategorized | Leave a Comment »
December 30, 2010
The version of python-rpy and r-base-core does not match in the current Ubuntu. A workaround is suggested via the relevant ubuntu bug entry: Pull python-rpy from ppa:bigmadwolf/misc instead.
Tags: 10.10, 667795, bug, fix, Maverick, python-rpy, r-base-core, ubuntu, workaround
Posted in Uncategorized | Leave a Comment »
October 27, 2010
A bug in upgraded Ubuntu 10.10 (Maverick Meerkat) installations has caused the boinc manager to lose its menubar. As a result the option to control the execution policy is gone.
The same control is available through the commandline,
boinccmd --set_run_mode always
for starting and
boinccmd --set_run_mode never
for stopping.
Tags: 10.10, boinc, boinc manager, boinccmd, Maverick, Maverick Meerkat, menu, menubar, ubuntu
Posted in Uncategorized | Leave a Comment »
October 25, 2010
For statistics regarding the progress of World Community Grid team DIKU, follow this link
Tags: DIKU, statistics, wcg, world community grid
Posted in Uncategorized | Leave a Comment »
October 13, 2010
An update to Maverick Meerkat disabled sound on my laptop (a 13″ mbp7,1). I got it working again by following this guide, which states that:
-
Add to the end of /etc/modprobe.d/alsa-base.conf the following line:
options snd-hda-intel model=mbp55
The file can be opened by running: gksudo gedit /etc/modprobe.d/alsa-base.conf
- Save the file and reboot the computer
Tags: 10.10, alsa-base.conf, audio, Macbook Pro, Maverick Meerkat, mbp7, snd-hda-intel, sound, ubuntu
Posted in Uncategorized | 1 Comment »
October 12, 2010
After updating to Ubuntu 10.10 – the Maverick Meerkat – I discovered, that I had lost the touchpad preferences on my Macbook Pro 13″ (mbp7,1). A quick-google revealed this post, describing the solution:
- Install the driver: sudo apt-get install xserver-xorg-input-synaptics
- Log out and then back in
- Open System>Preferences>Mouse and go to the Touchpad tab
Tags: 1, 10.10, Macbook Pro, Maverick Meerkat, mbp7, preferences, synaptics, touchpad, ubuntu
Posted in Uncategorized | Leave a Comment »
April 27, 2010
I started a research-related blog within the domain of ITU.
The topic is Efficient Data Systems.
Tags: blog, effdas, Efficient Data Systems, IT University, ITU
Posted in Uncategorized | Leave a Comment »
April 6, 2010
The tos-check-env command does a primitive, but useful, sanity check of the environment.
It displays a warning about graphviz (dot) not being version 1.10, but honestly 1.10 is from 2004 and most likely pretty hard to install by now.
Tags: dot, graphviz, tinyos, tos-check-env
Posted in Uncategorized | Leave a Comment »
March 13, 2010
Never mind the product when the review itself is this interesting.
Tags: Carl Zeiss Makro-Planar T* 2/100 ZF, Das Keyboard Professional, gonzo, reviews, zeiss
Posted in Uncategorized | Leave a Comment »
February 12, 2010
Earlier attempts at connecting Empathy (under Ubuntu) to the facebook chat have proven short-termed[1,2].
In a bizarre twist of fate, the people at Facebook have put on their white hats and done the right thing by exposing their chat functionality under the banner of XMPP/Jabber. There is an official guide with step-by-step instructions for a few specific clients and the general information needed to connect any other client.
There also exists a step-by-step guide for Empathy. Do note, that when adding the account, you want to “Reuse an existing account”, and not “Create a new account”.
I might come up with some cleaner instructions …
Tags: empathy, facebook, Facebook Chat, Jabber, ubuntu, XMPP
Posted in Uncategorized | 2 Comments »
February 5, 2010
This is the master reference.
- Blender – a 3D content creation suite
- GNOME 3 – a desktop environment
- GnuPlot – a graphing utility
- LaTeX – a high-quality typesetting system
- Perl – the swiss army chainsaw of programming languages
- Python – a scripting language with a rather flat learning curve
To be updated …
Tags: Blender, gnome 3, gnome3, Gnuplot, latex, perl, Python, reference, references
Posted in Uncategorized | Leave a Comment »
November 28, 2009
Tags: Beamer, Beamer Theme Matrix, Blender, latex, presentations, reference, references, scribtex, Sketch, TeXample, textab, theme, wikibooks
Posted in Uncategorized | 2 Comments »
November 28, 2009
Tags: Considered Harmful, Dive Into Python, introduction, introduktion, multiprocessing, print, pySerial, Python, Python 3, reference, references, super, threading, threads
Posted in Uncategorized | 1 Comment »
November 20, 2009
I recently experienced a minor run-in with dpkg-deb. My system tells me, that
$ uname -a
Linux hoazin 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux
which seems to indicate that the Architecture field of the DEBIAN/control file should read ‘i686‘. Doing this results in the error:
deb Error: Wrong architecture 'i686'
Dismembering official packages reveals ‘i386‘ as the correct value.
Tags: architecture, deb, DEBIAN/control, dpkg-deb, i386, i686, packages, wrong architecture
Posted in Uncategorized | Leave a Comment »
November 13, 2009
The way Rossum Corporation describes themselves is quite scary. Could their internship qualifications sound any shadier?
“New for 2008, the Rossum Corporation offers exclusive 5-year paid internships for candidates of superior genetic disposition. Contact a Rossum Human Recruitment office near you for more details.”
Tags: Dollhouse, internship, Rossum, Rossum Corporation
Posted in Uncategorized | Leave a Comment »
November 8, 2009
or checking out a specific commit.
First, one has to locate the hash of the commit. This can be done by:
- Scanning the log by running “git log” (press q to quit). Look for lines labeled commit.
-
Scanning the log in giggle. Look for the SHA-line. Example:
In this case our hash is 7f8d2051582dd030e3c07ded70010af033461e31.
Then, come up with a name for a branch to refer the this specific revision. For this example we will use old-branch.
Last, set up the branch by running:
git checkout -b old-branch 7f8d2051582dd030e3c07ded70010af033461e31
Syntax: The general syntax is: “git checkout -b BRANCHNAME HASH“
Tags: checkout, commit, giggle, git, git checkout, git log, hash, old revision, revision, sha, timetravel
Posted in Uncategorized | Leave a Comment »
November 5, 2009
Since installing Karmic on my laptop, it has consistently failed to connect to the World Community Grid server.
Symptoms: When going the the ‘Messages’ tab of the ‘Advanced View’, one is greeted by lines of the form:
2009-11-05T12:56:47 CET|World Community Grid|Sending scheduler request: Project initialization. Requesting 1 seconds of work, reporting 0 completed tasks
2009-11-05T12:56:50 CET||Project communication failed: attempting access to reference site
2009-11-05T12:56:52 CET|World Community Grid|Scheduler request failed: Peer certificate cannot be authenticated with known CA certificates
2009-11-05T12:56:53 CET||Internet access OK - project servers may be temporarily down.
Solution: After some googling I came across this page, which basically gives a simple workaround:
sudo su
cd /var/lib/boinc-client
mv ca-bundle.crt ca-bundle.crt.backup
wget http://boinc.berkeley.edu/trac/export/16195/trunk/boinc/curl/ca-bundle.crt
I’m not convinced that it will survive an update though.
Tags: boinc, CA certificate, ca-bundle.crt, cannot be authenticated, karmic, Karmic Koala, project communication failed, ubuntu, world community grid
Posted in Uncategorized | Leave a Comment »
November 1, 2009
From time to time one needs to measure stuff on the desktop. You might – for instance – want to know whether some region of an image will fit nicely into some part of a webpage.
In ubuntu (both jaunty and karmic releases) the screenruler application provides an easily available mean to do just that. This application is available through a package of the same name and can be found in the menu under Applications -> Accessories -> Screen Ruler.

The screenshot above shows two instances of screenruler along with the contextual menu (available through right-click or a menu button which appears when the mouse hovers over the ruler). Through this menu the metric can be changed. The length of the ruler can be changed by pulling in the ends and the orientation can be flipped by middle-clicking.
Tags: desktop, Jaunty, Jaunty Jackelope, karmic, Karmic Koala, measuring, screenruler, ubuntu
Posted in Uncategorized | Leave a Comment »
October 28, 2009
Note: This applies to multiple flavors of Ubuntu; Jaunty as well as Karmic. Also, it might be generic to all distributions based on Network Manager.
At the university we have a eduroam-based wireless network. It has not been very dependable yet; sometimes you can log on, sometimes you cannot. It doesn’t seem to be directly related to signal strength.
It seems that Ubuntu – which uses Network Manager – is quite well suited for this environment. Our setup is based on two laptops; one which can connect to eduroam and one which cannot. These are connected by a standard ethernet cable. The laptop connected to eduroam is then set up to share the connection.
The Guide
First open up the network connections dialog. Do this by right clicking on the Network Manager icon in the notification area and choose ‘Edit Connections …’. In the ‘Wired’ tab, click ‘Add’ to add a new connection. Fill it out like so:

The important parts are
- The method. This should be ‘Shared to other computers’.
- The unmarking of ‘Connect automatically’. This will make sure other connections (like DHCP) take precedence.
After confirming this dialog (by clicking ‘Apply …’) the list of network connections should look like this:

Thats it! When you whish to share a wireless connection, click on the network manager icon in the notification area and choose ‘Share Connection’ under ‘Wired networks’.
Tags: eduroam, network connection, network manager, share, shared connection, ubuntu, wireless
Posted in Uncategorized | Leave a Comment »
October 26, 2009
Update 2: New solution.
Update 1: This no longer works for me. I’m getting the feeling that Facebook might be messing around with the protocol …
The solution for Jaunty seems to have degenerated.
I recently installed Karmic (Koala) Beta and decided to give it a try again. For me, installing the pidgin-facebookchat package and following the instructions at the relevant (bottom) part of the official documentations page regarding protocols. The experience is not entirely stable, but for a beta release I guess it’s ok.
Tags: empathy, facebook, Jaunty, Jaunty Jackelope, karmic, Karmic Koala, pidgin-facebookchat, ubuntu
Posted in Uncategorized | 2 Comments »