Move CTRL with colemak

I’m trying out the colemak keyboard layout. It seems interesting, but it takes some effort. There was one problem, though: colemak removes the capslock button, and so my Xmodmap settings to switch capslock and CTRL didn’t work anymore, which is a bother since I need it for emacs.

After some trial & error I managed to find how it’s done:

remove Control = Control_L
keycode 66 = Control_L
add Control = Control_L

Of course, keycode might be something else depending on your keyboard, you can determine what it is using xev.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s