• fartsparkles@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      8 hours ago

      It does work but if you’re using Wayland, it won’t. But one would be rather silly to expect an X11/Xlib tool to work without X11.

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        10
        ·
        8 hours ago

        Yeah, I wouldn’t expect it to work, so I wouldn’t expect a meme to imply that Linux has great backwards compatibility, when things change somewhat rapidly in mainstream Linux, making it quite hard to maintain.

        • fartsparkles@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          7 hours ago

          X11 isn’t Linux… Linux is excellent for backwards compatibility. Can’t say the same about userspace though.

            • MotoAsh@piefed.social
              link
              fedilink
              English
              arrow-up
              6
              ·
              edit-2
              6 hours ago

              Yes, it does. Not only for servers, but every single application that wasn’t written for X11 specifically continues to just work. Which is the vast majority.

              • FishFace@piefed.social
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                3
                ·
                5 hours ago

                Would you enjoy trying to explain this to your grandma or other stereotypically tech-un-savvy relative after you got her to install Ubuntu and something she was able to do before stopped working after an update?

                You’re interested in backwards compatibility on servers, and in backwards compatibility for a subset of applications. Cool. Convenient for you! Recognise that there’s more to it than that, that when people meme about how awesome Linux is compared to Windows, focusing on servers and non-graphical applications isn’t good enough.

                • MotoAsh@piefed.social
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  52 minutes ago

                  Not backwards compatibility. Straight up compatibility.

                  and yes, I wouldn’t mind. I enjoy explaining things.

        • TrickDacy@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          The meme isn’t implying great backward compatibility. It’s implying great tool maintenance and availability.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      8 hours ago

      I’m going to miss xdotool (and wmctrl) when my distro eventually ditches X11.

      I don’t use them often, but I do use them, and their functionality is nice to have.

      There are partial replacements out there, but last I checked, they were very weak approximations.

        • palordrolap@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          4 hours ago

          They allow the user to script changes to, and pull information from, windows in the window manager. Like read, if not also set, a window’s title, change a window’s dimensions, move it around, send it to a different desktop, send keypresses, bring a window to the foreground, etc. etc.

          Basically, anything the user can do with the mouse, keyboard or window manager via the GUI, and a little more besides, can be automated.

          The two commands work slightly differently to each other and one can often do something the other can’t.

          As an example, I have a script that resizes the active window to a 4:3 ratio at full vertical height on my 16:9 monitor. I’ve then bound that script to a keypress in the window manager. It’s a lot like having something halfway between window mode and maximised mode.

          Couldn’t I do that with the mouse? Sure. But with the script I don’t have to gauge by eye and spend multiple mouse clicks and movements trying to get it just right.

          • Pika@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 hours ago

            That sounds absolutely amazing and something that I’m definitely going to be looking up when I go on my desktop later. Thank you for informing me

            • palordrolap@fedia.io
              link
              fedilink
              arrow-up
              2
              ·
              3 hours ago

              Be aware that a lot of distros will be switching from X11 to Wayland at some point in the not-too-distant future and these ancient tools will not work there.

              People have tried to write equivalents (ydotool is one I’m aware of), but Wayland has intentionally been written to make doing such things difficult, for “security” reasons.

              I will be grumpy until I can make my scripts work again, but that’s for future me to deal with.

              • Pika@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                3 hours ago

                Yeah, sadly, I’m aware. I know that Wayland is making its rounds. I’m not looking forward to it. I try it every once in a while to see if it’s gotten better, but so far, every time I’ve tried, I have artifacting and tearing, which just doesn’t happen on X11