Question

I'm working with an ancient platform emulator, so sometimes I need to press Numpad Enter, but my notebook keyboard has no options for doing that. Is is possible to emulate Numpad Enter key somehow? I don't mind if the solution is clumsy.

Was it helpful?

Solution

You can remap the keyboard using xmodmap. For example, to turn F12 into numpad enter, use this command:

xmodmap -e 'keycode 96 = KP_Enter'

You can find out the keycode of keys by starting xev and pressing them. The list of possible keysym values can be found in keysymdef.h. Omit the XK_ prefix. The numpad keys start with XK_KP_.

OTHER TIPS

I would think that your laptop has 'fn' key and little blue numbers on keys; 7,8,9,u,i,o,j,k,l and m. these are your numeric 'key pad', But if it doesn't...

In KDE > YaST2 > there are several on screen keyboards typically used for 'other' languages and Accessibility situation. Kvkbd seems to be installed on my openSuSE / KDE systems by 'default' as I did not specifically install it. On the right edge of Kvkbd, there is a << arrow looking thing that will expand it and show the numeric keypad. screenshot: of kvkbd:

enter image description here

Kicker > (in search, type) keyboard and you should see a list generate of all the keyboard related apps you have installed. If not, back to above, YaST2 and install one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top