pop-os / cosmic-screenshot

Utility for capturing screenshots via XDG Desktop Portal
GNU General Public License v3.0
18 stars 8 forks source link

Cosmic screenshot doesn't work #3

Open gantryyork opened 6 months ago

gantryyork commented 6 months ago

The GUI for cosmic-screenshot can not be launched from the launcher

The cli for cosmic-screensheet run from the command line results in the following error

thread 'main' panicked at src/main.rs:20:10: failed to receive screenshot response: Response(Other)

gantryyork commented 6 months ago

When I run cosmic-screenshot from Pop/Wayland session, it seems to work fine and the GUI launches. It does not work from a Cosmic session

gantryyork commented 5 months ago

cosmic-screenshot works. GUI comes up. I can launch it from the command line I can launch it from the launcher

It would be nice if it were mapped to the print screen key by default

gantryyork commented 5 months ago

And now it's not working again. I get the same "thread 'main' panicked" error again.

gantryyork commented 5 months ago

It also no longer seems to launch from the Launcher

gantryyork commented 5 months ago

After taking the screenshot, I am unable to paste with either right click or ctrl-v

XandrCopyrighted commented 1 week ago

> cosmic-screenshot thread 'main' panicked at src/main.rs:69:10: failed to send screenshot request: Zbus(MethodError(OwnedErrorName(ErrorName(Str(Owned("org.freedesktop.DBus.Error.UnknownMethod")))), Some("No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop"), Msg { type: Error, sender: UniqueName(Str(Borrowed(":1.36"))), reply-serial: 17, body: Signature("s") })) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

XandrCopyrighted commented 1 week ago

fixed: add XDG_CURRENT_DESKTOP=cosmic to your environment variable