5 Ways to Take a Screenshot on Linux

5 Ways to Take a Screenshot on Linux

Capturing screenshots on Linux is a breeze, whether or not you are utilizing the traditional GNOME desktop, the modern KDE Plasma, or some other standard desktop surroundings. With only a few keystrokes or clicks, you may simply protect a snapshot of your display, be it for sharing, documentation, or private reference. On this information, we’ll delve into the varied strategies for taking screenshots on Linux, making certain you may have a complete understanding of this important pc ability.

Utilizing the built-in screenshot utility is essentially the most simple methodology for capturing screenshots on Linux. Most desktop environments include a pre-installed utility that gives primary screenshot performance. For example, in GNOME, you may press the “PrtScn” key to seize a screenshot of your complete display. Alternatively, you may press “Ctrl+PrtScn” to seize solely the lively window. These screenshots are routinely saved to your Footage listing as PNG photographs.

For extra superior screenshotting choices, you may make the most of exterior instruments like Shutter or Flameshot. These instruments provide a variety of options akin to delayed screenshots, area choice, annotation instruments, and picture modifying capabilities. Shutter, for instance, lets you seize a screenshot of a whole net web page, even when it extends past the seen space in your display. Flameshot, then again, offers a handy annotation toolbar for shortly including highlights, arrows, and textual content to your screenshots.

Utilizing the Keyboard Shortcut

Essentially the most simple and broadly used methodology to seize a screenshot on Linux is thru keyboard shortcuts. This method is handy and will be carried out shortly, making it supreme for capturing impromptu screenshots.

To take a screenshot utilizing the keyboard shortcut, press the “Print Display screen” key situated on the highest row of your keyboard. Alternatively, on some keyboards, you might must press “Fn” + “PrtScn” concurrently. Upon urgent the shortcut, you’ll hear a shutter sound, indicating that the screenshot has been captured.

By default, the captured screenshot will not be saved to a particular location. As an alternative, it’s saved within the system’s clipboard. You may then paste the screenshot into a picture editor, doc, or different software to save lots of or share it.

Further Particulars:

Keyboard Shortcut Motion
PrtScn Captures your complete display
Alt + PrtScn Captures the lively window solely
Shift + PrtScn Captures the chosen space

Using the Mouse

Using the mouse offers an easy and environment friendly methodology for capturing screenshots on Linux. Observe these steps to take a screenshot utilizing this methodology:

  1. Place the mouse cursor over the specified space you wish to seize.

  2. Capturing Particular Areas:

    • Maintain down the Alt key whereas clicking and dragging the cursor to pick out the specified space.
    • When you launch the mouse button, a small menu will seem with the next choices:
      • Copy to Clipboard: Copies the screenshot to your clipboard.
      • Save to File: Saves the screenshot as a picture file to your most popular location.
      • Cancel: Discards the screenshot.

By choosing considered one of these choices, you may seize and retailer the screenshot as per your necessities.

  1. Capturing Complete Display screen:
    • Merely press the Print Display screen key (normally labeled as "PrtScn" or "PrtSc").
    • This can seize a screenshot of your complete desktop and duplicate it to your clipboard.
    • To save lots of the screenshot as a picture file, open a picture editor (akin to GIMP or Inkscape) and paste the screenshot from the clipboard.

Seize a Particular Space

To seize a screenshot of a particular space on Linux, you need to use the `gnome-screenshot` instrument. This is how:

  1. Press the `Print Display screen` key to open the screenshot instrument.
  2. Choose the “Choose space” choice from the menu.
  3. Click on and drag the mouse cursor over the realm you wish to seize. A blue rectangle will seem to point the chosen space.
  4. Launch the mouse button to take the screenshot.

The screenshot can be saved as a PNG file within the ~/Footage/Screenshots listing.

Superior Choices for Capturing a Particular Space

The `gnome-screenshot` instrument presents a number of superior choices for capturing a particular space:

Possibility Description
Delay Units a delay (in seconds) earlier than taking the screenshot, supplying you with time to place the cursor and choose the specified space.
Affirm Prompts you to verify the choice earlier than taking the screenshot.
Embody cursor Captures the mouse cursor within the screenshot.

To entry these choices, click on the “Choices” button within the screenshot instrument and choose the specified settings.

Seize the Complete Webpage

