The way to detect the current mouse cursor type from bash or python
问题 I know that I can get the current location of the mouse cursor by executing "xdotool getmouselocation". I would like to detect the current mouse cursor type such as pointer, beam, or hand cursor from bash terminal or python code. Would this be possible? Thank you. June 回答1: You can use xdotool to continuously click where the link would be until the program notices the window title changes. When the window title changes, that means the link has been clicked, and the new page is loading.