Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 16:49:37 +0100
From:      Eduardo <emorrasg@yahoo.es>
To:        freebsd-questions@freebsd.org
Subject:   Re: Remapkey spanish keyboard
Message-ID:  <20131228164937.00000273.emorrasg@yahoo.es>
In-Reply-To: <CAMSA9wcJVFs57N0Mu=k2COZO=K3X=KsDUgcxsTmP9632kdf9AA@mail.gmail.com>
References:  <CAMSA9wcJVFs57N0Mu=k2COZO=K3X=KsDUgcxsTmP9632kdf9AA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El Sat, 28 Dec 2013 10:35:07 -0200
Isma Tim <ismatim@gmail.com> escribi=F3:
> Hi FreeBSD,
>=20
> 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 =B4=F1=B4 or =B4=D1=B4 in ASCII its va=
lues 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:
>=20
> How it must to be setup?
>=20

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=3D"spanish.iso.acc" =20

(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

<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
<deviceinfo version=3D"0.2">
  <device>
    <match key=3D"info.capabilities" contains=3D"input.keyboard">
      <merge key=3D"input.x11_options.XkbModel"
type=3D"string">pc105</merge> <merge key=3D"input.x11_options.XkbLayout"
type=3D"string">es</merge> </match>
  </device>
</deviceinfo>


Later I'll write again with my configuration

HTH

>=20
> Thanks,
> Isma
> _______________________________________________
> 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?20131228164937.00000273.emorrasg>