Steps:

  1. Open the net web page you wish to seize.

  2. Proper-click on the web page and choose "Examine Component."

  3. Within the developer instruments window, click on on the "Extra instruments" button (three dots) and choose "Seize full web page screenshot."

  4. Further Particulars:

    Configure the next settings within the "Seize full web page screenshot" dialog field to customise your screenshot:

    Setting Description
    Seize seen space solely Captures solely the presently seen portion of the webpage.
    Protect log Contains the console log within the screenshot.
    Scroll vertically Takes a vertical screenshot of your complete webpage.
    Scroll horizontally Takes a horizontal screenshot of your complete webpage.
    Contact occasions Captures a screenshot as if the webpage was touched.
    Fastened format Captures a screenshot in a set format, whatever the display dimension.
  5. Click on on the "Seize" button to take the screenshot.

  6. The screenshot can be saved to your pc as a PNG file.

Taking a Full-Display screen Screenshot

To seize a screenshot of your complete display, observe these steps:

  1. Press the Print Display screen key in your keyboard.
  2. Open a picture modifying program like Microsoft Paint or GIMP.
  3. Click on on the Edit menu and choose Paste.
  4. Save the picture within the desired format utilizing the File menu and Save As choice.

Prolonged Steps for Detailed Screenshot Seize

  1. Provoke Screenshot Seize: Press the Print Display screen key to seize a full-screen screenshot.
  2. Copy Screenshot to Clipboard: The screenshot is quickly saved on the clipboard, able to be pasted.
  3. Open Picture Enhancing Software program: Launch a picture modifying software program akin to Microsoft Paint or GIMP.
  4. Paste Screenshot: Beneath the Edit menu, choose Paste to switch the screenshot into the software program.
  5. Crop and Improve: (Non-obligatory) If desired, use the cropping instruments to regulate the screenshot’s dimensions and make the most of enhancement options like brightness, distinction, and coloration correction to optimize the picture.
Motion Description
Press Print Display screen Captures the full-screen picture.
Open Picture Enhancing Software program Creates a canvas to stick the screenshot.
Paste into Software program Locations the screenshot onto the canvas.
Crop and Improve (Non-obligatory) Improves the screenshot’s look (e.g., cropping, adjusting colours).
Save Screenshot Preserves the screenshot in a desired format (e.g., JPEG, PNG).

Superior Choices utilizing the Screenshot Utility

The screenshot utility offers a variety of superior choices that allow you to customise and refine your screenshots. These choices help you set particular areas, seize home windows, or apply numerous results to your photographs.

To entry these choices, open the screenshot utility and click on on the “Choices” button within the top-right nook of the window. You may be offered with a variety of choices that may be adjusted to your liking.

Customizing the Screenshot Area

The screenshot utility lets you choose a particular area of your display to seize. To do that, click on on the “Area” tab inside the choices window. Right here, you may specify the precise dimensions of the area you wish to seize, making certain that you simply solely seize essentially the most related info.

Capturing Particular Home windows

If you happen to solely wish to seize a particular window or software, the screenshot utility offers the choice to take action. Click on on the “Window” tab inside the choices window and choose the window you wish to seize from the drop-down menu. The screenshot utility will then solely seize the chosen window, excluding some other components in your display.

Making use of Results to Screenshots

The screenshot utility presents a wide range of results that may be utilized to your screenshots. These results embody blurring, pixelation, and highlighting. To use an impact, click on on the “Results” tab inside the choices window and choose the specified impact from the drop-down menu. You too can regulate the depth of the impact utilizing the slider offered.

Impact Description
Blur Blurs the screenshot to various levels
Pixelate Pixelates the screenshot to create a mosaic-like impact
Spotlight Highlights a particular space of the screenshot

Setting a Default Save Location

For added comfort, you may set a default save location on your screenshots. This eliminates the necessity to manually choose a vacation spot every time you seize a screenshot. This is the right way to do it:

Utilizing GNOME Screenshot Utility

  1. Open GNOME Screenshot Utility from the Actions menu or software launcher.
  2. Within the preferences window, choose the "Save" tab.
  3. Beneath "Default Save Location," choose "Particular folder" and specify the specified listing.

Utilizing Flameshot Screenshot Software

  1. Launch Flameshot from the Actions menu or software launcher.
  2. Click on on the "Choices" icon within the toolbar.
  3. Within the "Common" tab, beneath "Save," choose "Save screenshots to" and specify the default save location.

Utilizing Shutter Screenshot Software

  1. Open Shutter from the Actions menu or software launcher.
  2. In the primary window, click on on "Edit" and choose "Preferences."
  3. Within the "Common" settings, beneath "Default Save Location," choose the specified listing.

Utilizing ImageMagick

If you happen to desire utilizing command-line instruments, you may set the default save location for screenshots utilizing ImageMagick.

  1. Open a terminal window.
  2. Run the next command:
convert -window root screenshot.png

Exchange "screenshot.png" with the specified filename on your screenshot. This command will seize your complete display and reserve it to the present working listing.

To set the default save location, add the "-write" choice adopted by the specified listing. For instance:

convert -window root -write /residence/username/Screenshots/ screenshot.png

This command will save the screenshot to the "/residence/username/Screenshots/" listing.

Capturing with a Command-Line Software

The command-line instrument for capturing screenshots is scrot. It presents a variety of customization choices, permitting you to fine-tune the output to your particular wants.

Fundamental Utilization

To take a screenshot utilizing scrot, merely open up a terminal window and kind scrot adopted by the specified choices. For instance, the next command will seize your complete display and reserve it as a PNG file named “screenshot.png”:
scrot -s screenshot.png

Superior Choices

scrot offers a variety of superior choices that help you customise the screenshot seize course of. Listed here are some generally used choices:

Delay

The -d choice specifies a delay in seconds earlier than the screenshot is taken. That is helpful for capturing drop-down menus or transient results.
scrot -d 3 screenshot.png

Area

The -s choice lets you specify an oblong area to seize. The syntax is -s left,high,width,peak.
scrot -s 100,100,400,300 screenshot.png

Format

The -f choice specifies the output file format. Supported codecs embody PNG, JPEG, and BMP.
scrot -f jpg screenshot.jpg

High quality

The -q choice units the JPEG compression high quality. A decrease high quality worth will produce a smaller file dimension, however may lead to diminished picture high quality.
scrot -q 75 screenshot.jpg

Choice

The -c choice lets you choose a particular window or space on the display to seize. The syntax is -c window_id or -c area_id.
scrot -c $(xwininfo -id $(xprop -root 32772 29)) screenshot.png

Automating Screenshots with Crontab

Crontab is a strong Linux instrument that lets you schedule duties to run at particular instances. This may be helpful for automating repetitive duties, akin to taking screenshots. This is the right way to use Crontab to automate screenshots on Linux:

1. Set up the crontab package deal

If you happen to do not have already got the crontab package deal put in, you may set up it with the next command:

“`
sudo apt set up crontab
“`

2. Create a crontab file

To create a crontab file, open a terminal window and kind the next command:

“`
crontab -e
“`

This can open the crontab file in your default textual content editor.

3. Add a crontab entry

So as to add a crontab entry, add a line to the crontab file within the following format:

“`
minute hour day-of-month month day-of-week command
“`

For instance, the next crontab entry will take a screenshot day-after-day at 5:00 AM:

“`
0 5 * * * gnome-screenshot -f /residence/username/Desktop/screenshot.png
“`

You should use the next desk that will help you perceive the totally different fields within the crontab entry:

| Discipline | Description |
|—|—|
| minute | The minute of the hour to run the command |
| hour | The hour of the day to run the command |
| day-of-month | The day of the month to run the command |
| month | The month of the 12 months to run the command |
| day-of-week | The day of the week to run the command |
| command | The command to run |

4. Save the crontab file

After you have added your crontab entry, save the crontab file and exit the textual content editor. The modifications will take impact instantly.

5. Check the crontab entry

To check your crontab entry, you need to use the next command:

“`
crontab -l
“`

This can show the contents of the crontab file. You need to see your new crontab entry listed.

6. Troubleshooting

In case you are having hassle getting your crontab entry to work, you may strive the next troubleshooting suggestions:

* Guarantee that the crontab file is saved within the appropriate location. The crontab file ought to be situated at /and so forth/crontab.
* Guarantee that the crontab entry is within the appropriate format. The crontab entry ought to be within the following format:
“`
minute hour day-of-month month day-of-week command
“`
* Guarantee that the command is executable. The command ought to be situated in a listing that’s included within the PATH surroundings variable.
* Guarantee that the person who’s working the crontab entry has permission to execute the command.

Utilizing Third-Social gathering Screenshot Instruments

If you happen to’re on the lookout for extra superior screenshotting capabilities or wish to seize screenshots of particular areas or functions, think about using third-party screenshot instruments. Quite a few free and premium choices can be found, every providing its distinctive options and performance.

### 1. Greenshot

