How to take a screenshot on linux

So, a screenshot can be taken using standard operating system tools. On the keyboard of a stationary computer, netbooks and laptops, there is a special button for these purposes – Print Screen. It is labeled differently on different keyboards, PrtScr or PrtScr SysRq .

There are three options for how to take a screenshot using standard tools, now we will analyze each of these options.

  1. To take a screenshot of the entire screen, you just need to press a button PrtScr.
  2. Let’s take a snapshot of a specific window. Bring the desired window to the foreground and use the keyboard shortcut Alt+ PrtScr .
  3. Now let’s take a screenshot of any desired part of the screen. Click on Shift+ PrtScr, click and hold the left mouse button. Then just select the desired area of ​​the screen.

Using the Shutter program.

The built-in standard functionality is of course simple and fast, but it does not provide wide possibilities. For example, we want to make some changes to the screenshot we just took. Give an effect to this screen or draw pointers, mark the desired area. In this case, you cannot do without a third-party program. And the best program in my opinion, Shutter, comes to the rescue.

Very simple and straightforward to use. It also provides the ability to take pictures of a specific window and a specific area. Simple example of use

Shutter has additional plugins with which you can add various effects to the screen.

How to take a screenshot on linux

A screenshot app is a primary but essential utility that everybody seems to each every now and then. Though most Linux distros are able to capturing screenshots by default, having a strong screenshot app can prolong these functionalities even additional.

On this article, we’ll check out Shutter, a free and open-source screenshot program for Linux. We’ll talk about how one can set up Shutter in your system, together with a short information on utilizing the software.

How you can Set up Shutter

Here is how one can set up Shutter in your Linux machine.

On Ubuntu/Debian

To put in Shutter on Debian-based methods like Ubuntu and Kali Linux, sort the next command within the terminal:

Be aware that should you’re utilizing Ubuntu model 18.04 and above, you will have to put in Shutter from the linuxuprising PPA repository. Begin by including the PPA to the repository checklist.

Then replace your system’s repository checklist utilizing APT:

Lastly, to put in Shutter, run:

Alternatively, in case your system helps snap, you possibly can set up Shutter from the Snap Retailer utilizing:

On Arch Linux

Since Shutter is offered within the Arch Group repository, you possibly can obtain it immediately utilizing pacman.

On Fedora/CentOS and RHEL

On Fedora, sort any of the next instructions to put in Shutter:

On CentOS, you will should first allow the nux-dextop repository:

Then, set up Shutter utilizing YUM as follows:

How you can Use Shutter

Capturing screenshots with Shutter is a chunk of cake. As soon as you’ve got launched the app, go to File > New and select the kind of screenshot you need to seize. Accessible choices embody Choice, Lively Window, Desktop, Choose Window, Menu, Tooltip, and Net.

If you wish to seize the entire display screen, choose Desktop from the checklist, and Shutter will robotically take the screenshot for you. Equally, you may also take a partial screenshot utilizing Choice, seize the lively window by clicking on Lively Window, and choose the window you need to seize utilizing Choose Window.

To avoid wasting the screenshot, click on on File > Save As and choose an applicable location.

Be aware that the consumer interface would possibly barely differ relying on the distro you are utilizing. On Arch Linux, you get the screenshot choices proper below the app menu, with icons subsequent to the screenshot sort labels.

Associated: How you can Set up scrot and Seize Screenshots on Ubuntu

Capturing the Linux Desktop Effectively

Screenshots have grow to be an integral a part of our day by day lives. Individuals take screenshots for every thing—displays, blogs, social media posts, and many others. Whereas each working system supplies an honest screenshot performance out of the field, you possibly can transcend the bounds by putting in a third-party screenshot software.

If you’re appalled by the thought of putting in a devoted app for capturing screenshots, think about using the default key bindings to take screenshots in your pc.

Wish to take a screenshot on Ubuntu however do not understand how? Listed here are 4 simple methods to seize high-quality screenshots.

About The Writer

Deepesh Sharma
(89 Articles Printed)

Deepesh is the Junior Editor for Linux at MUO. He writes informational guides on Linux, aiming to supply a blissful expertise to all newcomers. Unsure about films, however if you wish to speak about know-how, he is your man. In his free time, yow will discover him studying books, listening to completely different music genres, or taking part in his guitar.

Extra
From Deepesh Sharma

Subscribe to our e-newsletter

Be part of our e-newsletter for tech suggestions, opinions, free ebooks, and unique offers!

How to take a screenshot on linux

Kali Linux have been the most advanced penetration testing machine introduced yet. It have most valuable tools used for every sort of hacking. To take advantage of kali linux hacking tools, you have to switch your OS to kali linux. You can either install Kali Linux as your default OS or just intstall as virtual machine within the same OS. You can learn more about how to install Kali Linux Virtualbox. Today in this tutorial, I am just going to share a very simple Kali Linux tutorial on how to capture screenshot in Kali Linux. It’s very simple and newbie friendly.

So, how to capture screenshot in Kali Linux? – Kali Linux Tutorial

There are two ways to capture a screenshot in Kali Linux. One is the ultimate easy one and the second one is a bit complex but it’s also not so complicated. So, don’t worry about anything.

Instructions to Follow

  • In the first way, you can take a screenshot in the similar way like you take in Windows OS by simply clicking the PrntScr button on the keyboard. As you hit that button, a screenshot will be saved in the Pictures folder of your Kali Linux. The major problem with it, it only captures full screen. We have no control over it to capture a specific window or region.
  • Second way is to take screenshot using command. For that, open up a terminal in the Kali Linux and type apt-get install imagemagick.
  • Once command is completed and imagemagick is installed. We have two options to take a screenshot with it. One is to capture full screen and second is to capture a specific window.
  • To capture full screen, type import -window root Pictures/AnyNameOfTheImage.png in the terminal. It will take full screenshot and will save it to the Pictures directory by the name you specify. Make sure to type .png at the end of the file name.How to take a screenshot on linux
  • To take screenshot of a specific window or region, type import Pictures/AnyNameOfTheImage.png in the terminal and hit Enter, it will turn the cursor to a selection tool. You just click mouse button and select the area you want to capture. As you will leave the mouse key, screenshot will be saved in the Pictures folder.How to take a screenshot on linux

That’s all how you can capture screenshot in Kali Linux. This is a very simple and beginner friendly Kali Linux tutorial to help out all the newbies how they can use this features in need. Hope it will be useful for you. For any query, feel free to comment below.

Here are all the ways you can capture, edit and share screenshots on Linux OS:

  1. How do I take a screenshot?
  2. How do I take a screenshot of a specific area?
  3. How do I take a screenshot of a single window?
  4. Where can I find that key?
  5. Is there a dedicated program for taking screenshots? How can I find it?

How do I take a screenshot?

  1. Press PrtScn to take a full-screen screenshot. You will be prompted to select where you would like to save the screenshot file.
  2. In most Linux desktop environments (like KDE Plasma, Gnome, XFCE) this either takes a screenshot or starts a program for taking screenshots.

How do I take a screenshot of a specific area?

  1. Press ⇧ Shift + PrtScn to select what you capture. You’ll be able to click and drag a selection box to determine what is captured in the screenshot. A file with the image you captured will be created in your Pictures folder.

How do I take a screenshot of a single window?

  1. Press Alt + PrtScn to take a screenshot of a window. This shortcut will create a screenshot of your active window. The file will be created in your Pictures folder.

Where can I find that key?

  1. PrtScn ScrLk Pause Look for this group of keys at the upper right of your keyboard. The Print Screen key is located at the top of the keyboard, usually between F12 and ScrLk .
  2. Note: Print Screen (PrtScn) It may be labeled “Print Screen”, “PrtScn”, “PrntScrn”, or something else similar.

Is there a dedicated program for taking screenshots? How can I find it?

  1. Screenshot Utility How to take a screenshot on linux
  2. Open the Screenshot Utility. The Gnome Screenshot utility allows you to perform some additional screenshot functions, such as adding a delay. You can find the Screenshot utility in the Accessories folder of your Applications menu.
  3. Select your screenshot type. You can choose from any of the options outlined above.
  4. Add a delay. If your screenshot is time-dependent, you can use the Screenshot utility to add a delay before the screenshot is captured. This will allow you to make sure the right content is on the screen.
  5. Select your effects. You can choose to include your mouse pointer in the screenshot, as well as whether or not you want to add a border to the screenshot.

