The Ubuntu 10.10 install on my new laptop turns on the Bluetooth adapter by default, which is a minor battery drain. Since I rarely (if ever) use any Bluetooth devices, I’d rather turn off the adapter by default. Unfortunately, this is not as simple as changing an option in the Bluetooth panel application and requires some minor command-line tweakage.

Per this helpful post on the Ubuntu forums, I just had to edit the file /etc/init.d/rc.local:

sudo vim /etc/init.d/rc.local

And add the following line:

rfkill block bluetooth

Although the post suggests putting the line at the end of rc.local, that didn’t seem to work for me. So I added it near the beginning and all is well. Now, after booting up and logging in, the Bluetooth panel icon is happily grayed-out to show that the adapter is deactivated.

Creating a Front-End Build Template, Part 1

For a long time I've avoided getting into any "serious" front-end development work... by which I mean, of course, JavaScript (_shudder_)....… Continue reading

Marvel Cinematic Universe Viewing Order

Published on December 14, 2014

Mercurial Rebase with TortoiseHg

Published on May 29, 2014