I am on Linux Mint 18.3 Cinnamon 64-bit and I want to show highlight the pointer when I press click, to highlight the mouse in recordings. I tried KeyMon for this but it is pretty buggy: the highlight does not fade out if you move the cursor and the highlight can't go everywhere on the screen (such as the taskbar, or on the far left).

The option to show pointer when you press CTRL looks pretty much like I want, but I want to rebind it to left click instead of CTRL. Also, I'd like for the effect not to be activated when I press CTRL so I can use CTRL+C, CTRL+V, etc without showing the effect (so making the left click also trigger CTRL is not the ideal solution).

So is there any way I can do it?

1 Answer 1


I don't know how to rebind the key but we could solve this problem using two command line tools. Considering that the pointer animation is showed when you press CTRL, we can automate the process of pressing CTRL just after you left-click the mouse. That's possible using cnee and xdotool:

sudo apt install cnee xdotool

If you run the following line of code on a terminal window you will see the same animation that you see pressing CTRL when you left-click the mouse:

cnee --record --mouse | awk  '/7,5,0,0,1/ { system("xdotool keydown ctrl keyup ctrl") }'


enter image description here

OBS: Pressing CTRL+C or CTRL+ ANY CHARACTER does not activate the pointer animation. So the left-click triggering the CTRL key can be a solution...

You must log in to answer this question.

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