From owner-freebsd-questions@FreeBSD.ORG Sat Dec 28 15:58:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C117FF78 for ; Sat, 28 Dec 2013 15:58:57 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 55EDF1654 for ; Sat, 28 Dec 2013 15:58:57 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id en1so10419567wid.9 for ; Sat, 28 Dec 2013 07:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=X/sakP4/U0gpdX1M2xxcRRPYsHvhTgqNI6Ztfd6I63A=; b=gOQbArydb3rQfdC73siM9iQJZ+4Ab+OiG+oaJ3nfaHh/Vag8L7mtTPw3Ge4ItBw0V8 xX7c0qXKiq8qIIv6S1srctcfBRO7YQP/NedbueLcq4DO4BvKyjtDmg3x4cV85u4JUXjS yWEJdkSZscgcAg4kLLxBcTL74ZthhzU9R7h1eOC8HF9Lb+jlZ6xnXoqYJfHeDI3G1Lca nOtvK74mfkMnnM0s+niiEJtD1y8YlBNDYKROJN+nUHkLvcvVoz5+OokQhQ+X9IiBVP+J n7J4PVSrW3JN2HqQrAgdpT1FkzqnY29NqFBU0yQVjYKmNJadII8iMmDnNd6pldpYsG4T fKlw== X-Received: by 10.180.38.35 with SMTP id d3mr37154292wik.2.1388246335783; Sat, 28 Dec 2013 07:58:55 -0800 (PST) Received: from kontrol.kode5.net (kontrol.kode5.net. [80.229.5.32]) by mx.google.com with ESMTPSA id ed13sm18285231wic.9.2013.12.28.07.58.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Dec 2013 07:58:55 -0800 (PST) Message-ID: <52BEF53E.7060609@gmail.com> Date: Sat, 28 Dec 2013 15:58:54 +0000 From: James Griffin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Remapkey spanish keyboard References: <20131228164937.00000273.emorrasg@yahoo.es> In-Reply-To: <20131228164937.00000273.emorrasg@yahoo.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 15:58:57 -0000 On 12/28/2013 15:49, Eduardo wrote: > El Sat, 28 Dec 2013 10:35:07 -0200 > Isma Tim escribió: >> Hi FreeBSD, >> >> This is my first question in the post. I've made a research before to >> make a question. After the installation, some keys of my keyboard >> wasn't well mapped. So I started to do it manually. Using kbdcontrol >> -l mykey_spanish. I could map keys like '<', '>'; but the problem >> comes when I want to map keys like ´ñ´ or ´Ñ´ in ASCII its values are >> 164, and 165 respectively. I edited the file mapkey file in the >> column base, with the scan code 039, and replace the value for the >> ascii value. I reloaded again with the kbdcontrol command; but in the >> screen appears \244 when I pressed the key. Later, I replaced for the >> 'dtil' value, and then with 241 without luck. So: >> >> How it must to be setup? >> > Is this on X or on terminal tty? I'm not of my FreeBSDs now. > > If it's on terminal tty, adding the keymap in rc.conf is enough: > > keymap="spanish.iso.acc" > > (I think this is the keymap code, but not > sure). > > You can set it up while install the system, selecting the keymap on > first steps. > > If it's on X, you can use hald/dbus. Enable them on rc.conf and add > this code to file /usr/local/etc/hal/fdi/policy/x11-input.fdi > > > > > > type="string">pc105 type="string">es > > > > > Later I'll write again with my configuration > > HTH > You could try setxkbmap in your .xinitrc or .xsession ?