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 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 mate-desktop.org 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

1 Answer 1

up vote 3 down vote accepted
+50

See the link: http://lwn.net/Articles/509467/ The relevant command is:

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

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.