←back to thread

345 points splitbrain | 9 comments | | HN request time: 0.001s | source | bottom
Show context
z991 ◴[] No.41837564[source]
Wow, this is fantastic! This exact use case, on Linux, is why our company selected Zoom instead of Meet.

Awesome!

replies(1): >>41837644 #
1. z991 ◴[] No.41837644[source]
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!
replies(2): >>41837667 #>>41839720 #
2. machinestops ◴[] No.41837667[source]
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.
replies(2): >>41837959 #>>41839733 #
3. z991 ◴[] No.41837959[source]
Wow 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
replies(1): >>41838524 #
4. machinestops ◴[] No.41838524{3}[source]
Putting the two together is easy too:

$ clipscreen $(slop -F "%x %y %w %h")

NB. The lack of quotes around $() enables wordsplitting to occur.

replies(2): >>41839576 #>>41839625 #
5. samwhiteUK ◴[] No.41839576{4}[source]
Or

$ clipscreen $(slop | tr -s "+x" " ")

6. Narishma ◴[] No.41839625{4}[source]
I think you got the size and position switched.
7. hackernewds ◴[] No.41839720[source]
Did you have any issues implementing?
8. hackernewds ◴[] No.41839733[source]
this is just cmd+shift+5 in a Mac OS
replies(1): >>41840502 #
9. yjftsjthsd-h ◴[] No.41840502{3}[source]
Is it? I thought that took a screenshot, not fed coordinates to a program (in this case a screen sharing program)