Giter Club home page Giter Club logo

Comments (11)

stuartlangridge avatar stuartlangridge commented on August 31, 2024

Does the snap not work in 18.10?

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

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 )

from colourpicker.

stuartlangridge avatar stuartlangridge commented on August 31, 2024

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.

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

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

from colourpicker.

stuartlangridge avatar stuartlangridge commented on August 31, 2024

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.)

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

ok thanks so much

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

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.

from colourpicker.

stuartlangridge avatar stuartlangridge commented on August 31, 2024

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.

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

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

from colourpicker.

BiteClassroom avatar BiteClassroom commented on August 31, 2024

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

from colourpicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.