Workaround for bug "Extra frozen / stuck mouse cursor after auto screen lock / sleep" on Linux

Just update my Linux kernel from version 4.15.0 to 5.3.0 on Ubuntu 18.04 LTS and facing this problem. When unlock my desktop after screen turn-off, a "ghost" cursor showing up on my desktop and stuck there.

The bug does not fix yet, but the ghost cursor can remove by this trick without need log off:

Step by step:

Bug detail: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1875528

Origin post at https://archive.camratus.com/2020/05/24/workaround-for-bug-extra-frozen-stuck-mouse-cursor-after-auto-screen-lock-sleep-on-linux/ (2020-05-24)

Tags:
#linux #ubuntu