How to take a screenshot on linux

In this article, I will show you how to take a screenshot in Arch Linux. By default Arch installation (GUI) comes with a screenshot utility. But there are other efficient and simple third-party utilities to take a screenshot on Arch Linux and other Linux distributions.

Below listed are the default keyboard shortcuts which work on UI across all Linux Distros.

PrtScn – Take a screenshot of the entire screen and save it to the users home ‘Pictures’ directory.
Shift + PrtScn – Take a screenshot of a section of the screen.
Alt + PrtScn – Take a screenshot of the active window to users’ home ‘Pictures’ directory.
Ctrl + PrtScn – Take a screenshot of the whole screen to the clipboard.
Shift + Ctrl + PrtScn – Select a specific area to the clipboard.
Ctrl + Alt + PrtScn – Take a screenshot of the active window to the clipboard.

Prerequisites

1. Arch Linux installed with GUI
2. Internet connection to download the tools

1. The default way to take a screenshot in Arch Linux

The Arch Linux installation (Pantheon UI) comes with a simple screenshot utility. You can go to software and search for “screenshot” and launch it.

How to take a screenshot on linux

Take a screenshot by default in Arch Linux

• Come up in GUI desktop installation, no need to separate install.
• Capture area: Screen, window and Selection.
• Delay your screen capture.
• Ability to show/hide mouse pointer in screenshot

2. Take Screenshot using Ksnip tool

Ksnip is a cross-platform, free screenshot tool that provides many annotation features for your screenshots.

1. Install snap with the following

2. Once installed, the systemd unit that manages the main snap communication socket needs to be enabled.

4. Install ksnip

You may need to restart the system to work correctly. Search ksnip and you can launch by clicking on it.

How to take a screenshot on linux

ksnip tool

• Taking screenshot of a custom rectangular area, screen/monitor, under mouse cursor also.
• Customizable capture delay for all capture options.
• Upload screenshots directly to imgur.com in anonymous or user mode.
• Command line support, for taking screenshot and saving it to default location, filename and format.
• Annotate screenshots with pen, marker, rectangles, ellipses, texts and stickers.
• Add watermarks to captured images.
• Blur the selection.

3. Take screenshots using Spectacle

Spectacle is a simple KDE application for capturing desktop screenshots. It can capture the whole screen, a specified region, an individual window, or only part of a window.

1. Install snap with the following:

2. Once installed, the systemd unit that manages the main snap communication socket needs to be enabled.

3. Enable the symbolic link.

4. Install Spectacle

You may need to restart the system to work correctly. Search Spectacle and you can launch by clicking on it.

How to take a screenshot on linux

Spectacle tool

• Capture Entire Desktop, current monitor, rectangular or active window
• Keyboard shortcuts for taking screenshots
• Include or exclude mouse pointer

4. Take screenshots using Flameshot

Flameshot, a simple and powerful, feature-rich screenshot tool for Unix-like operating systems. It is a completely free and open-source tool and also has a CLI version, so you can take screenshots from command line as well.

1. Flameshot is available in the community repository of Arch Linux. Make sure you have enabled community repository and install Flameshot using pacman as shown below:

Now, you can launch by just searching flameshot.

How to take a screenshot on linux

flameshot tool

• Annotate (highlight, point, add text, box in)
• Blur part of an image
• Crop part of an image
• Direct upload to [imgur] https://imgur.com/
• Mark you step with number on just click
• Add 2D image to your screenshot.

5. Taking screenshot in Arch Linux using command-line tools

ImageMagick package comes with a screenshot utility that allows us to take a screenshot from the command line. To take a complete screenshot of your active window, use:

Install GNOME screenshot allows GNOME users to print from GUI (Apps > Accessories > Take Screenshot) and command line.

For command line type gnome-screenshot, which will take a screenshot and dialog to save it.

To delay 2 mins and take screenshot, run,

To select a specific area choose -a option, once run mouse pointer will allow to drag and select portion.

