[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keyboard problem
From: |
Germán A. Arias |
Subject: |
Re: Keyboard problem |
Date: |
Sat, 12 May 2012 06:05:52 -0600 |
El Fri, 11 May 2012 21:24:20 -0600
Eric Wasylishen <address@hidden> escribió:
> Hey German,
> I investigated a similar problem a while ago. My test case was setting
> the keyboard layout in gnome on Ubuntu 12.04 to French, using the
> Ubuntu gui for changing keyboard layouts. This was on a physically US
> English keyboard, and I was getting similar output in Ink when
> pressing a key that should have produced an accented e or a.
>
> I traced the problem to Source/x11/XIMInputServer.m, in particular, it
> does some things with setting the C locale which didn't make sense to
> me based on reading the documentation of the relevant XIM functions.
> In my case, the existing XIMInputServer code was not calling
> Xutf8LookupString when it should have.
>
> Here is a patch that cleans up XIMInputServer a bit. Assuming this
> fixes it for you - before the patch can be committed there also needs
> to be a configure check for the Xutf8LookupString function
> (HAVE_XUTF8LOOKUPSTRING) added - IIRC it is a relatively recent
> addition to Xorg.
>
> Cheers,
> Eric
>
:) The patch solve the problem, with XIM enabled. With --disable-xim,
if I want write " á " I get " ´a ". But this is expected since the
patch is just for XIM server.