scrot has a nice delay argument, which allows you to take screenshots of things like menus that disappear when an other application takes focus. So scrot -d 5 gives you a five second delay.
More information about formatting options
Delay screenshot
scrot has a nice delay argument, which allows you to take screenshots of things like menus that disappear when an other application takes focus. So scrot -d 5 gives you a five second delay.