Scrot is a tool that helps to take screenshots from CLI and set user-defined delay period.

To take a screenshot of the complete screen:

To capture a selected portion, run:

To set delay and give some more time to capture the image, type:

Where u option is for the currently active window and d option is for the delay in seconds.

Conclusion

In this article, we learned how to make use of different tools to take screenshots in Arch Linux. Please let us know if you are using any other screenshot tools which make your life easier.

How to take a screenshot on linux

Taking timed screenshots is very important for a Linux user, especially if you want to capture your screen or window in a specific state or time. For example, if you want to capture how a program behaves after n seconds, you can take a timed screenshot. In this article, we will explain how to take screenshots with a time delay from both the user interface and the command line.

We ran the commands and procedures mentioned in this article on an Ubuntu 18.04 LTS system.

Take screenshots in Ubuntu with a time delay via the user interface

The Gnome Screenshot is a very useful screen capture tool that allows you to take timed screenshots among many other functions. You can access the screenshot utility from the Ubuntu Dash or the application list.

How to take a screenshot on linux

Now select one of the following two options in the following dialog:

  • Grab the whole screen
  • Grab the current window

Then enter the time in seconds into the “After a delay of record” field and then press the Taks screenshot button.

How to take a screenshot on linux

Now you can switch to any window / full screen you want to record. The screenshot will be taken after the time delay you have set and you can save it with any name and location using the following dialog.

How to take a screenshot on linux

Take screenshots in Ubuntu with a time delay from the command line

To take a timed screenshot from the command line, use the same screenshot application but from the terminal.

Open the Ubuntu Terminal from either Dash or the keyboard shortcut Ctrl + Alt + T and then enter the following command:

The timeout for option d is one billion plus seconds, which is 11574 days.

You can switch to any screen you want and the screenshot will be saved to your pictures folder after the delay you set.

In my case, I didn’t change the view, so the screenshot looks like this:

How to take a screenshot on linux

By any of the options described in this article, you will not be able to record your screens now, but after a set time that you can specify in your UI screenshot application or the terminal command for screen recording.

Hey there! Just wanted to add my two cents about using Gimp for Screen shots. I am currently using Gimp v2.3 and if you open gimp, the go to: File —-> Acquire —-> Screenshot, You will have a couple of choices if what you can do or when you can take a screen shot. This is helpful when you are using beryl or compiz and want to take a shot mid cube spin. In version 2.3 you can check the box that says take a screen shot of the entire screen, set it for 5 seconds so that you have time to rotate partway and then make sure you hold it still for less messed up pixelation. I like to this mainly in gimp because you can then take the screen shot and in the Gimp menu on top of the screen shot you can go: Image —-> Scale Image, You will then see a Sacle-Image box that shows the different measurements. I change the measurement from the default to percent and change the width to 50 and hit enter, then select the scale button at the bottom. Then I do a save as.. name my file, choose the best Quality, By reducing the size now you kill two birds with one stone, you make it smaller so that it’s not so large in size, and you make it fit on the page where your posting it. Make sure that you rename it to .jpg instead of the gimp default .xcf. A similar screenshot at full resolution in the .xcf format yielded a 5.6 Mb image file.

Below is a screen shot that I took and reduced it by 50% and saved it as a jpg with quality equal to 100 percent. the total size for the file below was 364k.

The different versions of gimp have different features available, so YMMV. Also gimp v2.3 is the development version (v2.2 is the current stable version ;-))

How to take a screenshot on linux

You can take a screenshot of the entire screen by pushing the “Print Screen” (PrtSc) button on your keyboard. To get a screenshot of only the active window, use Alt-PrtSc.

Is there another way to take a screenshot?

The standard way to take an Android screenshot

Capturing a screenshot usually involves simultaneously pressing two buttons on your Android device; normally the volume down and power buttons. . Alternatively, you can press and hold the power button for a few seconds; select Screenshot from the few options that appear.

How do I take a screenshot without pressing the buttons?

In order to take screenshot without the power button, press the “Share” icon on the bottom panel of the screen. You will be able to see the screenshot animation, along with a bunch of sharing options directly under the screenshot.

Where do screenshots go on Linux?

screenshot is a default application for taking screenshots on Gnome desktop. To take screenshot simply hit PrtSc button on your keyboard and the screenshot of your entire desktop will be taken and saved as *. png file inside your

What is Prtscn button?

Sometimes abbreviated as Prscr, PRTSC, PrtScrn, Prt Scrn, PrntScrn, or Ps/SR, the Print Screen key is a keyboard key found on most computer keyboards. When pressed, the key either sends the current screen image to the computer clipboard or the printer depending on the operating system or running program.

Where is screenshot settings?

With the beta installed, tap the menu icon in the top right corner then go to Settings > Accounts & Privacy. Near the bottom of the page is a button labeled Edit and share screenshots. Turn it on. You might see a prompt the next time you take a screenshot, which will ask if you want to turn on the new feature.

How do I add screenshots to my notification bar?

Press and hold the Power + Volume Down buttons at the same time, and you’ll see a brief onscreen animation followed by a confirmation in the notification bar that the action was successful.

What is Samsung capture?

It can automatically scroll down the page or image, and screenshot the parts that would normally be missing. Smart capture will combine all the screenshots into one image. You can also crop and share the screenshot immediately. Information provided applies to devices sold in Canada and updated with Android 9.0 Pie.

How do I take a screenshot on my Windows computer?

To capture your entire screen and automatically save the screenshot, tap the Windows key + Print Screen key. Your screen will briefly go dim to indicate that you’ve just taken a screenshot, and the screenshot will be saved to the Pictures > Screenshots folder.

How do I take a screenshot online?

To get started, simply enter the full URL of any web page in the input box, solve the CAPTCHA and hit the “Screen Capture” button. Screenshot Guru cannot capture web pages that require login (like your Gmail mailbox), pages with Flash embeds (like the YouTube video player) or AJAX based sites like Google Maps.

I am using xfce on my Arch Linux. I am interested to take picture/screenshot of  SSID's of from WiFi  applet. The screenshot program works well  but it doesn't capture screenshot of system tray icons when they are open.

I am interested  to take picture of all WiFi ssids which my laptop is catching.If I click on WiFi applet on the system tray , it list all ssids, then I  use  "Screenshot" program  which doesn't take its picture/screenshot, I think because the WiFi menu is currently active.When I click on  "Screenshot" the  WiFi menu disappear.

Kindly guide me how may I fix the issue?

Last edited by gardenair (2021-09-21 14:23:55)

#2 2021-09-21 07:18:44

Re: [SOLVED]How to take Screenshot.

Which "screenshot program?"  xfce4-screenshooter?

Online

#3 2021-09-21 07:28:32

Re: [SOLVED]How to take Screenshot.

yes under Accessories. >Screenshot which is default  in xfce.

#4 2021-09-21 07:42:53

Re: [SOLVED]How to take Screenshot.

Install scrot from a repository. Read scrot –help. You can use delay with N seconds. In this meantime show up wifi icon / popup window. For example:

You can frame / crop image in for example mtpaint program, etc.

You can just get SSIDs by command (hope that network-manager is in use):

Last edited by Fixxer (2021-09-21 07:47:54)

#5 2021-09-21 08:30:09

Re: [SOLVED]How to take Screenshot.

When you press mouse button your wifi menu closes. You will need to have a shortcut setup in your window manager so that for e.g, you press PrtScr button and screen is captured using scrot or any program you use, that way you will not have to use mouse to capture a screen.

Arch is home!
cwm rofi weaver vifm vis lizzy pass terminator
https://github.com/Docbroke

#6 2021-09-21 09:58:02

Re: [SOLVED]How to take Screenshot.

Thanks "Fixxer" your valuable guideline. Appreciate it . scrot  is really a powerful tool for such things.

#7 2021-09-21 10:57:08

Re: [SOLVED]How to take Screenshot.

I'm using xfce4-screenshooter and to take a screenshot of say networkmanager information you need to set a delay in xfce4-screenshooter to say 5 seconds. and then you run xfce4-screenshooter, click to take a screenshot and at this point click on the Wi-Fi icon.
Anyway you have it shown on my screen shot