The Lumber Room

"Consign them to dust and damp by way of preserving them"

Emacs keybindings

leave a comment »

[Update 2013-01-21] Do gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"


Firefox, GNOME, Gaim, all use the gtk settings to set your keybindings. To get emacs keybindings,

  1. add the line gtk-key-theme-name = "Emacs" to ~/.gtkrc-2.0 (create the file if it doesn’t exist), OR
  2. start gconf-editor and change the /desktop/gnome/interface/gtk_key_theme key to Emacs. (Note the uppercase ‘E’), OR
  3. Run gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string

Same thing.

There is a Mozillazine Knowledge Base article that lists which keys work and which don’t. For example, C-t is taken by “New Tab”, and it won’t work… unless you replace all your Firefox “Ctrl” things to “Alt”, by setting ui.key.accelKey to 18 (doesn’t seem to work, though). I also found, on Bill Clementson’s blog, a post called Firefox for Emacs users that describes an extension called Conkeror. Written by Shawn Betts, the author of the awesome ratpoison and stumpwm who doesn’t own a mouse, it looks very promising extreme (tried it. I wouldn’t continue to call the resulting browser Firefox. Real Firefox can still be got by typing M-x firefox, though.) A Conkeror wiki is here. More tips by Bill Clementson here.

Written by S

Thu, 2005-12-08 at 10:08:00

Posted in compknow

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s