Date: Sat, 28 Dec 2013 16:41:21 -0200 From: Isma Tim <ismatim@gmail.com> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-questions@freebsd.org, Eduardo <emorrasg@yahoo.es> Subject: Re: Remapkey spanish keyboard Message-ID: <CAMSA9wc4-sU1eA=tGMrGSd9x=MXAn10F5wORzpuj0pBpG9ZEXQ@mail.gmail.com> In-Reply-To: <20131228171351.GA917@tiny-r255948> References: <CAMSA9wcJVFs57N0Mu=k2COZO=K3X=KsDUgcxsTmP9632kdf9AA@mail.gmail.com> <20131228164937.00000273.emorrasg@yahoo.es> <20131228171351.GA917@tiny-r255948>
next in thread | previous in thread | raw e-mail | index | archive | help
@Matthias Apitz, I=B4m sorry, but I would like to set it up first on my terminal ttys. I'm still don=B4t find the way to do it. Any suggestion is welcome. On 28 December 2013 14:13, Matthias Apitz <guru@unixarea.de> wrote: > El d=EDa Saturday, December 28, 2013 a las 04:49:37PM +0100, Eduardo > escribi=F3: > > > 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> > > 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=F1ol: > # > xmodmap -e "keycode 0x73 =3D Mode_switch" > xmodmap -e "keycode 0x39 =3D n N ntilde Ntilde" > xmodmap -e "keycode 0x1a =3D e E eacute Eacute" > xmodmap -e "keycode 0x26 =3D a A aacute Aacute" > xmodmap -e "keycode 0x1f =3D i I iacute Iacute" > xmodmap -e "keycode 0x1e =3D u U uacute Uacute" > xmodmap -e "keycode 0x20 =3D o O oacute Oacute" > xmodmap -e "keycode 0x0a =3D 1 exclam exclamdown onesuperior" > xmodmap -e "keycode 0x3d =3D slash question questiondown ssharp" > xmodmap -e "keycode 59 =3D comma less guillemotleft" > xmodmap -e "keycode 60 =3D period greater guillemotright" > # > xmodmap -e "keycode 0x35 =3D x X adiaeresis Adiaeresis" > xmodmap -e "keycode 0x36 =3D c C odiaeresis Odiaeresis" > xmodmap -e "keycode 0x37 =3D v V udiaeresis Udiaeresis" > > Using this the so called Windows-key get a nice usage: Winkey+n gives =F1 > and so on: =E1=E9=ED=F3=FA=F1... > > HIH > > matthias > > -- > Sent from my FreeBSD netbook > > Matthias Apitz, <guru@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@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?CAMSA9wc4-sU1eA=tGMrGSd9x=MXAn10F5wORzpuj0pBpG9ZEXQ>