3
1
I am looking for a way to define an Emacs-style keys sequence as a keyboard shortcut in Linux - Specifically, in Gnome, but more general solutions are also acceptable.
For example, I would like a sequence like "Alt-w t" (that is, first press Alt-w and then t) to open a terminal, "Alt-w c" to close a window, and so on.
The rationale behind this question is twofold:
- Make more use of desktop-wide keyboard shortcuts
- Make an old keyboard, that has no Win key, usable with desktop-wide keyboard shortcuts, without causing too many collisions with application - Specifically with Emacs.
Thanks!
you are serious to suggest a tiling windowmanager to the op's question? :) – akira – 2010-05-03T10:50:06.140
Yes, also because he mentioned Emacs and Ratpoison is far from being a tiling wm: it's more a buffer window manager, like screen, and has some behaviour comparable to emacs. I switched from gnome to ratpoison on my laptop, hence the suggestion! – dag729 – 2010-05-03T11:02:58.810
I know of lightweight WM such as Ratpoison et al. Unfortunately I don't have much time right now to arrange my desktop from scratch. I was hoping for a more mainstream solution, or, alt., something that works directly on the X server. – Little Bobby Tables – 2010-05-03T11:11:56.120
Fair enough but, if you like to give it a go, I can address you to dotfiles.org, where you'll find some useful and ready to use .ratpoisonrc. Just add .ratpoisonrc after dotfiles.org/; if you want to find other dotfiles use the same pattern, that is appending a .something after dotfiles.org/ – dag729 – 2010-05-03T12:46:32.157