18

My cursor ends up dragging an icon around the screen, after some time of use. I'm running Ubuntu Gnome, and I'm suggesting that it has something to do with Docky, since the icons are coming from there.

Simply put, what happens is I make a tap or a long press on my left mouse button over an icon in Docky, and drag a little or a far, and the icon sticks to the mouse.

Is there anything I can do, to make this go away for good (a reboot is removing it, of course), or just be able to "clear" the cursor, without having to reboot?

enter image description here

Seth
  • 57,282
  • 43
  • 144
  • 200
nicklasmoeller
  • 181
  • 1
  • 3
  • If you disable Docky does this definitely stop? – Tim Dec 06 '14 at 10:48
  • If I disable Docky when it has happened, there's no effect - the icon attached to the mouse will still be there. If I disable it for good, there's no similar icon (or image) I can accidentally or on purpose, that I can drag around, which does have the same effect. So yes, the problem will go away without Docky, but that doesn't "clear" the mouse. – nicklasmoeller Dec 06 '14 at 23:51
  • 1
    What about using xkill? So open terminal, type `xkill` and click on docky? – Tim Dec 07 '14 at 09:32
  • That does definitely kill Docky including the icon to disappear! That should work for a temporary solution, but if it leads towards anything that can make it permanent, or have other questions, be welcome. Thank you! – nicklasmoeller Dec 08 '14 at 01:15
  • Okay, so it is definitely a bug with docky... Try reporting it on http://launchpad.net for now and I'll have a think about sollutions... – Tim Dec 08 '14 at 16:51
  • Same problem happens with clean 14.04. Without any docky. – Pilot6 May 21 '15 at 09:36
  • are you still looking for answers? – Anwar Sep 12 '16 at 18:01
  • No. I'm not using Docky anymore, so it might have been resolved in a newer version, I wouldn't know. – nicklasmoeller Sep 14 '16 at 21:21
  • 1
    Off topic?? Gee. – Seub Aug 06 '18 at 09:30

4 Answers4

2

This happens to me occasionally, but I just lock my screen and unlock it, and then the icon problem is resolved.

user311982
  • 1,267
  • 2
  • 10
  • 19
  • If it could save you time, just use xkill as described in the comments on my question, and reopen Docky. That's how I've went around it since Tim commented it, and it's not nearly as time consuming as locking and unlocking would be. – nicklasmoeller Mar 06 '15 at 19:31
  • Still happening on Ubuntu 18.04 for the "Terminator" terminal program and locking and unlocking does solve it. – isarandi Aug 14 '20 at 17:38
2

Start Terminal (Ctrl+Alt+T) and write command:

pgrep Docky

I had the same problem. But when I wrote above command in Terminal got it resolved.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
0

When this happens to me I put the mouse back where the icon came from (the dock) and double click and it just puts the icon back on the dock. I am using Kali Linux with Gnome though so not sure if the behavior will be the same.

SCBB
  • 61
  • 6
0

I have the similar issue too when I start the system. Run following commands:

dpkg -l |grep -i nvidia  
sudo apt-get remove --purge nvidia-*
sudo reboot  

Ctrl + Alt + F1

enter tty1:

sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop
sudo apt-get install unity
sudo shutdown -r now
d a i s y
  • 5,411
  • 9
  • 41
  • 59