How to take a screen image in Linux
In Windows I was used to press the keyboard button "Prnt Scrn" and then transfer the image from the clipboard into the image processing program.
The print screen button seems to be inactive in Linux. How can I activate it or use an alternative method? |
Quote:
|
if you have imagemagick installed,
Code:
import -window root image.png |
Quote:
In KDE-4.14.3, hit the print screen button and it launches KSnapshot, which takes a picture of the screen, and from there you can do whatever you want with it. |
Welcome to the Forum!
The PrtScr key should work: sometimes you get a box pop up to ask you where to put the screenshot, sometimes it's just put in the Pictures folder. You can also just get a shot of the uppermost window with Alt-PrtScr. Somewhere in the menu there should be a keyboard shortcut configuration tool where you can check that the use of the key is set. This assumes you have one of the fully-featured desktops, like Xfce, KDE, Gnome, Mate, or Unity. If you have a simple window-manager you'll need to get a program. That's why it's a good idea to tell us what distribution and GUI you're using when you ask a question. KSnapshot is for KDE (and discontinued), but Scrot will work on anything: https://en.wikipedia.org/wiki/Scrot |
If you use Linux Mint 17.3 (which desktop environment?) as your profile says, I believe you go to the menu, choose "Accessories," and choose "Take screenshot."
You can also configure whatever key-combo (or just PrtScrn) to do this under "Keyboard" in settings. |
Quote:
Quote:
|
Thanks dwnthk, keefaz, cwizardone and DaidMcCann for the immediate and informative responses.
The print screen button is active, my attempts had been saved in the Pictures folder. KSnapshot works as well, also Scrot and another program called Shutter that I found through Wikipedia. Yes, I should have indicated my environment which is Linux Mint 17.3 with Cinnamon |
There's also scrot. Which you can assign to a hotkey, or run it from the CLI.
$ sleep 5 && scrot Plus various other ways in gimp and other tools. |
All times are GMT -5. The time now is 07:35 PM. |