Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 15:58:54 +0000
From:      James Griffin <jmzgriffin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Remapkey spanish keyboard
Message-ID:  <52BEF53E.7060609@gmail.com>
In-Reply-To: <20131228164937.00000273.emorrasg@yahoo.es>
References:  <CAMSA9wcJVFs57N0Mu=k2COZO=K3X=KsDUgcxsTmP9632kdf9AA@mail.gmail.com> <20131228164937.00000273.emorrasg@yahoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12/28/2013 15:49, Eduardo wrote:
> El Sat, 28 Dec 2013 10:35:07 -0200
> Isma Tim <ismatim@gmail.com> 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
>
> HTH
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52BEF53E.7060609>