jordansissel / xdotool

fake keyboard/mouse input, window management, and more
Other
3.18k stars 316 forks source link

xdotool is too old on DEBIAN based distro #395

Open EliteEgle opened 2 years ago

EliteEgle commented 2 years ago

Hello jordansisel, I was using Waishnav/Watcher to analyse my screen-time But just because debian xdotool version is old xdotool getactivewindow getwindowclassname command is not working. and hence not getting active window to program its silly to ask but I've to ask "Can you update debian package?" if you have that permission

Note: On my arch machine it works just fine

jordansissel commented 2 years ago

It looks like the latest version available on any Debian version is 3.20160805.1, and getwindowclassname was added in version 3.20210804.1. (For what it's worth, there was a 5 year gap between xdotool releases, so Debian is only a few months behind)

@dkg Thoughts? No pressure, though! Is this waiting on #387?

EliteEgle commented 2 years ago

@jordansissel No, but the following command is not working xdotool getactivewindow getwindowclassname on ubuntu whereas on arch and void linux its working

dkg commented 2 years ago

Yeah, i tried to update xdotool and libxdo in debian and ran into the ABI breakage noted in #387, so i stopped because i wasn't sure what the right next steps were given the changes i discovered. I didn't want to unilaterally bump the SONAME without it being bumped upstream, and i wasn't sure whether it made sense to patch it further to keep the ABI stable without any consensus that this was the right thing to do.

If there were a clearer plan in place, i'd be game to try again.