mouse icon indicating copy to clipboard operation
mouse copied to clipboard

mouse.click() does not work for the interpreter in terminal

Open Perzan opened this issue 5 years ago • 9 comments

Steps to reproduce:

  1. Install mouse: python3 -m pip install mouse
  2. Open the interpreter with sudo: sudo python3
  3. Do the following:
import mouse
import time

while True:
  time.sleep(1)
  mouse.click()

No errors are thrown; It just silently fails. My mouse doesn't appear to select anything when I slowly glide it by some text in a text editor.

I am running Ubuntu 18.04.5 LTS

Perzan avatar Jan 29 '21 04:01 Perzan

I have the same problem, I'm running Ubuntu 19.10

SerxoLaxe avatar Feb 01 '21 21:02 SerxoLaxe

  1. test it in a other ubuntu. today i noticed that my maus script works in another (newly installed) kubuntu. but not in the system in which I work
  2. try sudo apt-get install python3-autopilot

sl5net avatar Feb 28 '21 14:02 sl5net

For me clicking generally is not working on Ubuntu 18.04. I tried to install python3-autopilot without success.

ruizcrp avatar Apr 01 '21 08:04 ruizcrp

I'm having this same issue on Manjaro

vincens2005 avatar May 19 '21 03:05 vincens2005

I have the same issue on Fedora 34.

grandant avatar Jun 28 '21 21:06 grandant

I'm having the same problem in Ubuntu 20.04.3. I guess that the problem is the nixmouse that must have been changed. But first I'll test on my mac that uses darwinmouse.

gabrielsaviank avatar Nov 20 '21 16:11 gabrielsaviank

Same on raspberry pi os

cfpwastaken avatar Dec 29 '21 17:12 cfpwastaken

Same on Arch

Heath123 avatar Dec 29 '21 17:12 Heath123

this is also a duplicate of #37

ebbit1q avatar Apr 04 '22 14:04 ebbit1q