Please find this how to I found in one great config:
Code:
# in .fluxbox/startup
xmodmap -pke | grep -i print &
xmodmap -e "keycode 111 = F13" &
Code:
# in .fluxbox/keys
# change it has you d like for F12 and printkey
# screenshots
# xmodmap -pke | grep -i print => xmodmap -e "keycode 111 = F13"
# => i press "Print" and it dumps the screen :-)
#None F13 :ExecCommand scrot -s -q 75 '~/screensnapshot/shot-%Y-%m-%d-%H%M%S-$w-$h.jpg'
Shift Mod4 F12 :ExecCommand scrot -d 1 screensnapshot_"$(date)".png
None F13 :ExecCommand scrot -d 1 screensnapshot_"$(date)".png
Shift F13 :ExecCommand scrot -d 1 screensnapshot.png
Thread solved