I enabled emacs keybindings as an experiment using gconftool-2 and setting /desktop/gnome/interface/gtk_key_theme to Emacs. I wasn't happy with it and set it back to Default.

jeff@london:~ $ gconftool-2 --get /desktop/gnome/interface/gtk_key_theme
jeff@london:~ $ 

But chrome continues to interpret keybindings as emacs. C-a goes to beginning of line rather than selecting all, C-k kills current line rather than beginning a web search, etc.

I find plenty of references online on how to set emacs bindings, but removing them again is proving harder. Any suggestions on what to look for? (It is possible, of course, that I did something or that something happened beyond the gconftool-2 setting.)


I've documented this in bug 985834.

The heart of the resolution is this:

This was not, in the end, a chromium-browser problem but a gnome problem. Oddly, gconftool showed the problem fixed when it wasn't. But gnome-tweak-tool showed the key bindings still to be emacs, and changing that back to Default fixed the problem immediately.

| improve this answer | |

Have you already tried using gconf-editor?

| improve this answer | |
  • And btw, can you share how you changed the setting to use emacs keybind? I've been looking for the way to enable emacs key on my Chrome on Oneiric but not successful. – IsaacS Apr 24 '12 at 16:27
  • I opened it up as a new question here: askubuntu.com/questions/124815/… – IsaacS Apr 24 '12 at 16:33
  • I think you've answered your own question in 124815. gconftool and gconf-editor are two ways to access the same information (commandline and gui). To get emacs bindings, set the value for key /desktop/gnome/interface/gtk_key_theme to Emacs. – jma Apr 25 '12 at 19:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.