Ever wanted a nice comfy way to tell your system “Disable the screensaver until this window closes”? If so, drop this shell script onto your system and make sure that you’ve got the xwininfo, xdg-screensaver, and awk commands installed.
When you run the script, it’ll grab the cursor like xkill does. Once you pick a window, the screensaver will be disabled until it closes. You can also create a script to reverse the process by replacing “suspend” with “resume” in the last line.