For some reason, the mouse pointer on my Ubuntu 10.04 PC disappears after the computer is woken up from suspend. That PC is missing a keyboard, so I can fix this by logging via ssh, and issuing:
sudo service gdm restart
... however, this basically restarts gnome, and will close any applications that may have been running.
Another way to solve this is to set up that PC as a
synergy slave - and then move the mouse from the
synergy master to the slave desktop; this brings the mouse pointer back.
Is it possible to run some command, such that I don't need to restart X (or gdm) but I'll effectively restart the mouse pointer code? Then I could put this into a script on the desktop, and be able to recover the mouse pointer after suspend without needing a second machine (even with the mouse pointer invisible, mouseovers on icons are still rendered, so I could target this icon)..
Many thanks in advance for any answers,