mdadm woes

After migrating a software RAID 5 to Ubuntu LTS 12.04, the system wouldn't come up again after rebooting. I believe Chris Siebenmann to splendidly have analysed [1] the problem: a race condition with udev losing the race. His solution is to: Change /usr/share/initramfs-tools/scripts/mdadm-functionsas follows: degraded_arrays() { + udevadm settle mdadm --misc --scan --detail --test >/dev/null … Continue reading mdadm woes

CRTL+Space not working in Ubuntu applications

For some time now content assist and the command panel have been broken in Eclipse and Ubiquity running under Ubuntu; they wouldn't trigger the pop-up menues when pressing CRTL+Space. The reason is ibus intercepting that key combination and it's just as easily solved [1]: Open gconf-editor. Choose desktop -> ibus -> general -> hotkey. Open … Continue reading CRTL+Space not working in Ubuntu applications

Changing sub-pixel rendering in Ubuntu 12.04

In older Ubuntu releases one could change the sub-pixel rendering in the system settings, but that option was unfortunately removed in newer releases. Fortunately it is still accessible via gnome settings [1]: Open dconf-editor In the left pane, go to /org/gnome/settings-daemon/plugins/xsettings In the right pane, change the value of the rgba-order key to bgr: or … Continue reading Changing sub-pixel rendering in Ubuntu 12.04

Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

As said earlier, Ubuntu 12.04 does a good job with power management on the 4720s. With some manual settings power consumption can be further decreases, albeit not much this time. I wrote this script which takes a parameter: on: enable power management settings off: disable power management settings extra: on + enable extensive power management … Continue reading Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

Eclipse 3.7, SVNKit, Ubuntu 64bit

Maybe it is my impression, but the combination mentioned in the title just does not work. After a successful synchronization with the repository Eclipse will insist that there are still local changes, but SVN will refuse to commit them. When forcefully committed (overwrite and commit) the repository will claim to have changes which however don't … Continue reading Eclipse 3.7, SVNKit, Ubuntu 64bit

Reducing HP 4720s power consumption under Ubuntu Linux 11.10

Mainly annoyed by the loud fan I looked into ways of reducing power consumption of the HP Probook 4720s and came up with this script: #!/bin/sh -e # Increase filesystem write cache timeoutecho 1500 > /proc/sys/vm/dirty_writeback_centisecs # Enable power management on all PCI devices find /sys/devices/pci* -path "*power/control" -exec bash -c "echo auto > '{}'" … Continue reading Reducing HP 4720s power consumption under Ubuntu Linux 11.10