mouse icon indicating copy to clipboard operation
mouse copied to clipboard

Run on Raspberry Pi failing

Open getgray opened this issue 5 years ago • 1 comments

I'm trying to use mouse to capture the mouse position. Need something to capture the mouse events without X running.

I have installed via sudo pip install mouse

I tried:

import mouse
print mouse.version

that works, reports 0.7.1

But if I try

import mouse
print mouse.get_position()

I get: PuTTY X11 proxy: Unsupported authorisation protocol

Does X have to be running to use "mouse"?

getgray avatar Oct 25 '20 17:10 getgray

@getgray Are you running in sudo?

Perzan avatar Jan 29 '21 04:01 Perzan