2

X11 can convert the numerical keypad into a mouse pointer controller with

setxkbmap -option keypad:pointerkeys

so that KP_Left moves the mouse pointer to the left, KP_Right moves it to the right, etc. However, I find the speed too slow. As I learned from Mouse Keys Wikipedia article, there are five parameters to adjust the speed vs. time curve, which are said to be configurable, so how to configure them?

1 Answer 1

3

The parameters can be configured using xkbset. The syntax is

xkbset ma mk_delay mk_interval mk_time_to_max mk_max_speed mk_curve

There is even xkbset-gui to help visualizing the resulting speed vs. time curve as the parameters are tweaked.

enter image description here

3
  • What is your final parameter setting that was comfortable to you?
    – zkytony
    Commented Feb 8, 2023 at 18:11
  • Mine is 1, 46, 6, 10, 1900 for the five parameters in this GUI. This mimics normal mouse really well. Don't forget to press "Apply Changes."
    – zkytony
    Commented Feb 8, 2023 at 18:14
  • 1
    @zkytony, I do not use it much, but xkbset ma 50 40 30 100 300 is what I have. Thanks for the remark on pressing "Apply changes", this window doesn't fit the height of my screen so I never knew there were buttons below!
    – Quasímodo
    Commented Feb 9, 2023 at 23:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .