kb problem.

cpghost cpghost at cordula.ws
Fri May 22 10:52:17 UTC 2009

On Thu, May 21, 2009 at 08:06:18PM -0400, Ali Muridi Ahmed wrote:
> I bought my macbook alum while on vacation in Dubai.. when I bought the 
> macbook, it had an arabic/english keyboard, it wasn't a problem.. 
> figured out which button is the "return/enter" "shift" etc.. When trying 
> to install freebsd on macbook, using sysinstall, I keep having "wrong 
> key input" .. like the whole key was reassigned.
> For example, pressed "X" to try and exit the installation but It opened 
> up a different menu, tried to press "C" to go to the Config part of the 
> sysinstall, but it exit the installation.
> .. how do I fix it?

Once you're able to get past sysinstall by trial and error, just use
kbdcontrol(1) to change the keymap.

Basically, all you have to do is to copy one of the keymaps from
/usr/share/syscons/keymaps, and modify it according to your layout.
Then use kbdcontrol(1) to activate it.

Of course, this doesn't apply to Xorg: that's another can of worms.
Check out setxkbmap(1) and /usr/local/share/X11/xkb for that.


Cordula's Web. http://www.cordula.ws/

More information about the freebsd-questions mailing list