flameshot-org / flameshot

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

Screens for dual monitors #72

Open Kelin2025 opened 6 years ago

Kelin2025 commented 6 years ago

Hello. You app is really nice but we need one more feature We have fullscreen option that captures all monitors. But it will be good to also add option to capture active monitor (based on cursor position) Can you do it?

lupoDharkael commented 6 years ago

I'll have to investigate how this could be done in wayland and if I can if it is worth the effort. I don't want to depend too much on features of specific environments. I'd like to have a clean codebase easing fast portability to new ecosystems.

Kelin2025 commented 6 years ago

Many of users have dual monitors so it's OK So what's about "code base" - you can just add method that will capture rectangle by coords and then you can pass screen sizes as coords and even windows positions to capture focused windows (like xfce4-screenshooter) Your code base will be clean

Kelin2025 commented 6 years ago

You can also realize middlewares / plugins mechanics to easily use on different - environments

guihkx commented 6 years ago

Man, I would also LOVE this feature! See if Spectacle's implementation can help you with this:

https://github.com/KDE/spectacle/commit/517a7baf46a4ca0a45f32fd3f2b1b7210b180134

Creteil commented 6 years ago

@lupoDharkael I think you can have a look to « SimpleScreenRecorder » code :

http://www.maartenbaert.be/simplescreenrecorder/

It is the right thing to do to select the screen, have a look to selection behavior...

borgmanJeremy commented 4 years ago

1099 Will do something similar.