July 27, 2024, 22:11
python pyautogui - attempt to move the cursor using pyautogui.moveTo(screen_width - 1, screen_height - 1) xdotool via subprocess - subprocess.run(["xdotool", "mousemove", str(screen_width - 1), str(screen_height - 1)]) - also tried to execute xdtool before initializing pygame: subprocess.run(["xdotool", "mousemove", "1919", "719"]) pynput - mouse.position = (screen_width - 1, screen_height - 1) evdev - ui.write(e.EV_REL, e.REL_X, screen_width - 1) ui.write(e.EV_REL, e.REL_Y, screen_height - 1) ui.syn()Nothing seems to make the cursor move out of the way - I am trying to move it to the lower right of the screen where it will be hidden. Any input is greatly appreciated.