Monthly Archives: July 2009

Readline

Just a quick post but the readline library keybindings are very interesting –
you just don’t need the home|end keys anymore. For the uninformed, here’s the
excerpt I’m talking about (man readline):

Emacs Mode
Emacs Standard bindings

“C-@” set-mark
“C-A” beginning-of-line
“C-B” backward-char
“C-D” delete-char
“C-E” end-of-line
“C-F” forward-char
“C-G” abort
“C-H” backward-delete-char
“C-I” complete
“C-J” accept-line
“C-K” kill-line
“C-L” clear-screen
“C-M” accept-line
“C-N” next-history
“C-P” previous-history
“C-Q” quoted-insert
“C-R” reverse-search-history
“C-S” forward-search-history
“C-T” transpose-chars
“C-U” unix-line-discard
“C-V” quoted-insert
“C-W” unix-word-rubout
“C-Y” yank
“C-]” character-search
“C-_” undo
” ” to “/” self-insert
“0” to “9” self-insert
“:” to “~” self-insert
“C-?” backward-delete-char

Advertisements

Installing Windows XP in VirtualBox

Not too difficult, here are a few tips to make sure that your experience is flawless.

When configuring the virtual machine, make sure that you

  • enable APIC and ACPI in Settings –> System.
  • create a fixed sized harddisk to improve disk I/O speeds.

After installing Windows XP, make sure that you

  • download the driver for the Intel Pro 1000 network adapater and change the default adapter from PCNet to Intel Pro 1000 in Settings –> Network. For me, this improved network access speed and reduced DNS lookup delays.
  • install VirtualBox Guest Editions which enables seamless mouse integration and experimental Direct3D support by mounting the Guest Editions ISO.
  • if, in the event that Windows Update fails to work, register the Wups2.dll as outlined in the Microsoft Knowledge Base <http://support.microsoft.com/kb/943144&gt;

I extend my thanks to the VirtualBox team for making this so effortless. By the way, anything between 5G – 10G is a good size for your virtual harddisc.

Looking Good…Minimally

Even though my virtual workspace is pretty minimal: dwm+urxvt+screen+irssi+firefox, that doesn’t mean that it can’t look good. Here’s what I’ve done to make my setup visually appealing without adding bloat.

– Change default cursor [https://antonyjepson.wordpress.com/2008/07/07/changing-the-default-x-cursor/]
– Change default icon theme (I choose Tango).
– Change system font (by editing gtkrc-2.0):

#include “/usr/share/themes/Dust/gtk-2.0/gtkrc”
gtk-icon-theme-name = “Tango”
gtk-font-name = “Sans Serif 12”

style “user-font” {
font-name = “Sans Serif 12”
}

Change the background (plenty of sites to choose from)
Add a compositing manager (lightweight xcompmgr+transset or heavy-weight compiz fusion). Of course, I choose xcompmgr.
Change Firefox theme (I choose Dustfox to match my Ubuntu dust gtk theme).
Finally, change terminal defaults (I added a bit of pseudo transparency).

FreeBSD and Arch Linux

I’m still looking for a good distribution for my new desktop and I’m becoming increasingly attracted to FreeBSD. I like the ports system and how integrated it is. I think I will like the community so I’m going to keep my eye on the forums, mailing lists, and IRC for a bit.