: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/public/wp-includes/formatting.php
on line 74
So, my computer is still a bit wonky, mostly because I haven’t had a few moments to put it right. Regardless, I at one point found myself in X, basically sans a window manager (I’m using twm right now, because nothing else is properly installed. Yeah.) And because the normal startup stuff isn’t running, control and caps lock aren’t swapped.
This aggravates the hell out of me.
Most normal people, they basically take the keyboard layout they can get. Me? Some time ago, I saw Jamie’s whole control and caps lock need to be swapped thing, took it to heart, and now I can barely type on a keyboard with the normal mapping. If I’m doing any kind of text editing, forget about it.
So! Once again, without the benefit of nice graphical tools, I’m left thinking, “how do you do this?”
Only this time, I kinda know the answer: xmodmap lets you change the keyboard mapping. So I fucked around with that for a bit, and in the man page it actually has a, “here’s how you swap control and caps lock,” bit, and I did it, and that was fine.
Only it turns out that in my fucking around, I managed to remap the letter ‘v’ to… nothing. I think I tried using some recipe for a Solaris keyboard, or something. Regardless, I found myself unable to type the letter v.
So I can just use xmodmap to fix it, right? Just run xmodmap -e ‘keycode 55 = v’, and you’re all set.
Only, how do you input that command if you can’t type the letter v?
Simple. You go into Firefox (no vs there), go to some blog post, copy the letter v out and paste it in.
And lo, I can type ‘v’, and my keyboard is how I like it.
Like a ninja, I’m telling you.