I was wondering if there is a feature in linux like OSX "shake to locate cursor", which temporarily makes the user's mouse or trackpad cursor much larger when shaken back and forth, making it easier to locate if the user loses track of it.
gsettings set org.gnome.settings-daemon.peripherals.mouse locate-pointer true
On newer versions of Gnome seems to be on this path:
gsettings set org.gnome.desktop.interface locate-pointer true
Shift_R instead of
gsettings set org.gnome.mutter locate-pointer-key Shift_R
Open dconf-editor (might be installed first) and go to one of the above paths:
Another alternative (more Mac-style) is to use Jiggle GNOME extension.
In Linux Mint (18.1) you can go to Preferences > Mouse and, under Locate Pointer you can check a box that will tell the system to "Show position of pointer when the Control key is pressed".
I'm not sure if something similar is available on other distros.
Not quite what you asked for. Possibly useful?
There is also an excellent shake to find cursor package at the following github project: https://github.com/jeffchannell/jiggle
It took me a moment to find out how to install it though, so here it is for future reference: