Screenshot of active window

Solution 1:

If you are running xfce, there is an entry in the FAQ:

"My desktop is so nice, I want to make a screenshot! How can I do that in Xfce?"

The answer mention xfce4-screenshooter http://goodies.xfce.org/projects/applications/xfce4-screenshooter (it can capture an active window too)

Solution 2:

I have solved the same problem in Xubuntu 13.04 in the following way:

  1. Open Settings Manager -> Keyboard.
  2. Choose Application Shortcuts tab.
  3. Select xfce4-screenshooter -w command and change the shortcut to Sys_Req (Press Print Screen button first and then any Alt button).