Accessability - Gnome on Centos 7 doesn't support application keypad? [SOLVED]

General support questions
Post Reply
jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Accessability - Gnome on Centos 7 doesn't support application keypad? [SOLVED]

Post by jeffw_00 » 2017/12/16 03:02:27

Hi Again - Sorry to post this here but I can't find a Gnome support forum. (point me if there is one!). I'm moving from Centos 5 to Centos 7 and one app requires the keypad to be in application mode (so it sends different keycodes than the numbers above the letters). In Centos 5 w/Gnome this just worked. It appears to be removed for Centos 7, or I can't find the magic combination (or magic keywords to search on).

Thanks VERY MUCH - again - getting close, and then I won't bug you guys again - you're the best! (and yes, I'm all by myself with no other resource :-()
/j
Last edited by jeffw_00 on 2017/12/17 20:04:34, edited 1 time in total.

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: Accessability - Gnome on Centos 7 doesn't support application keypad?

Post by jeffw_00 » 2017/12/16 03:06:00

This is also known as Vt100, VT102, or VT220 mode

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: Accessability - Gnome on Centos 7 doesn't support application keypad?

Post by jeffw_00 » 2017/12/16 03:41:42

More info - from my Windows PC, I VNC into my Centos 5 machine, run xev, and see correct keycodes when I press numerical keypad keys. Then I VNC into my Centos 7 machine, run xev, and see that the numerical keypad keys generate the same keycodes as the number keys above the letters.

I think the only difference is the version of Centos/Gnome. My app requires a keypad terminal emulator. I tried running xterm in VT220 mode but it didn't change anything. Help?

THANKS!
/j

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: Accessability - Gnome on Centos 7 doesn't support application keypad?

Post by jeffw_00 » 2017/12/16 03:59:50

Aha - I think the problem is that Centos 7 isn't passing bit 7 of the keycode.
Alphanumeric 1 = 0x37
Numeric keypad 1 = 0xb7
and so forth for the other keys.
So how do I get the 8b keycode passed to Centos 7?

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: Accessability - Gnome on Centos 7 doesn't support application keypad?

Post by jeffw_00 » 2017/12/16 04:05:25

Darn - when I log directly into the box I get the right keycodes - so where are they being lost? Ideas welcome - I''m calling it a night

jeffw_00
Posts: 60
Joined: 2006/12/17 02:55:29

Re: Accessability - Gnome on Centos 7 doesn't support application keypad?

Post by jeffw_00 » 2017/12/16 14:47:00

solution - add to the vncserver command

-AvoidShiftNumLock=0

apparently in some update someone decided to default this on - it literally filters out the modifier on the keycodes.


-

Post Reply