Open ryanabx opened 5 months ago
cosmic-screenshot
should work with different portals as long as they provide the screenshot endpoint thingy. I tried it with GNOME.
Just a hunch, but what happens when you run it like so:
cosmic-screenshot --interactive=false --modal=false
Check ~/Pictures
afterwards.
I'm getting this issue on Pop!_OS 22.04 today after installing the latest updates. The PrtSc key and the plain command don't work.
jacob@serw13:~$ cosmic-screenshot
thread 'main' panicked at src/main.rs:71:10:
failed to receive screenshot response: Response(Cancelled)
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Running with --interactive=false --modal=false
does work to capture the entire screen.
All of a sudden my Fedora COSMIC image can't use cosmic-screenshot. I run it from the terminal (because I don't have printscr on my laptop (see: https://github.com/pop-os/cosmic-comp/pull/310)
and I get a panic:
thread 'main' panicked at src/main.rs:71:10: failed to receive screenshot response: Response(Cancelled)
Everything should be built to master as of a few hours ago.
This could potentially be a problem with GNOME being installed in addition to COSMIC, it might be using xdg-desktop-portal-gnome instead of cosmic's. Just a guess though