flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.92k stars 1.52k forks source link

Select current display (in addition to Select entire screen) #3649

Open Mattwmaster58 opened 2 days ago

Mattwmaster58 commented 2 days ago

Feature Description

There is a keyboard action "Select entire screen". I think that "Select entire display" would be a nice complimenting keyboard action as well, especially in multi-display setups.

mmahmoudian commented 1 day ago

Thanks for your suggestion, but taking screenshot of a particular display/monitor is already implemented for quite many years now. For example to take the screenshot of display number1:

flameshot screen --number 1

You can accompany this with some "final actions" to do exactly what you want. For example, to save the screenshot to clipboard AND at the same time save it on disk in the "${HOME}/Pictures" path you can do:

flameshot screen --number 1 --clipboard --path "${HOME}/Pictures"
mmahmoudian commented 1 day ago

On second thought, by "There is a keyboard action" do you mean when the GUI is active and you are annotating the screenshot? If that's what you are looking for, I don't think it can be easily done because after the screenshot is taken from all monitors, they are stitched together to form a large canvas, and as the results Flameshot has no understanding of the monitor boundaries since everything is one large picture. I believe the best course of action using the current implementation is to decide about the monitor prior to capturing the screenshot.

Please let me know if my previous answer was addressing what you initially meant, or this answer is what you are looking for.

Mattwmaster58 commented 15 hours ago

do you mean when the GUI is active and you are annotating the screenshot?

Yes, exactly.

mmahmoudian commented 8 hours ago

I believe in the current implementation it is not possible (or at least I cannot think of a way without major processing overhead). I will keep this open in case in future we find a way.