scrot: A screen capture utility
Take a screenshot of the full screen with scrot when Print are pressed
Take a screenshot of the current window with scrot when Alt+Print are pressed
1.
tux@slitaz:~$ sudo tazpkg -gi scrot
2.
tux@slitaz:~$ scrot --help | grep -A 3 Example
Example:
scrot '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/images/shots/'
Creates a file called something like 2000-10-30_2560x1024_scrot.png
and moves it to your images directory.
3.
tux@slitaz:~$ grep -A 3 Print .config/openbox/rc.xml
<!-- Take a screenshot of the full screen with scrot when Print are pressed -->
<keybind key="Print">
<action name="Execute"><command>scrot '%Y%m%d-%s.png'</command></action>
</keybind>
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key="A-Print">
<action name="Execute"><command>scrot -b -u '%Y%m%d-%s.png'</command></action>
</keybind>
tux@slitaz:~$