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

Cosmic support #94

Open
BiteClassroom opened this issue Apr 20, 2024 · 11 comments
Open

Cosmic support #94

BiteClassroom opened this issue Apr 20, 2024 · 11 comments

Comments

@BiteClassroom
Copy link

any plans to support Cosmic

@stuartlangridge
Copy link
Owner

Does the snap not work in 18.10?

@BiteClassroom
Copy link
Author

Im using POP OS 22.04 with the new cosmic DE on wayland. the flatpack did now allow me to pick outside the app window. the snap wont even open (pick-colour-picker 1.60.178-e3e4c2b )

@stuartlangridge
Copy link
Owner

Ah, a different cosmic (Ubuntu 18.10 was also code named that). Anyway, Pick does not work under Wayland at all, I'm afraid. It's not possible for it to do so in any portable way; Wayland-based desktops block an application (rather than the desktop shell itself) from being able to capture the screen, and provide no standard way around that. So Pick under Wayland does not and cannot work, sorry.

@BiteClassroom
Copy link
Author

BiteClassroom commented Apr 21, 2024

Ok i see,so Any plans to do a Wayland edition in the future ? X11 will die one day anyway

@stuartlangridge
Copy link
Owner

Sadly, as I say, Wayland makes all applications of this type impossible. An app is not allowed to capture the screen. Only the desktop shell can do it. This means that if you'd like Pick to work on your Wayland desktop, then you'll have to lobby the makers of your desktop shell (System76?) to implement a feature like Pick in their shell themselves; an application can't do it.

(The other alternative is that the desktops of the world all agree on a standard API by which applications can request access to the screen display somehow and be granted that. If that happens and all desktop shells support it, I'd be happy to use that API in Pick. So far there's been little or no indication that that's going to happen, but if that's something you'd like to push for, the FreeDesktop people are probably a good place to start.)

@BiteClassroom
Copy link
Author

ok thanks so much

@BiteClassroom
Copy link
Author

There's already a standard protocol, it's called wlr screencopy. Also, all applications that need access to your screen will just prompt your portal which acts as a middle man, they never have to deal with each compositor'a API individually.

@stuartlangridge
Copy link
Owner

There is. However, as I understand it, this isn't something that'll be implemented by all desktops; it's a wlroots thing, and not stable or standardised yet. I might be wrong, but https://www.reddit.com/r/gnome/comments/10nuo4c/is_support_for_wlrscreencopyunstablev1_in_the/ describes one example of how it won't be implemented until it's stable. If I'm out of date on this and everyone actually does implement this already (and some way to change the mouse cursor to a custom image) then I'll happily look at having Pick work with it.

@BiteClassroom
Copy link
Author

Depends on your definition of "standardized", Gnome doesn't implement some protocols that are standardized, like layer_shell, but this is a Gnome issue, not a Wayland issue

You can make your own cursor pack with hyprcursor

@BiteClassroom
Copy link
Author

The xdg-desktop-portal interface for ScreenCapture is the de-facto standard protocol and supported by COSMIC

@BiteClassroom
Copy link
Author

its batter now

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