From: mick crane <mick.cr...@gmail.com> Date: Sun, 19 Jun 2022 18:13:08 +0100 > https://stackoverflow.com/questions/21850145/monitor-mouse-coordinates-in-real-time-in-linux
From: Andreas Rönnquist <mailingli...@gusnan.se> Date: Sun, 19 Jun 2022 18:38:50 +0200 > https://askubuntu.com/questions/346913/show-realtime-mouse-cursor-coordinates-cursor-mod-overlay-also-copy-to-c From: Vincent Lefevre <vinc...@vinc17.net> Date: Tue, 21 Jun 2022 17:59:10 +0200 > I've added my own, complete solution: > > xterm -geometry 9x1+0+0 +sb -sl 0 -T 'Mouse location' -e ' > set -e; tput civis; stty quit "^["; > while true; do > eval $(xdotool getmouselocation --shell) && printf "%4d %4d\r" $X $Y; > sleep .05; > done' Thanks Mick, Andreas, Vincent. Here watch -ptn 0 "xdotool getmouselocation" suffices. Thx, ... P.L. -- mobile: +1 778 951 5147 VoIP: +1 604 670 0140 48.7693 N 123.3053 W