I've been trying to figure this out for hours now with the man pages but can't quite make it work so I thought I'd see if someone has experience of this here.
I use a Colemak keyboard layout. This is not one of the inbuilt keyboard layout options offered by OpenBSD so Colemak offers a very crude script that sets all the keys here. I've adapted this and used it in my /etc/ files to load the script on startup. This way, Colemak keyboard is working more or less immediately in the console.
When I start up X (with
startx command), however, the keyboard mapping isn't brought into X. I type into the xterm and it's QWERTY again.
I've been looking how to set this for hours now, as I said. From what I've been reading, it seems that X has different settings to the console and that I need to specify any keyboard options specifically for X. It seems that an
xorg.conf file would be the place to do that.
There's also the
setxkbmap command which seems also what I need. I try running the command from the console, though, and it says that the command isn't found. I'm not quite sure what to do since it is mentioned in the manual pages, but how to get it to work??
In any case, I assume this is an issue that lots of people have had in the past. I just can't seem to get past things. Happy to do more RTFM, but which parts to read? I feel like I'm probably missing something really obvious.
Can someone help me out? Thank you!