Probably, you have noticed that I rarely include images in my posts. There are times though that a screenshot is required in order to avoid lengthy descriptions. A picture is like one thousand words…
In my previous post about the Tab Links Epiphany plugin, I needed to include a screenshot of a menu in Epiphany. As I am not a screenshot guru, the fact that there is no direct way to capture an image of an object, like a menu, suprised me. I expected that such a capability would exist in a flexible graphical toolkit like GTK.
Also, I should mention that it was impossible to screen capture the menu by using the Print Screen keyboard button or the Alt-Pring Screen button combination. Moreover, I didn’t find a way to accomplish the task with the GIMP‘s aquire feature, even by using the “delay” functionality. The menu would not be visible!
Anyway, the method I used was the following:
First, I issued the following command in a terminal:
$ gnome-screenshot --delay=10
This takes a screenshot of the whole desktop after waiting for 10 seconds. In the meantime I had raised Epiphany’s window and kept the mouse cursor over the menu I wanted to take a screenshot of.
After the 10 seconds had passed, the image was ready and the menu was visible. So, I loaded it in GIMP, cropped it and finally saved it.
If you happen to know of a better (quicker) way to take a screenshot of a menu, please drop me a line.
Taking a screenshot of a menu under GNOME by George Notaras is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2007 - Some Rights Reserved