Creating screenshots using imagemagick

29 September 2016

Normally I don’t use the “print”-key on my keyboard. I woud like to use it to quickly create screenshots. So I’ll map the following command to my .fluxbox/keys-file:

sleep 5s && import /home/dr/Screenshots/`date +%F-%T`.jpg

After 5 seconds of idle-time this command will activate a screenshot. After the cursor changed I can select a window or a region on my screen. The screenshot will be saved with it’s date and time under /home/dr/Screenshots.

[ Linux  Tricks  Shell  ]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti