Sample Header Ad - 728x90

Command-line tool to get "click and drag" rectangle coordinates from the screen

5 votes
1 answer
1889 views
I would like to execute a command-line command that activates "click and drag" mouse selection on a single local X11 screen. The goal is to: - get the selected rectangle **X** and **Y** coordinates, - get the rectangle **width** and **height**, - output these values to **stdout**, - (optional) draw a selection border while dragging the mouse.
Asked by user218169
Feb 27, 2017, 10:11 AM
Last activity: Feb 14, 2024, 04:39 PM