GTK Key Bindings

When I upgraded my Linux boxes to Firefox 1.0 (I’m now at 1.5), I finally made the jump to using the GTK 2.0 libraries. The only drag is that the default key bindings are more Windoze like. Ctrl-a selects all, rather than moving to the beginning of the line, and other annoyances to the enlightened.

To fix this, create a ~/.gtkrc-2.0. Add the line:

gtk-key-theme-name = "Emacs"

Restart any applications using GTK. You do not have to restart X.

The GTK Tutorial has lots of info on all the sundry rc files.

Leave a Reply