From owner-freebsd-questions@FreeBSD.ORG Fri May 22 10:52:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB95106564A for ; Fri, 22 May 2009 10:52:16 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3792F8FC19 for ; Fri, 22 May 2009 10:52:16 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 7F34634DFD; Fri, 22 May 2009 12:52:09 +0200 (CEST) Date: Fri, 22 May 2009 12:52:08 +0200 From: cpghost To: Ali Muridi Ahmed Message-ID: <20090522105208.GA1482@phenom.cordula.ws> References: <4977380.26523.1242950778985.JavaMail.amuridi@127.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4977380.26523.1242950778985.JavaMail.amuridi@127.0.0.1> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-questions@freebsd.org Subject: Re: kb problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2009 10:52:17 -0000 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/