Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following line in my ~/.gtkrc-2.0 file:

gtk-key-theme-name = "Emacs"

And that works fine in Firefox and e.g. gnome-charachter-map if I use Gnome Classic to log in. Pressing ctrl-a in this text field sends the cursor to the start of the line as expected. If I use Mate installed from the 12.04 repository on then the emacs keybindings are not honored. Ctrl-a selects all text.

I think that the .gtkrc-2.0 file is read for some mate applications - mate-terminal seems to understand gtk-keynav-wrap-around = 0, for example.

The other questions that suggest using 3rd party programs seem a bit flakey. Is there a better way to get mate to use .gtkrc-2.0 and in particular the emacs key bindings?

share|improve this question
up vote 3 down vote accepted

See the link: The relevant command is:

mateconftool-2 -s /desktop/mate/interface/gtk_key_theme -t string Emacs
share|improve this answer

Your Answer


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.