Live data from Hacker News

Redcar is cool, but I still can’t use Linux

lucasrockwell.com

21–22 of 22 posts

Re: Redcar is cool, but I still can’t use Linux

#21
post #17

If you are using the GNOME desktop use gconf-editor to set /desktop/gnome/interface/gtk_key_theme to "Emacs". As far as I can tell, everything works (like I am now typing ctrl-A on firefox to go to the beginning of this line) There is also Alt, and Meta, and you can set your own keymaps in X. Actually, one of the reasons I didn't like the mac is the lack of flexibility in this area (like re-mapping ctrl and caps lock…

Actually, re-mapping Caps Lock to Ctrl is a very simple change in the system preferences (but not so if you want to map it to Esc). You can remap Cmd/Option/Ctrl/Caps-Lock to any of those 4 keys, and you can do it specifically for different keyboards (so you can have your laptop keyboard mapped differently than the external keyboard you have plugged in; especially nice for connecting a PC keyboard to your laptop).

Cocoa by default already has some of the Emacs-style keyboard shortcuts (CTRL-A/E/P/N/B/F/K/T/Y/etc), and these are partially supported in Firefox 3.0. And it looks like remapping keys for Cocoa apps is very flexible and powerful, but I haven't messed with it personally yet (though I plan to try to get things even more Emacs-like, which appears to be pretty doable).

Of course you can't beat the flexibility that's achievable in the open source desktops/window managers.

Re: Redcar is cool, but I still can’t use Linux

#22
In short, Linux doesn't suit the authors needs (where needs is defined as having the same keyboard short cuts as his favorite operating system). Nothing to see here. I'm at a loss as to why the author feels Linux's eventual goal is to convert him to Linux, or what profit he sees in moving from OSX to Linux.

If for some reason he really is determined to make this conversion (without changing his keyboard shortcuts) then he is welcome to start a Linux keyboard shortcut unification project, since as the cliche goes, the source is there.

Post reply on HN