5 ms·
Built it and took a fullscreen screenshot with GIMP to figure out the width/height/x/y coordinates I wanted and tested with Google Meet. Working perfectly!
by z991 2y ago
Built it and took a fullscreen screenshot with GIMP to figure out the width/height/x/y coordinates I wanted and tested with Google Meet. Working perfectly!
- machinestops 2y agohttps://github.com/naelstrof/slop https://github.com/naelstrof/slop Can also use a utility like this one, which lets you select an area of the screen and output it in a specified format.
- z991 2y agoWow that is also very cool. For those wondering, this is what it looks like: $ sudo apt install slop $ slop <selects an area on screen> 1719x1403+1080+277
- machinestops 2y agoPutting the two together is easy too: $ clipscreen $(slop -F "%x %y %w %h") NB. The lack of quotes around $() enables wordsplitting to occur.
- samwhiteUK 2y agoOr $ clipscreen $(slop | tr -s "+x" " ")
- Narishma 2y agoI think you got the size and position switched.
- hackernewds 2y agothis is just cmd+shift+5 in a Mac OS
- yjftsjthsd-h 2y agoIs it? I thought that took a screenshot, not fed coordinates to a program (in this case a screen sharing program)
- hackernewds 2y agoDid you have any issues implementing?