Running windows games with steam on a hybrid graphics card

I don't play much, but when I do, it's Sid Meier's Civilization on a Windows installation boxed into a VM. Earlier this year I got tricked by a Humble-Bundle offer into buying Civilization V, which came with the "trojan horse" of a steam account. Had I known the prerequisite of a Steam account before hand, … Continue reading Running windows games with steam on a hybrid graphics card

Automatically regulating volume on a USB headset with Ubuntu

When you connect an external speaker or headset to your computer you normally expect the sound to play over those and you'd also expect the integrated speakers to mute. Windows does that well and you'd expect that Ubuntu can do that as well, unfortunately it doesn't. Not without some scripting. So here we go: The … Continue reading Automatically regulating volume on a USB headset with Ubuntu

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