Re: Fluxbox UP DOWN ARROW keys not working everything else does

[email protected] Thu, 12 Mar 2020 19:15:43 +0100
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On 2020-03-05 01:15, higuita wrote:
> Hi
> 
> On Fri, 21 Feb 2020 17:30:25 +0100, [email protected] wrote:
>> The following keys not working:
> 
> 	What do you mean they do not work? Is the fluxbox shortcuts,
> defined in $HOME/.fluxbox/keys not working, but the keys do work in
> any other program, or they do not work in any program?
> 
> 	What the xev program tells you when trying to use those
> keys/shortcuts?
> 
> Best regards
> higuita
Hi,

This is not specifically a fluxbox related issue but rather an Nomachine 
NXServer/NXClient problem (RDP solution I use fluxbox with).
I have many terminal server installations with nxserver using older 
debians like 7,8,9 on these there is no problem with the keys they work 
out of the box.
However on Ubuntu 16 this issue come up and using a remote desktop 
environments without the cursor keys working makes you scratch the wall.

Since this machine was configured headless I did not realize that the 
keys work natively.

Anyway here is a half baked solutions for others who run into this 
issue:

cat /home/fbsd/.Xmodmap
keysym 0xff23 = KP_Left
keysym 0xff26 = KP_Up
keysym 0xff8d = KP_Down
keysym 0xff22 = KP_Right
keysym 0xff25 = KP_Prior
keysym 0xffe4 = KP_Next
keycode 97 = KP_Home
keycode 103 = KP_End

Not the best but this will make the keys work again in X apps like 
Xedit, Thunderbird, Gedit. However in terminals like a vi in aterm keys 
are still broken.

What made it even harder to fix this that after you remap a key with 
Xmodmap xev will report something else when that key is pressed down 
which makes no sense.