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

96,856

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

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 4

Alt+Fn+Prnt Scrn = Only print the window

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.

Share:
96,856

Related videos on Youtube

Michael Durrant
Author by

Michael Durrant

Updated on September 18, 2022

Comments

  • Michael Durrant
    Michael Durrant almost 2 years

    I could swear I've always been able to do Alt+Print Screen to get 'just that window' but right now I am getting my entire desktop.

    Any idea why this would be or what I can do to get my ability to do small window screen shots?

    I've tried a lot of combination with the Ctrl, Alt, Shift and Print Screen keys, but no luck, nothing happens in response. One option: Shift+Ctrl+Print Screen lets me do a selection using a cross hair to size out the screen capture but I don't know where this gets saved. I'm not being given the choice and it's not in Desktop or Pictures.

    I use an external keyboard, but I've tried using the laptop's own keyboard and no difference.

    I am running Ubuntu 12.04 and the laptop is a Samsung Ultrabook 900

    Update: I rebooted and it "fixed" it - for now. However this is not the first time I've seen this so I'm still curious as to why it happens, what I can do to fix w/o reboot and if other share the same problem.

    2014 Update:

    • Print Screen - print desktop
    • AltPrint Screen - print window
    • CtrlPrint Screen - select and print area

    all seem to be working fine now.

  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 4 years
    Another answer already says Alt + Fn + Print Screen combination. However neither that answer nor your own points out the Fn key doesn't exist on traditional keyboards. The Fn key is usually only found on laptops and special keyboards with backlit keys or other special hardware functions.
  • Mahesh Jamdade
    Mahesh Jamdade over 4 years
    Thanks for pointing out I have updated the answer