Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"

Yeah, the fact that there isn't UI for this basic pref says a lot about the relationship between desktop environments and "power users"...

(source: http://askubuntu.com/questions/181532/emacs-keybindings-in-u...)



I just tried that in Elementary and it doesn't work :(

I'm sure I'll find a way, but I'm starting to realize that the Cocoa Text System is pretty great compared to what other OSes have.


What didn't work about it? I have this in my .gtkrc-2.0:

    gtk-key-theme-name="Emacs"
And this in ~/.config/gtk-3.0/settings.ini:

    [Settings]
    gtk-key-theme-name = Emacs
If those settings appear in both places, after restarting a GTK+ application the bindings should just work. They actually work better than in OS X because you're free to use the Alt/Meta shortcuts to skip words without reaching for the cursor keys.

There are a couple of GTK+ applications that annoyingly override the shortcuts, like Pidgin for example (which binds C-w to "close window").




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: