4 ms·
> Also Control/Command C, X, and V are impossible to do with one hand while holding your mouse unless you remap keys or create macros. I took the, uh, hard way
by kentonv 3y ago
> Also Control/Command C, X, and V are impossible to do with one hand while holding your mouse unless you remap keys or create macros.
I took the, uh, hard way on this one: For every OS I have used in the last 20 years I have figured out how to write a program that intercepts keystrokes and rewrites them so that when I am holding ctrl or alt, my keyboard temporarily reverts to Qwerty. (I type Dvorak.)
My current iteration involves using systemtap to, uh, monkey-patch the Linux kernel. Which works... surprisingly well?
https://blog.cloudflare.com/how-to-monkey-patch-the-linux-kernel/ https://blog.cloudflare.com/how-to-monkey-patch-the-linux-ke...
Code and older version here: https://github.com/kentonv/dvorak-qwerty https://github.com/kentonv/dvorak-qwerty
Though these days I'm starting to think this guy's version based on /dev/input might be a better way to go: https://github.com/tbocek/dvorak https://github.com/tbocek/dvorak (This even works on Chrome OS.)
MacOS has this keyboard layout built-in, but in multiple attempts I have never been able to get myself to like MacOS, so...