January 27, 2009

Reset your keyboard in X

I was using VMware and my keyboard went to Horkytown. My recipe for resetting the keyboard (at least on Fedora 10):

  1. egrep -i 'rules|layout|model' /var/log/Xorg.0.log to find out your rules, layout, and model for your keyboard.
  2. setxkbmap -rules xorg -layout us -model pc105 substituting the values from step 1 where appropriate.

If you have to SSH in and do this, like I did, prepend DISPLAY=:0 to setkbmap of course.

January 19, 2009

Where’s the packaging calculator?

So we’re moving, and I’m selling a bunch of stuff on (e.g.) eBay. There are plenty of shipping calculators—eBay has some of their own. But where the fuck is the packaging calculator? I had to call my local UPS store to find out how much it costs to have them pack things like a turntable or a cordless phone. Totally dumb.

By the way, a lot of the estimates I’m seeing online for packing are far too low, it seems to me. I see people talking about $1, $5, etc. for packing; UPS store says my turntable will cost at least $13-$15 for packing. $8 for the phone, they estimate.