• palordrolap@fedia.io
    link
    fedilink
    arrow-up
    68
    ·
    2 days ago

    I know how LongtimeUser4 feels. His use case is ludicrous, sure, but xkcd’s ideas don’t come out of nothing.

    I am dreading trying to rewrite my scripts that currently rely on xdotool and wmctrl. When last I looked into it, the equivalents didn’t cover the features I use, and the rationale from Wayland seems to be “why would you want to do that, old man?”

    • tracelr201@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      43
      ·
      2 days ago

      I was the old person for the longest time but then I learned how ridiculously insecure the clipboard system in x11 is and I was suddenly like “oh would you look at the time, it’s wayland o’ clock already”

        • tracelr201@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 hours ago

          Any program running in the x session can read every keystroke, record your whole screen, and take a copy of everything put onto the clipboard at any time. It’s been mostly fine in practice in the past but more people are on linux now and it’s generally a bigger target than it used to be

    • uderecife@piefed.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Thanks to this wayland debacle, I accepted that as an X11 user I’m now retro. So I totally embraced this attitude. I don’t care about how awesome Wayland will one day be. I’m happy with all my old scripts running trustworthy xdotool and wmctrl.

      Once I allowed myself this paradigm shift, I became happy. I’ve attained digital Ataraxia.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 days ago

      What features do you use? I was able to replicate just about everything I do with ydotool. It’s admittedly goofy to setup, but once you understand it, it works fine.

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        ydotool was still in its infancy when I last looked and I haven’t wanted to look again because I suspected that the situation would not have changed.

        So anyway, I’ve just woken up and am too dopey to care, so I went and looked. ydotool does not do what I want.

        My scripts move, resize, change the title of, and sometimes even ask a window to close (wmctrl -c).

        As best as I can tell, I have to hope that my DE provides something that will do some of what I want, or else write generic code that figures out where a window is on screen and makes exactly the right mouse movements and clicks to resize a window or close it, which is highly non-trivial. And changing a window title would appear to be impossible.

    • kieron115@startrek.website
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 days ago

      So what you’re saying is you’re pro murdering children???

      (disclaimer/context: see alt-text from the linked comic)