Having recently purchased a Happy Hacker Keyboard Lite 21, I’ve only gotten even more crazier in trying out keyboard layouts. The removal of CapsLock (and replacing it with left control) is nice, but I could have gotten away just doing it software wise. The movement of the tilde still bothers the crap out of me, but I do like that the Backspace is now easier to hit.
But less about the HHKB Lite 2, but more so on the modification of the keyboard layouts.
I have finally found the program that will let me do exactly what I want on a Linux system: XKeyCaps.
Before, I had to use this program on the Mac called KeyRemap4MacBook to do this amazing thing for the grave/tilde key, so that if I pressed shift + grave/tilde, it would emulate “Escape.” This made it so that I didn’t have to stretch… but the problem is that I would lose the ability to use “Grave.” The problem with this was that it was a bit of a hack, and you really didn’t have much flexibility: it was a preference pane that enabled you to do certain things to certain keys. (I also ended up using the eject key for something, since near the end of my Mac ownership, I threw in an SSD in the optical bay. I also think I tried out vimkeys, but that required pushing down an additional modifier… but I know I can get there with the flexibility of Linux… oh, tmux…)
I knew of xmodmap a while back, but as with a lot of things on Linux, it scared the crap out of me. Thank goodness for semi-workable GUIs to make life easier for us that know a tiny bit of what’s going on. It really isn’t pretty, and it took me a bit of effort to figure out what was going on, but I finally made the changes I wanted.
I made it so that on my Asus 1015PEM (I bought it for the many trips I’m going to be having next year, and needing some kind of cheap computing on the go… wow, I really need to blog…), the Backspace and the backslash would be switched, so that it would be a bit closer to how the HHKB Lite 2′s layout. I also made the escape + shift to be tilde, so that when I do plug in my HHKB, I can access the tilde much more easily.
Summary? If you’re a normal Vim user on a normal keyboard on Linux, I’d suggest switching backslash with backspace, and maybe even doing the grave to escape switch as well. But yes, I know grave is used for bookmarking… Man, totally need to learn more Vim.
Seriously, Linux is such a time sink, but I love every… er… most every minute of it.
// Don’t really like this post too much. The tone is a bit too personal. Hmm… Gotta revisit that whole wiki idea for posting very specific step-by-step instructions…