This question already has an answer here:

I am trying to get Emacs-like Keybindings in GTK, Firefox, Chrome, etc. I have followed the directions recommended here (and in lots of places) but to no effect.

In other words, I added gtk-key-theme-name = "Emacs" to my .gtkrc-2.0, and I also ran gconf-editor and set /desktop/gnome/interface/gtk_key_theme to "Emacs". I even rebooted just for good measure.

I am using an ordinary 12.04 install, with Unity 3D as the desktop environment.

marked as duplicate by Seth Nov 6 '14 at 1:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 11 down vote accepted

same problem as you. This worked for me:

gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"

Source: http://situmam.blogspot.com.es/2012/05/emacs-keybidings-in-ubuntu-1204-precise.html

  • Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Eliah Kagan Aug 29 '12 at 9:11
  • You're a life saver! I would vote you up if I had the rep for it. The answer was gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" – sam Aug 29 '12 at 14:49
  • 1
    To return everything back $ gsettings set org.gnome.desktop.interface gtk-key-theme "Default" – shock_one May 22 '14 at 13:18
  • It also works on Ubuntu 16.04. – Alan Zhiliang Feng Apr 26 '17 at 12:25

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