Using Mate on Ubuntu 20.04
From Control Center->Keyboard Preferences->Mouse Keys, it is a simple matter to turn keypad
control of the mouse pointer on and off.
I would like to programmatically toggle this service.
Research via google suggests using gsettings but that method is perhaps deprecated.
From Ubuntu – Turn Mousekeys on/off from keyboard – iTecTec the example
code does not work. I read from other discussions that shift+numlock should effect a toggle,
but that does not work on my setup either. I would note also that Mouse Keys works with both
Numlock on and off.
Advice on how to proceed would be greatly appreciated.
Thanks