7

In Windows, it is possible to set pressing Ctrl to display the current location of the mouse pointer, as per this tutorial.

Is there a way of setting a key or key combination to perform the same action in Ubuntu?

7

Open Terminal and run the following command

gsettings set org.gnome.settings-daemon.peripherals.mouse locate-pointer true

Now if you press ctrl the pointer should be highlighted.

  • 1
    This solution has been a huge pain for me. I turned this feature on early after adopting the Gnome Desktop and didn't realize this was the issue behind my ctlr-* shortcuts being hijacked. For instance, ctrl-c and ctlr-v don't work as expected because this function overrides them. I was able to work around it by for instance holding down ctrl, then highlighting text I wanted to copy and then copying instead of highlighting and then crtl-c. I rely heavily on shortcuts and this was driving me nuts. – Ron Collins Nov 15 '17 at 18:37
  • @RonCollins You can undo this by running gsettings set org.gnome.settings-daemon.peripherals.mouse locate-pointer false. – pomsky Nov 15 '17 at 21:11
4

If anybody still needs it.
It is possible to find this option in the GNOME Tweaks, so go to

Keyboard & Mouse -> Pointer Location

and turn it on/off.

  • That workaround is too heavy. Additionally, I would need to see my cursor in first place to navigate there, or just use the keyboard. – neverMind9 Nov 6 '18 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.