Date: Sat, 28 Dec 2013 16:41:21 -0200 From: Isma Tim <ismatim@gmail.com> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-questions@freebsd.org, Eduardo <emorrasg@yahoo.es> Subject: Re: Remapkey spanish keyboard Message-ID: <CAMSA9wc4-sU1eA=tGMrGSd9x=MXAn10F5wORzpuj0pBpG9ZEXQ@mail.gmail.com> In-Reply-To: <20131228171351.GA917@tiny-r255948> References: <CAMSA9wcJVFs57N0Mu=k2COZO=K3X=KsDUgcxsTmP9632kdf9AA@mail.gmail.com> <20131228164937.00000273.emorrasg@yahoo.es> <20131228171351.GA917@tiny-r255948>
next in thread | previous in thread | raw e-mail | index | archive | help
@Matthias Apitz, I´m sorry, but I would like to set it up first on my terminal ttys. I'm still don´t find the way to do it. Any suggestion is welcome. On 28 December 2013 14:13, Matthias Apitz <guru@unixarea.de> wrote: > 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 > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <deviceinfo version="0.2"> > > <device> > > <match key="info.capabilities" contains="input.keyboard"> > > <merge key="input.x11_options.XkbModel" > > type="string">pc105</merge> <merge key="input.x11_options.XkbLayout" > > type="string">es</merge> </match> > > </device> > > </deviceinfo> > > 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, <guru@unixarea.de>, 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMSA9wc4-sU1eA=tGMrGSd9x=MXAn10F5wORzpuj0pBpG9ZEXQ>
