Re: Buttons on the right side of the screen not working

GSO <[email protected]> Fri, 21 Apr 2006 11:10:19 +0200
Newsgroups gmane.comp.lang.4gl.fourjs.user
Organization GSOmbH
Message-ID <[email protected]>
Hello Steven,

your problem is that the mouseclicks are trapped by the NumLock modifier.

A workaround is to call xmodmap for the actual display before starting the appplication:

xmodmap <file>

<file> should have the following content:

clear mod2
keycode 63 = KP_Multiply
keycode 79 = KP_7
keycode 80 = KP_8
keycode 81 = KP_9
keycode 82 = KP_Subtract
keycode 83 = KP_4
keycode 84 = KP_5
keycode 85 = KP_6
keycode 86 = KP_Add
keycode 87 = KP_1
keycode 88 = KP_2
keycode 89 = KP_3
keycode 90 = KP_0
keycode 91 = KP_Separator
keycode 108 = Return
keycode 112 = KP_Divide

This disables the NumLock key and makes the other keys of the numeric pad work
as if NumLock was ON.

Be careful that NumLock IS NOT ACTIVATED when calling xmodmap.
-- 
Mit freundlichen Grüßen
    best regards
     - GSOmbH -

Am Mittwoch, 19. April 2006 13:46 schrieb Steven Segers:
> Hello
> 
> At one of our customers the buttons on the right hand side of the screen
> are not working (i.e., when clicked; nothing happens) when running with
> the X11 Front-End (WTK is fine). In the rest of the application the
> mouse is working properly.
> This problem occurred with any x-client we tried to connect with.
> Here is some info about there system:
> OS: AIX 5.2.0.0
> FourJ's BDL: 3.50.01.05
> TCL/TK 4.1d (wish 3.6)
> Any idea what might cause this problem? We've never seen this before.
> 
> Regards
> 
> Steven Segers
> 
>  
>  
> Steven Segers
> Quadreon NV - AMCC
> Technologiepark 1
> B-9052 Ghent-Zwijnaarde
> Phone  +32 9 245 96 73
> Fax    +32 9 220 50 19
> [email protected]
> http://www.amcc.be
>  
> This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please accept our apologies, notify the sender immediately and delete this mail together with all attachments that may have been added.
>