Open SergioRibera opened 3 months ago
This error indicates the required protocols aren't available.
I have to say that it is probably my fault as I am running it in an environment without the session being managed by cosmic.
The screencopy-protocol is considered privileged by cosmic-comp
, as such it is only available for binaries launched through cosmic-session
. So whatever you exactly referring to as "not being managed by cosmic", that is very likely to cause this issue.
This error indicates the required protocols aren't available.
What protocol do you need?
The screencopy-protocol is considered privileged by
cosmic-comp
, as such it is only available for binaries launched throughcosmic-session
. So whatever you exactly referring to as "not being managed by cosmic", that is very likely to cause this issue.
It makes sense, it's a pity because the cosmic portal is very nice and I wanted to use it.
This error indicates the required protocols aren't available.
What protocol do you need?
cosmic-screencopy
atm. We are working on the upstream draft for ext-screencopy. Once that is merged and we updated our compositor and portal, it should start working on non-cosmic environments that implement it.
cosmic-screencopy
atm. We are working on the upstream draft for ext-screencopy. Once that is merged and we updated our compositor and portal, it should start working on non-cosmic environments that implement it.
Ooooh, this is great, do you have a source or a task list, where I can check how to help?
There isn't really anything to do at the moment.
The upstream process is almost done, with very few open discussion points. There aren't any further contributions needed nor endorsement for the idea. Merge should happen soon-ish and then we will need to wait for another wayland-protocol release. There are no fixed time-frames for this as this simply depends on specific contributors having enough time to handle these processes.
On COSMIC's side there is already a draft-implementation of the protocol. That will need to be updated, once all the naming of the upstream protocol is set in stone (so... once it is merged).
Then we will also need to update other cosmic-components to actually use the new protocol, though cosmic-screencopy and ext-screencopy will likely both exist in COSMIC for some time, so this will likely be a bit slower of a process as we don't have to update everything at once. At this point xdg-desktop-portal-cosmic can be updated as well to the new protocol.
I am trying to use the cosmic portal and I get this interesting error. Maybe I should open a similar issue in the cosmic protocol repository? 🤔
Details of my operating system:
OS: NixOs unstable ( nixpkgs commit ) WM: Niri - Wayland Cosmic XDG Portal: commit 016af6 Cosmic xdg portal pkg: my custom pkg from nixos-cosmic