• Count Regal Inkwell
    link
    fedilink
    912 months ago

    I hope this becomes popular enough that a lot of major distros start adopting it as a default

    Specifically because I want to see turbo-weirdos talk about how higher-quality cursors are “bloat” or “against KISS” for the next 10 years. 💀

    • @Grass@sh.itjust.works
      link
      fedilink
      112 months ago

      I snorted my coffee reading this. It’s probably more in the inevitably become true category rather than funny category too

      • Count Regal Inkwell
        link
        fedilink
        102 months ago

        If none of my predictions come true, I made some peeps laugh and that’s enough

        If they do I get to call back to this post and pretend I’m smart (I am not)

        Either way, it’s a net positive.

        • @Killing_Spark@feddit.de
          link
          fedilink
          5
          edit-2
          2 months ago

          Don’t forget to delete this comment before you call back to the original one. Otherwise the future people will know you aren’t actually smart!

          Edit: Also, hello there future people!

    • @Armando3996@lemm.ee
      link
      fedilink
      62 months ago

      Tbh I dont really see how anyone can call this bloat( I use doas btw). Its just so much more space efficient. 4 example I ported capitaine cursors and it takes below 200 kbs of space, its just that much more space efficient

      • Count Regal Inkwell
        link
        fedilink
        82 months ago

        You are most likely correct from a technical point of view.

        But don’t ever underestimate the potential of weird folks to be – Weird.

        Not that I think it’s per se a bad thing – But I feel like a lot of Linux people are pack bonded to the utilities and tools they have grown used to. Whatever justification they write comes after the fact from an emotional reaction to seeing the thing they are bonded with lose ground.

        • camel-cdr
          link
          fedilink
          22 months ago

          I must admit that I personaly see this as slightly bloated for using SVG, although I don’t see a good alternative. Supporting SVG fully basically requires a webbrowser, because it has JavaScript support. The best alternative I can think of is using fonts formats, but that is less accessible for custom cursors, and idk how they deal with colors.

  • @KISSmyOS@feddit.de
    link
    fedilink
    602 months ago

    Sometimes I long back for the times when I just used my computer to do things, instead of forming an opinion about the compression rate of my cursor’s image data.

  • Irdial
    link
    fedilink
    English
    552 months ago

    Interesting. I didn’t realize XCursor predates most image formats XD

    • @deadbeef79000@lemmy.nz
      link
      fedilink
      682 months ago

      X* predates almost everything still in common use.

      Which is, frankly, amazing.

      It’s also why Wayland took (is taking) so long. It has to compete against X11 with decades of development.

      That’s a tall order.

      • @kylian0087@lemmy.world
        link
        fedilink
        332 months ago

        X* predates almost everything still in common use.

        it is ancient when talking about computer related things. 1984 was the initial release. Almost twice my age holy!

  • @Fisch
    link
    53
    edit-2
    2 months ago

    I hope GTK and GNOME (or is GTK part of GNOME?) adopt this, I didn’t even know just how bad the inefficiency with todays cursors is. Having a single svg for each cursor and rendering it server-side makes so much more sense.

    Did someone already open an issue for this?

  • @N0x0n
    link
    31
    edit-2
    2 months ago

    Interesting and fun read, thank you !

    In the beginning, the earth was without form, and void. Wait, a bit too far behind.

    😁

  • @sibloure@beehaw.org
    link
    fedilink
    272 months ago

    Very cool. I wish the entirety of the computer’s interface was scalable SVG so any custom resolution is possible and looks good.

    • @morrowindOP
      link
      102 months ago

      Yeah vector gui is a very cool idea. That said, arbitrary scaling on windows “just works” these days so definitely possible on Linux too without any radical tech changes

  • @SturgiesYrFase
    link
    132 months ago

    Thanks for sharing this, was a neat look under the hood.

  • Thordros [he/him, comrade/them]
    link
    fedilink
    English
    102 months ago

    That was a very cool read. I’m not particularly technical—I can build a PC and install an OS, and that’s about it—and I understood most of it. I had no idea that cursors were such heavy pieces of crap!

  • @timbuck2themoon@sh.itjust.works
    link
    fedilink
    English
    72 months ago

    One of the more interesting things I’ve read here. Very nice work. So long as it is free of vulnerabilities (with your small codebase, seems it should be) then this seems like a great addition. Hoping for widespread adoption.

  • Dizzy Devil Ducky
    link
    fedilink
    English
    32 months ago

    Yo! I would love for something like this to become a thing because I have recently become a big fan of SVGs. Would absolutely love a custom cursor that scales to any size with minimal issues of it looking too small on the 1080 TV I sometimes plug my laptop into using HDMI.

    • WalrusDragonOnABike [they/them]
      link
      fedilink
      162 months ago

      Metadata Some cursors cannot become SVGs, and that’s fine. Some cursors are used for more than one shape, and that’s fine. Some cursors are animated, and that’s fine! All of a shape’s properties are described in a small meta.hl file alongside them.

      Seems like it should support it?

      • @Wes_Dev
        link
        22 months ago

        Instead of each frame of animation being a grid of pixels, each frame is a small collection of math describing the visuals.

        But we’d still have frames to use for animation, if we want.

        Instead of replacing one PNG for another PNG to make the illusion of movement, we replace one SVG with one SVG instead.