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:
Solution 2
I don't have a fix for this issue, but I could suggest another option: use 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.
Solution 3
you dont need to use any tool ubuntu 18.04 supports this out of the box simply use these keybinding
- Specifc Window in focus Alt+Fn+Prnt Scrn
- Full Screen fn+prt sc
if the funtion key is not available/doesn't work out,
- go to settings
- Under keyboard
- search for screenshot and tap on each action and set the desired keybindings for a desired action,hope this helps
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.
Related videos on Youtube
Michael Durrant
Updated on September 18, 2022Comments
-
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 over 4 yearsAnother answer already says
Alt
+Fn
+Print Screen
combination. However neither that answer nor your own points out theFn
key doesn't exist on traditional keyboards. TheFn
key is usually only found on laptops and special keyboards with backlit keys or other special hardware functions. -
Mahesh Jamdade over 4 yearsThanks for pointing out I have updated the answer