LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2016, 09:41 AM   #1
clawinus
LQ Newbie
 
Registered: May 2016
Location: North Carolina
Distribution: LM 17.3
Posts: 2

Rep: Reputation: Disabled
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?
 
Old 05-07-2016, 10:12 AM   #2
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 65

Rep: Reputation: Disabled
Quote:
Originally Posted by clawinus View Post
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?
I use a program called KSnapshot.
 
Old 05-07-2016, 10:20 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
if you have imagemagick installed,
Code:
import -window root image.png
 
Old 05-07-2016, 10:30 AM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 3,416
Blog Entries: 1

Rep: Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805
Quote:
Originally Posted by clawinus View Post
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?
What desktop are you using?
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.

Last edited by cwizardone; 05-07-2016 at 11:01 AM. Reason: Typo.
 
Old 05-07-2016, 10:35 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,440

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
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

Last edited by DavidMcCann; 05-07-2016 at 10:36 AM.
 
Old 05-07-2016, 10:52 AM   #6
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware
Posts: 922

Rep: Reputation: 276Reputation: 276Reputation: 276
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.
 
Old 05-07-2016, 11:12 AM   #7
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 3,416
Blog Entries: 1

Rep: Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805Reputation: 805
Quote:
Originally Posted by DavidMcCann View Post
...KSnapshot is for KDE (and discontinued)....
In KDE-5 (or whatever it is called) KSnapshot was replaced with Spectacle.

Quote:
Spectacle replaced KSnapshot with the release of KDE Applications 15.12 in December 2015.

With new features and a completely new UI, Spectacle makes taking screenshots as easy and unobtrusive as it can ever be. In addition to what you could do with KSnapshot, with Spectacle you can now take composite screenshots of pop-up menus along with their parent windows, or take screenshots of the entire screen (or the currently active window) without even starting Spectacle, simply by using the keyboard shortcuts ⇧ Shift+PrintScreen and Meta+PrintScreen respectively.

Spectacle was optimized to start fast, to absolutely minimize the time lag between when you start the application and when the image is captured.
https://en.wikipedia.org/wiki/KSnapshot
 
Old 05-07-2016, 11:47 AM   #8
clawinus
LQ Newbie
 
Registered: May 2016
Location: North Carolina
Distribution: LM 17.3
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-07-2016, 02:10 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,981
Blog Entries: 1

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Upgrade: linux-firmware-image, linux-image-dbg, ,linux-libc-dev mzsade Debian 1 11-14-2015 09:41 AM
Linux Based Screen Capture Utility (streaming, not single image) fultron Linux - Newbie 2 02-16-2007 03:59 AM
screen image reversing colors Perquisitor Ubuntu 0 11-19-2006 09:26 PM
how to change image on login screen izquierdista SUSE / openSUSE 3 04-07-2005 12:05 AM
Gqview can't full screen an image flubber Linux - Software 1 04-04-2004 07:23 AM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration