How do I take a screenshot when e.g. the wrench menu in Chrome is open?

Or perhaps the File menu in Firefox?


You have the option to capture the entire screen or the active window.

Entire screen

Install a tool for making screenshots, such as scrot, gnome-screenshot or ImageMagick, which provides import. Then run it with a delay from terminal, using one of these commands:

$ sleep 5; import -window root menu.png

$ scrot -cd 5 menu.png

$ gnome-screenshot -d 5

After running it, quickly open the menu and wait.

Active window

Both gnome-screenshot and scrot support taking a screenshot of the active window:

$ gnome-screenshot -wd 5

$ scrot -ucd 5 menu.png

Note that overlapping menus won't be compensated for but rather cut off: enter image description here

  • When I tried the import I got a screenshot of another desktop (using Gnome 3), but the others most certainly worked perfect! – Sandra Sep 18 '11 at 18:18
  • 1
    scrot -cd 5 will take a screenshot in 5... 4... 3... – Rob Sep 19 '11 at 15:50
  • gnome-screenshot -d 5 will have 5 second delay. Add -w to only capture the active window, not the whole desktop. – cledoux Dec 2 '13 at 20:08

Click on the menu that you would like to take a screenshot.

Then click "Print Screen" button (or the Fn+Print Screen) on the keyboard. Depending upon the version of linux open Tuxpaint (I assume using Debian), and paste the image.

This will actually save the entire screen. You may crop the extra areas now and save it in desired format.

This is one of the simplest ways that I use for snapshots...

  • At least in GNOME 3, the menu loses focus and closes when Print Screen is pressed. (Seems to be a bug, though.) – user1686 Sep 18 '11 at 19:18

Capturing menus in open applications is what Shutter screenshot tool is designed to do. Shutter can capture menus in their parent windows in any application, overlays, etc. as well as being able to capture everything that other screenshot tools can capture including entire screen, active window, selected area and webpage. Shutter is available in the repositories of most popular Linux distributions. In Debian-based distributions Shutter can be installed with this command:

sudo apt-get install shutter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.