On 12/27/06, <b class="gmail_sendername">Dotan Cohen</b> <<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On KDE I've got three keyboard layouts installed- US English, Dvorak,<br>and Hebrew. I go nuts switching over to US English everytime that I<br>need to perform a keyboard shortcut. How can I have the keyboard<br>shortcuts work as if the keyboard is always qwerty? I'd like to
<br>configure it at the X level rather than at the KDE level, but I'd<br>accept any solution that works. Thanks in advance.</blockquote><div><br>What do you mean by keyboard shortcuts.  Can you give an example?<br><br>
I know for emacs, doing ctrl-x ctrl-s and ctrl-x ctrl-c is really awkword in dvorak, so I've remaped ctrl-x to ctrl-o, ctrl-s to ctrl-e, and ctrl-c to ctrl-u.  This way I can save and quit much easier.  This is done by placing the following in my .emacs file:
<br><br></div>(global-set-key (kbd "C-o") ctl-x-map)<br>(global-set-key (kbd "C-x C-e") (lookup-key global-map (kbd "C-x C-s")))<br>(global-set-key (kbd "C-x C-u") (lookup-key global-map (kbd "C-x C-c")))
<br><br></div>You're probably looking for something much more general, but if you use emacs, this quick fix will save a lot of finger-pain.<br clear="all"><br>-- <br>Dylan<br><br>Type faster.  Use Dvorak:<br><a href="http://dvzine.org">
http://dvzine.org</a>