• Frenchgeek@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I’m still trying to figure out why the only real way of taking screenshots fast in Wayland is to do a video capture of the desktop with pipewire…

      • Frenchgeek@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        I need it to automate fishing in Minecraft, and the normal way to take screenshots in Python (which is one line with PIL) on Linux went from at least 30 possible fps on X11 to 2 on Wayland. The only way to do it fast enough then is to use Pipewire. Which is one hell of a convoluted mess. (The next part of this whole mess will be finding a way to send mouse clicks without having Minecraft registering a mouse move too in case xdotools stop working)