The default way to capture your screen to a file is to press the PrintScreen key. The program Spectacle will pop up. It allows you to capture