I use urxvt’s kuake plugin as a lighter replacement for Yakuake and, as a result, I’m using it with F12 as my “toggle terminal” keybind.
…unfortunately, that means that, every time my finger slips, I hit Print Screen.
As such, I wrote this little script you can use to Print Screen to file, with a confirmation dialog to avoid the need to keep deleting unwanted printouts.
To use it:
- Copy it to somewhere like
- Make sure zenity is installed
- Add these lines to your
Rxvt.print-pipe: ~/bin/confirm_print.sh URxvt.print-pipe: ~/bin/confirm_print.sh
xrdb -merge ~/.Xresources
- Restart any terminals you may have. (You are using