How can I print-screen just one window and not my entire desktop?

Solution 1:

I'm not sure if Ubuntu 12 has a similar settings tools. Pull up System Settings and look at your Keyboard settings. Shortcuts contain many keys that your system may be expect you to use. Make sure you don't have a conflict with another keyboard shortcut and check that your screenshot shortcut is what you are expecting to use. I've disabled the general ALT key for dashboard that might interfere.

This is what it looks like in Ubuntu 13: enter image description here

Solution 2:

I don't have a fix for this issue, but I could suggest another option: use Shutter Install shutter. It's a pretty advanced screenshot application that lets you do a lot more than just take screenshots - including choosing where to save them.

enter image description here

Solution 3:

My 'answer' to this, at least for now was to look for the app itself. So I went to dash home (top left icon with circle) and looked for the 'Screenshot' app then when I saw it I dragged it to my unity icons on the left and now it's simply available as an app and I get the options of capturing just the window, etc. when I use it.

enter image description here

Solution 4:

you dont need to use any tool ubuntu 18.04 supports this out of the box simply use these keybinding

  1. Specifc Window in focus Alt+Fn+Prnt Scrn
  2. Full Screen fn+prt sc

if the funtion key is not available/doesn't work out,

  1. go to settings
  2. Under keyboard
  3. search for screenshot and tap on each action and set the desired keybindings for a desired action,hope this helps

enter image description here

Solution 5:

The reason this happens is that on many (most?) keyboards the PrtScn key is also the SysRq key, and Alt+SysRq is the "Magic SysRq Key" (see this answer: https://askubuntu.com/a/5168/50450). You can either disable the Magic SysRq key, or change the screenshot window shortcut to something else.