June2010

Hal breaks mounts with custom udev rules

f you’re mounting a file system via custom udev rules, hal does not populate /media/.hal-mtab. When a desktop user attempts to unmount the file system, hal complains that it doesn’t know anything about that file system and gives you a friendly message about console users that may have mounted it.

Roadmap to America’s Second Class Citizens

If you are 54 or under you will need to start asking some very direct questions of those candidate’s you are planning on voting for in the next election!

Why FIFA World Cup matches start at the same time

The reason for FIFA World Cup matches starting at the same time is due to historic scandals that have occurred in famous matches. Having multiple matches begin at the same time eliminates the problem where the final matches outcome can be manipulated to force a specific outcome within a group.

Automate rpmbuilds from spec files including name-version-build info automatically

Start the spec file with %define statements at the top. Continue the spec file as you would normally, using the variables you just defined in place of the real name, version, build. Create an rpmbuild script that replaces the template variables with current information. Make an rpm target in your Makefile that calls the rpmbuild script.

Suppress the sound of vuvuzelas using Reaper

This will work for Windows and Mac. Linux has many options to do this and it’s even easier to do so I won’t even bother covering Linux for once.

Start a second X session using KDE, Gnome, XFCE, or any desktop environment

Most Linux distributions today boot to a graphical desktop environment by default. Whether that desktop environment is KDE, GNOME, Xfce, or one of the more obscure offerings, that choice is up to you. You can mix and match from different terminals too. The exceptions to this rule would be forensics distributions and a barebones secure installation that would either have a desktop environment but choose not to load it or it might not be installed at all.

Two ways to change case lowercase to uppercase using sed

Change lowercase to uppercase or vice versa using sed the brute force easy way and the smart way. One use of this would be finding the hardware address of an interface and converting it to all uppercase.