how to show mouse coordinates code example Example: get mouse coordinates # Real time mouse position. watch -t -n 0.0001 xdotool getmouselocation