[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#415451: xautomation: xte assumes US keymap



On Mon, 19 Mar 2007 18:50:22 +0100, Matej Vela <vela@debian.org> wrote:

> "Herman Robak" <herman@opera.com> writes:
>
>> I can not use xte to send strings containing '/' into the X client being
>> tested.  xte interprets '/' as '7'.  In my case this is a showstopper,
>> since I need to pass URLs to the program.
>
> I'm guessing this is a German-style keyboard, where '/' is Shift+'7'?
> Are the symptoms different if you use the US keymap?

  Ok.  The problem seems to be that xte assumes a US keymap.
When I use AltGr combinations, xte sees and sends the characters
I would have gotten with a US keyboard mapping:

herman@pc074:~/Devel/Xautomate$ xte
key $
¤

herman@pc074:~/Devel/Xautomate$ xte
str @£$
Unable to resolve keysym for '£'
Unable to resolve keysym for '£'
" ¤

herman@pc074:~/Devel/Xautomate$ xte
str æøå
Unable to resolve keysym for 'æ'
Unable to resolve keysym for 'æ'
Unable to resolve keysym for 'ø'
Unable to resolve keysym for 'ø'
Unable to resolve keysym for 'å'
Unable to resolve keysym for 'å'


  It does not matter whether I call xte from a terminal or
 from a Perl script.

-- 
Herman Robak



Reply to: