coordinates of mouse pointer code example Example: get mouse coordinates # Real time mouse position. watch -t -n 0.0001 xdotool getmouselocation