10

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.

Peachy
  • 7,077
  • 10
  • 37
  • 45
sam
  • 213
  • 2
  • 7

1 Answers1

17

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

Seth
  • 57,282
  • 43
  • 144
  • 200
Patrik
  • 186
  • 1
  • 2
  • Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Eliah Kagan Aug 29 '12 at 09: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
  • 3
    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