From owner-freebsd-questions@FreeBSD.ORG Sat Dec 28 18:07:48 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 1DF62621 for ; Sat, 28 Dec 2013 18:07:48 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9C421F04 for ; Sat, 28 Dec 2013 18:07:47 +0000 (UTC) Received: from [89.204.130.89] (helo=tiny-r255948) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1VwxSR-0000u0-7D; Sat, 28 Dec 2013 18:13:51 +0100 Received: from tiny-r255948 (localhost [127.0.0.1]) by tiny-r255948 (8.14.7/8.14.3) with ESMTP id rBSHDqli000956; Sat, 28 Dec 2013 18:13:52 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny-r255948 (8.14.7/8.14.3/Submit) id rBSHDpEh000955; Sat, 28 Dec 2013 18:13:51 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny-r255948: guru set sender to guru@unixarea.de using -f Date: Sat, 28 Dec 2013 18:13:51 +0100 From: Matthias Apitz To: Eduardo Subject: Re: Remapkey spanish keyboard Message-ID: <20131228171351.GA917@tiny-r255948> References: <20131228164937.00000273.emorrasg@yahoo.es> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20131228164937.00000273.emorrasg@yahoo.es> X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.89 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 18:07:48 -0000 El día Saturday, December 28, 2013 a las 04:49:37PM +0100, Eduardo escribió: > 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 > > I have a normal QWERTY keyboard on my EeePC 900 netbook (I'm just typing into it) and with X11 I use the following script xmod.sh on desktop launch: # para el español: # xmodmap -e "keycode 0x73 = Mode_switch" xmodmap -e "keycode 0x39 = n N ntilde Ntilde" xmodmap -e "keycode 0x1a = e E eacute Eacute" xmodmap -e "keycode 0x26 = a A aacute Aacute" xmodmap -e "keycode 0x1f = i I iacute Iacute" xmodmap -e "keycode 0x1e = u U uacute Uacute" xmodmap -e "keycode 0x20 = o O oacute Oacute" xmodmap -e "keycode 0x0a = 1 exclam exclamdown onesuperior" xmodmap -e "keycode 0x3d = slash question questiondown ssharp" xmodmap -e "keycode 59 = comma less guillemotleft" xmodmap -e "keycode 60 = period greater guillemotright" # xmodmap -e "keycode 0x35 = x X adiaeresis Adiaeresis" xmodmap -e "keycode 0x36 = c C odiaeresis Odiaeresis" xmodmap -e "keycode 0x37 = v V udiaeresis Udiaeresis" Using this the so called Windows-key get a nice usage: Winkey+n gives ñ and so on: áéíóúñ... HIH matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5