From: Otavio Salvador <otavio@debian.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Problem with i18n (input)
Date: Mon, 30 Jun 2008 17:54:48 -0300 [thread overview]
Message-ID: <87r6aeabjb.fsf@neumann.lab.ossystems.com.br> (raw)
In-Reply-To: <1214858808.21138.20.camel@lenovo.internal.reciva.com> (Phil Blundell's message of "Mon\, 30 Jun 2008 21\:46\:48 +0100")
Phil Blundell <pb@reciva.com> writes:
> On Mon, 2008-06-30 at 17:02 -0300, Otavio Salvador wrote:
>> When I press "'e" it gives me nothing. When I run it inside xev it
>> gives me:
>>
>> KeyPress event, serial 30, synthetic NO, window 0x1400001,
>> root 0x3a, subw 0x0, time 3675299458, (149,171), root:(572,473),
>> state 0x0, keycode 34 (keysym 0xfe51, dead_acute), same_screen YES,
>> XLookupString gives 1 bytes: (b4) "�"
>> XFilterEvent returns: False
>>
>> KeyRelease event, serial 30, synthetic NO, window 0x1400001,
>> root 0x3a, subw 0x0, time 3675299519, (149,171), root:(572,473),
>> state 0x0, keycode 34 (keysym 0xfe51, dead_acute), same_screen YES,
>> XLookupString gives 1 bytes: (b4) "�"
>> XFilterEvent returns: False
>>
>> KeyPress event, serial 30, synthetic NO, window 0x1400001,
>> root 0x3a, subw 0x0, time 3675302404, (149,171), root:(572,473),
>> state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
>> XLookupString gives 1 bytes: (65) "e"
>> XFilterEvent returns: False
>>
>> KeyRelease event, serial 30, synthetic NO, window 0x1400001,
>> root 0x3a, subw 0x0, time 3675302404, (149,171), root:(572,473),
>> state 0x0, keycode 26 (keysym 0x65, e), same_screen YES,
>> XLookupString gives 1 bytes: (65) "e"
>> XFilterEvent returns: False
>
> This output means that XIM isn't enabled and hence you aren't getting
> any compose handling at the Xlib level. That shouldn't matter in your
> case, though, because GTK does its own compose handling and XIM is
> basically just dead weight.
Any way for me to enable it?
> If you see nothing at all when you type "'e" then that would suggest
> that GTK is correctly interpreting the dead key and generating the right
> keycode internally, but that something is then going wrong after that.
> (If it didn't understand the dead acute at all then you would see a
> plain unadorned "e".)
Humm, confusing ...
> Unfortunately I don't think there is any convenient xev equivalent that
> will show you gtk's inner workings, so you might have to resort to the
> debugger to figure out what's going on here. I do have a vague
> recollection from when I last worked on this stuff that gtk was quite
> sensitive to locale settings. Presumably locale-base-pt-br is a UTF8
> locale, right? Do you have "LANG=pt_BR" set in your environment?
Yep .. I've used: LC_ALL=pt_BR.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
next prev parent reply other threads:[~2008-06-30 20:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 18:36 Problem with i18n (input) Otavio Salvador
2008-06-30 19:25 ` Phil Blundell
2008-06-30 20:02 ` Otavio Salvador
2008-06-30 20:46 ` Phil Blundell
2008-06-30 20:54 ` Otavio Salvador [this message]
2008-06-30 21:26 ` Phil Blundell
2008-06-30 21:42 ` Otavio Salvador
2008-06-30 21:50 ` Phil Blundell
2008-07-01 18:19 ` Otavio Salvador
2008-07-01 18:38 ` Phil Blundell
2008-07-01 19:06 ` Otavio Salvador
2008-07-02 0:33 ` Otavio Salvador
2008-07-02 11:01 ` Stefano Regno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r6aeabjb.fsf@neumann.lab.ossystems.com.br \
--to=otavio@debian.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.