Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2009 12:52:08 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Ali Muridi Ahmed <amuridi@cox.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kb problem.
Message-ID:  <20090522105208.GA1482@phenom.cordula.ws>
In-Reply-To: <4977380.26523.1242950778985.JavaMail.amuridi@127.0.0.1>
References:  <4977380.26523.1242950778985.JavaMail.amuridi@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-cpghost.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090522105208.GA1482>