While looking for information on whether Ctrl+Shift+z is standard for ‘redo’ on Linux (as opposed to Windows using Ctrl+y), I ran across this tidbit in the “GTK Configuration” documentation for ArchLinux
Is it actually this straight-forward to add a GUI option for configuring hotkeys?
4.3 Keyboard shortcuts
Keyboard shortcuts (otherwise known as accelerators in GTK) may be changed by hovering the mouse over the respective menu item, and pressing the desired key combination. To enable this feature, set:
gtk-can-change-accels = 1
4.31 Emacs key bindings
To have Emacs-like key bindings in GTK applications add the following:
~/.gtkrc-2.0
gtk-key-theme-name = "Emacs"
~/.config/gtk-3.0/settings.ini
[Settings] gtk-key-theme-name = Emacs
For GTK3 also run:
$ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
XFCE has a similar setting:
$ xfconf-query -c xsettings -p /Gtk/KeyThemeName -s Emacs
The configuration files in
/usr/share/themes/Emacs/
determine what the Emacs bindings are, and can be changed. Copying sections to the users~/.gtkrc-2.0
file allows for changes on a per user basis.