Skip to content

Making Caps Lock work as Escape in the console on OpenBSD

I installed OpenBSD on a refurbished Dell Optiflex 3020 a couple of days ago, replacing the Windows 7 it arrived with. From something I'd read on the web I thought there would be some configuring needed to get the installation to work with EFI, but in fact it went smoothly out of the box.

A couple of minor things to say about the console.

1. I wanted Caps Lock to give me Escape in the console. The OpenBSD FAQ tells you how to do this with wsconsctl but I got a message saying that Caps_Lock was not a keysym. I found a fix for this at reddit (thanks, Kernigh).

2. Still on the console, I get messages about the mouse, saying _"wsmouse0 detached" . This seems to be a known bug but I don't have a satisfactory fix. I can stop the messages appearing by installing the mouse on the console but then it doesn't work in X. It's annoying but not serious since I normally start X immediatejy after logging in.

Probably the easiest solution is simply to unplug the mouse when you're in the console.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
How many legs do snakes have?
Form options

Submitted comments will be subject to moderation before being displayed.