Remapkey spanish keyboard

Eduardo emorrasg at yahoo.es
Sat Dec 28 15:52:23 UTC 2013


El Sat, 28 Dec 2013 10:35:07 -0200
Isma Tim <ismatim at 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

> 
> Thanks,
> Isma
> _______________________________________________
> 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"



More information about the freebsd-questions mailing list