Open nevdelap opened 1 month ago
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
It would be better to have a --display
flag to pass the appropriate number to capture the desired screen.
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.
My screens are are like this, 1 is my laptop, 0 is my external monitor.
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.