Greenshot is a well-liked, open-source screenshot instrument that is each highly effective and simple to make use of. It lets you seize your complete display, chosen home windows, or particular areas and even apply annotations and results.

### 2. Flameshot

Flameshot is one other open-source screenshot instrument that is recognized for its user-friendly interface and customizable shortcuts. It presents numerous seize modes, together with rectangular, round, and freeform, and lets you annotate and share screenshots seamlessly.

### 3. Shutter

Shutter is a complete screenshot instrument that gives an intensive set of options. It lets you schedule screenshots, arrange keyboard shortcuts, and apply superior modifying choices. Shutter additionally integrates with cloud storage companies for straightforward sharing.

### 4. Kazam

Kazam is a screencasting instrument that may also be used for taking screenshots. It lets you seize your whole display or particular home windows and document audio and video if obligatory. Kazam is a good choice for customers who must create display recordings or seize screenshots with audio narration.

### 5. Deepin Screenshot

Deepin Screenshot is a light-weight and intuitive screenshot instrument designed particularly for the Deepin Linux desktop surroundings. It presents a easy and environment friendly strategy to seize your complete display or particular areas and apply primary modifying operations.

### 6. GNOME Screenshot

GNOME Screenshot is the default screenshot instrument included within the GNOME desktop surroundings. It is simple and presents primary screenshotting capabilities, akin to capturing your complete display, lively window, or rectangular picks.

### 7. ScreenCloud

ScreenCloud is a cloud-based screenshot instrument that lets you take screenshots remotely from any machine. It presents an internet interface and cell apps to seize screenshots, annotate them, and share them with others securely.

### 8. ShareX

ShareX is a feature-rich screenshot instrument that goes past simply capturing photographs. It lets you routinely add screenshots to numerous platforms, add annotations, create GIFs, and even document your display.

### 9. ImageMagick

ImageMagick is a command-line utility that gives a variety of picture manipulation capabilities, together with screenshot seize. Whereas it is extra technical than different instruments, it presents intensive customization choices and scripting capabilities.

### 10. GIMP

GIMP is a strong open-source picture editor that may also be used to seize screenshots. It presents a customizable interface, superior modifying instruments, and the flexibility to create and manipulate screenshot photographs with precision.

| Software | Options |
|—|—|
| Greenshot | Open-source, seize whole display, chosen home windows, or areas |
| Flameshot | Open-source, user-friendly interface, customizable shortcuts |
| Shutter | Complete, scheduling, keyboard shortcuts, superior modifying |
| Kazam | Screencasting and screenshotting, audio and video recording |
| Deepin Screenshot | Light-weight, intuitive, for Deepin Linux |
| GNOME Screenshot | Fundamental, seize whole display, lively window, rectangular picks |
| ScreenCloud | Cloud-based, distant screenshots, safe sharing |
| ShareX | Characteristic-rich, automated uploads, annotations, display recording |
| ImageMagick | Command-line instrument, intensive customization, scripting capabilities |
| GIMP | Picture editor, superior modifying instruments, screenshot manipulation |

The right way to Take a Screenshot on Linux

Taking a screenshot on Linux is an easy course of that may be achieved in a couple of alternative ways. The most typical strategy to take a screenshot is to make use of the built-in screenshot instrument, which will be accessed by urgent the “Print Display screen” key in your keyboard. This can take a screenshot of your complete display and reserve it to the clipboard. You may then paste the screenshot into a picture modifying program or different software.

If you wish to take a screenshot of solely a particular window or space of the display, you need to use the “gnome-screenshot” instrument. To make use of this instrument, press the “Alt” + “Print Display screen” keys in your keyboard. This can open the “gnome-screenshot” instrument, which you need to use to pick out the realm of the display you wish to seize. After you have chosen the realm, click on on the “Take Screenshot” button to save lots of the screenshot to the clipboard.

There are additionally a variety of third-party screenshot instruments obtainable for Linux. These instruments sometimes provide extra options than the built-in screenshot instrument, akin to the flexibility to annotate screenshots, add results, and save screenshots in several codecs.

Folks Additionally Ask

How do I take a screenshot on Linux with out the terminal?

You may take a screenshot on Linux with out the terminal by utilizing the built-in screenshot instrument or the “gnome-screenshot” instrument.

How do I take a screenshot of a particular window on Linux?

You may take a screenshot of a particular window on Linux by utilizing the “gnome-screenshot” instrument.

How do I take a scrolling screenshot on Linux?

You may take a scrolling screenshot on Linux by utilizing the “gnome-screenshot” instrument.