Archive for Uncategorized

Eee PC: Don’t suspend when closing lid with power plugged in

Edit /etc/acpi/ (as root) to contain:

LID_STATE=`cat /proc/acpi/button/lid/LID/state | awk '{print $2 }'`
AC_STATE=`cat /proc/acpi/ac_adapter/AC0/state | awk '{print $2 }'`

if [ $LID_STATE = "closed" ] && [ $AC_STATE = "off-line" ] ; then
exit 0



CookiePie is a Firefox extension that lets you give a browser tab its own set of cookies. This is cool if, like me, you want to log into two different webmail accounts at once. (People do share computers sometimes, after all). Until recently Gmail was the one site that CookiePie didn’t work with, which spoiled my fun, but they’ve since spruced it up and now it does.

Unfortunately their webserver isn’t configured to spout the correct Content-Type header to make the XPI install work, so I packaged up the link with the correct header so that you can install it easily via this huge link you’re reading. (My link sucks the extension right from their site so you’ll still get the latest greatest.)


Poor Robbery Skills