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?”
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.
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”
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
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.
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.
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
xdotoolandwmctrl. 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?”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.
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”
Could you elaborate, please?
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
I still use a x11 session for xdotool sometimes. That tool is so awesome
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.
ydotoolwas 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.
ydotooldoes 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.
So what you’re saying is you’re pro murdering children???
(disclaimer/context: see alt-text from the linked comic)