taking screenshot with menu activated using keyboard

Taking a screen shot pressing PrtScr key will not work if I have the application menu activated or a pop-up menu (right-click).

I know it s possible to do that using a delay on the screen shot application, but sometimes it would be a lot better to use a keyboard shortcut to do that.

Does anyone know if it is possible to take those screen shots using PrtScr key (or some other shortcut)?


Solution 1:

After some research, I found out this is a won't fix bug described in Gnome's Bugzilla.

So the only way to do it is use the screen shot tool with a delay, as described before.

Thanks for the help.

Solution 2:

The standard screenshot application gnome-panel-screenshot application supports a --delay argument (amongst others).

For a full list, run at a terminal

gnome-panel-screenshot --help

Edit : D'oh, you already know about that.

You can use the Keyboard settings panel to define custom shortcuts to commands - including arguments.