Thursday, 27 October 2011

Restoring Ubuntu 11.10's "print screen" behaviour

After upgrading from Ubuntu 11.04 to 11.10, I noticed that the behaviour of the print screen key had changed. Previously, hitting the key would pop up the "Take Screenshot" application, which presented options to grab the whole screen / the current window or to select a region to capture.

In 11.10, hitting print screen simply captures the whole desktop without prompting you for the other options. I often use the 'select region to capture' function to capture screenshots of our websites when reporting a presentation-related bug.

However, I managed to revert the functionality back to the way I liked.

Install compizconfig-settings-manager:
sudo apt-get install compizconfig-settings-manager

You can find it installed into Applications -> Other. Launch the CompizConfig Settings Manager and then check the "Gnome Compatibility" checkbox to enable the plug-in.

Then click the plug-in itself, go to "Commands" and change "Screenshot command line" to
gnome-screenshot -i
The -i flag is for "interactive mode", which prompts you for the type of screenshot you would like to take.

The old functionality is now restored. Brilliant!

1 comment:

me281 said...

excellent worked like a charm thankyou soooo much