Thursday, August 22, 2013

Ubuntu: configure login screen resolution

My login screen was displaying at a low resolution and I didn't know why. Fortunately someone called Tobold had already shared a simple workaround on Ask Ubuntu. Below is my slight modified version:

  1. Log in.
  2. Use xrandr or the Displays control utility to configure your monitors how you'd like them to be configured in the login screen.
  3. In Terminal, sudo cp ~/.config/monitors.xml /var/lib/lightdm/.config/

Thanks Tobold!

Friday, August 16, 2013

Hash, pound, # on Mac OS X

If you're using a UK-bought Mac and struggling to type the # character, you've probably found tips saying to use Alt-3, aka Option-3. Why, yes, I do agree that this sucks. Apple managed to dedicate a key to ± and §, but just couldn't find a spot for #. That must be more than a little embarrassing in the Twitter Era.

What you may not have discovered is how to type # in Terminal, where it's a critical part of writing scripts in bash, the default shell, and in other applications that interpret Alt-3 as a command.

I don't have a perfect solution, but I do have a solution. Go into System Preferences > Language & Text > Input Sources, then ensure that British - PC and Show Input menu in menu bar are checked. From the menu bar, select the Input menu and choose British - PC. This makes your Apple keyboard behave more like a PC keyboard. Unlearn Apple's bizarre key choices, and use the \ key to type #.