Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Screenshot the currently active screen when using --interactive. #58

Open
nevdelap opened this issue Sep 19, 2024 · 3 comments

Comments

@nevdelap
Copy link

nevdelap commented Sep 19, 2024

My screens are are like this, 1 is my laptop, 0 is my external monitor.

screens

Running cosmic-screenshot --interactive=false --save-dir=~/Pictures screenshots the laptop screen, rather than the currently active screen.

I think in order to do non-interactive things, especially that are triggered by keyboard shortcuts, screenshotting the active screen makes sense.

There might be cases where being able to specify the screen to screenshot makes sense.

I'd suggest that always screenshotting one screen and not being able to control it isn't ideal.

@nevdelap nevdelap changed the title Screenshot the currently active screen when using --interactive. [Feature Request] Screenshot the currently active screen when using --interactive. Sep 19, 2024
@iamkartiknayak
Copy link

cosmic-screenshot --interactive=false --save-dir=~/Pictures This command captured screenshot of both screens in my case

cosmic-screenshot:
  Installed: 0.1.0~1721939965~22.04~031eb66

Screenshot_2024-09-24_20-18-45

@iamkartiknayak
Copy link

It would be better to have a --display flag to pass the appropriate number to capture the desired screen.

@nevdelap
Copy link
Author

I found now I am getting the same as you, it screenshots both screens at the same time. I recently switched from lightdm greeter to cosmic greeter. I wonder if that has anything to do with it. Having something like --display=[active|0|1...] would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants