Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
Default
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.)

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Have you already tried using gconf-editor?

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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