Remapkey spanish keyboard

Eduardo Morras emorrasg at yahoo.es
Sun Dec 29 10:31:02 UTC 2013


On Sat, 28 Dec 2013 16:41:21 -0200
Isma Tim <ismatim at gmail.com> wrote:

> @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.
> 

Hi Isma, sorry for the delay. I have a spanish keyboard and spanish FreeBSD installation on this laptop.

>From my own rc.conf:

keymap="spanish.iso15.acc.kbd"

It must be the only keymap configured in rc.conf file. If you have more, the last one is applied.

If you modified your ~/login.conf, undo it and rebuild db.

> Any suggestion is welcome.

HTH

> 
> On 28 December 2013 14:13, Matthias Apitz <guru at 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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


---   ---
Eduardo Morras <emorrasg at yahoo.es>


More information about the freebsd-questions mailing list