PDA

View Full Version : Is there a "Dvorak-Qwerty" layout for linux?



Cris987
June 2nd, 2007, 08:25 PM
Macs offer a "dvorak-qwerty" layout that allows qwerty shortcuts when the apple-shortcut key is pressed. Is there something similar for linux, in which case the system would revert to qwerty when the ctrl key is pressed?

frafu
June 4th, 2007, 09:19 PM
Hello

There is a dvorak-layout under the U. S. English layouts.
(Open the Keyboard preferences by using the menu System->Preferences; then go to the Layouts tab and scroll down to the U. S. English, where you have to click on the triangle at the left.)

However, I don't know whether it can be used as in MacOSX.

Regards

Francesco

nanotube
June 6th, 2007, 04:56 AM
Macs offer a "dvorak-qwerty" layout that allows qwerty shortcuts when the apple-shortcut key is pressed. Is there something similar for linux, in which case the system would revert to qwerty when the ctrl key is pressed?

no there isn't. and why would you want it anyway? just use the shortcuts in dvorak. it takes but a few days to get used to it. :)

scorchgeek
July 31st, 2009, 05:35 PM
Actually, there is, although you have to use the right Ctrl key. Open the keyboard layouts window as described above, then click Layout Options-->Keys to change layout, then enable the appropriate option.

Kenton Varda
February 6th, 2010, 01:14 AM
Turns out you can't implement this as a keyboard layout in X without causing all kinds of bugs to start coming out of the woodwork. It seems each X client is responsible for interpreting the keyboard layout, and most GUI frameworks simply have not accounted for layouts that change when a modifier key is held.

You can, however, implement it as a program that intercepts events via XGrabKey(), rewrites them, and then XSendEvent()s them on to the app window. I have done so! Here you go:

http://dvorak-qwerty.googlecode.com

(There's also a Windows version. Not that you would care, of course. ;))

nanotube
February 7th, 2010, 12:27 AM
Turns out you can't implement this as a keyboard layout in X without causing all kinds of bugs to start coming out of the woodwork. It seems each X client is responsible for interpreting the keyboard layout, and most GUI frameworks simply have not accounted for layouts that change when a modifier key is held.

You can, however, implement it as a program that intercepts events via XGrabKey(), rewrites them, and then XSendEvent()s them on to the app window. I have done so! Here you go:

http://dvorak-qwerty.googlecode.com

(There's also a Windows version. Not that you would care, of course. ;))

hey, looks cool! i like my ctl-shortcuts to stay in dvorak, myself... but i'm sure the dvorak-qwerty lovers will enjoy. :)

damiannz
July 5th, 2010, 02:10 PM
actually, i've had this enabled for the past 6 months and it's been pissing me off no end. i just figured out how to get rid of it (for me at least).

perhaps if you reverse what i've done you'll end up with ctrl-qwerty like i had too :-)

so -- under Keyboard Preferences -> Layout, I had two maps: USA (first) and USA Dvorak International (second). Somehow it was always defaulting to Dvorak when i logged in, but when i opened a terminal window, for example, under the Dvorak layout Ctrl-C would show up as Ctrl-I. so i had QWERTY for ctrl and Dvorak normally.

i moved USA Dvorak International so that it was the first in the list, and suddenly it all seems to work fine.

hope this helps!
d