Still setting up my new old computer the way I want it. Being Debian, of course, and not having a full desktop environment like Gnome or KDE, it has no PrtSc action mapped. Took me probably an hour Googling until I settled on xbindkeys. My $HOME/.xbindkeysrc file now has:
"$HOME/bin/screenshot.sh" Shift + Print
The script at $HOME/bin/screenshot.sh is the old standby, ImageMagick import:
#!/bin/bash TIMESTAMP=$(date +%Y%m%d%H%M%S) import -window root $HOME/tmp/$TIMESTAMP.png
And in my $HOME/.fluxbox/startup, I have
For the compose key, I also put, into my fluxbox startup file, xmodmap -e "keysym Super_L = Multi_key".
Hope this saves me some time and aggravation next time. If I can find it.
Back to blog or home page
last updated 2021-04-07 21:50:18. served from tektonic