Linux Laptop + Numpads workaround

The CTRL + numkeys were not working for me and here’s the fix, for other linux laptop users -

My keycodes may be different from yours, so use the utility xev to grab the correct key code when numlock is on.

Contents of .Xmodmap -

keycode  79 = KP_7 KP_7 KP_Home KP_7
keycode  80 = KP_8 KP_8 KP_Up KP_8
keycode  81 = KP_9 KP_9 KP_Prior KP_9
keycode  83 = KP_4 KP_4 KP_Left KP_4
keycode  84 = KP_5 KP_5 KP_Begin KP_5
keycode  85 = KP_6 KP_6 KP_Right KP_6
keycode  87 = KP_1 KP_1 KP_End KP_1
keycode  88 = KP_2 KP_2 KP_Down KP_2
keycode  89 = KP_3 KP_3 KP_Next KP_3
keycode  90 = KP_0 KP_0 KP_Insert KP_0

Add to an X startup, either in your WM startup or in an .Xsessionrc file
xmodmap “~/.Xmodmap”

Hi Since i am trying to install VASSAL on my UBUNTU machine i wonder is someone could tell me how i should run the shell script in the download module???

Many thanks yours

Lars-Peder

Thus spake larspeder:

Hi Since i am trying to install VASSAL on my UBUNTU machine i wonder is
someone could tell me how i should run the shell script in the download
module???

The same way you run every shell script not on the path. If you’re
in the directory with the shell script, type “./VASSAL.sh” in your
terminal and hit enter.


J.