Michael Van Canneyt wrote:
> 
> On Sat, 30 Dec 2006, Marc Weustink wrote:
> 
>> Michael Van Canneyt wrote:
>>> On Sat, 30 Dec 2006, Marc Weustink wrote:
>>>
>>>> Michael Van Canneyt wrote:
>>>>> On Fri, 29 Dec 2006, Jesus Reyes wrote:
>>>> Both thanks for reporting. I've made some keyboard routines more strict.
>>>> In the old situation a random key could get reported.
>>> Did you fix the issue ? 
>> No, otherwise I would have written that.
>>
>> I finally got it reproduced. Major problem for me is that when I once
>> switched the keyboard layout using xmodmap, the problem disapears, so
>> I've to reset the xserver.
>>
>>
>> Saying so.... maybe this is a workaround, can you try it ?
>>
>> xmodmap -xpe | xmodmap -
> 
> I'd rather not mess with my X settings if it's OK with you. 
> I did the same once for Kylix (same problem as Lazarus now)
> and in the end I had to reboot my PC to fix things :(
> 
> in each case, your command is wrong:
> 
> home: >xmodmap -xpe
> usage:  xmodmap [-options ...] [filename]

ah... typo, should be -pke

> What should this test do and how does it help you ? 

with xmodmap you dan define your keyboard layout (for your current x
session, no permanent changes)

xmodmap -pke dumps the current layout in a form xmodmap itself can read.

so "xmodmap -pke | xmodmap -" sets the layout you currently have. And
nothing should change.

> I can send you the output of xmodmap -pke to you if that helps you ?
> The ones no longer working are these:
...
> keycode  16 = egrave 7 braceleft seveneighths braceleft seveneighths
...

They look similar to the ones I get. For retrieving these codes myself,
I use the XKeyCodeToKeysym() function.
However for keycode 16 it returns:

  egrave 7 null null seveneighths null null null

after running "xmodmap -pke | xmodmap -" it returns:

  egrave 7 braceleft seveneighths seveneighths null null null

So somehow, initially the second group (braceleft seveneighths) is missing.
I'm now figuring out why and why xmodmap doesn't have this problem


> all of them rather important when programming, I'm sure you'll agree :-)

Yes I do understand. It is exaclty the reason why I need to swich
layouts during programming/testing. Without having such keyboard it's
hard to press the right key.

Marc

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to