Remapkey spanish keyboard

James Griffin jmzgriffin at
Sat Dec 28 15:58:57 UTC 2013

On 12/28/2013 15:49, Eduardo wrote:
> El Sat, 28 Dec 2013 10:35:07 -0200
> Isma Tim <ismatim at> 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
> <?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>
> Later I'll write again with my configuration

You could try setxkbmap in your .xinitrc or .xsession ?

More information about the freebsd-questions mailing list