Can anyone tell me how to enable
Emacs keybind on
If you're using gtk3 the settings are in the
libgtk-3-common package in
/usr/share/themes/Emacs/gtk-3.0/gtk-keys.css and you can enable them with:
gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
And to switch back:
gsettings set org.gnome.desktop.interface gtk-key-theme "Default"
If you're using gtk2 the settings are in the
libgtk2.0-common package in
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc and you can enable them with:
gconftool-2 --type=string --set /desktop/gnome/interface/gtk_key_theme Emacs
And if you want to customize the keybindings you can copy the settings into
cp -r /usr/share/themes/Emacs ~/.themes/
ps. so does this mean you've managed to win the battle against Unity to steal all your modify keys back for Emacs to use?! :)
As of Chrome 59, which switched to gtk3, set
[Settings] gtk-key-theme-name = Emacs
Emacs keybindings for any gtk application except Google Chrome can be easily enabled, just follow the instruction you found.
Emacs keybinding for Google Chrome however was not working at the time of your question (Dec 2012). This is a bug from upstream https://code.google.com/p/chromium/issues/detail?id=11480. It is working now.
The bug has been solved in 2013. But the version of Chromium shipped with Ubuntu 14.04 still was bugged, you can do a security update which will include a version of chromium (v36) with this bug fixed (but as with any other software, total number of bug does not reduce, that is, new features introducing new bugs to replace fixed ones. For me life is harder since i upgrade, because ideographs stopped displaying in tab names).
It seems the other answer offered to you was not aware that your question is Chromium-specific and Emacs keybindings really did not work in Chromium for many years until 2014.