How to Take a Screenshot in Linux

Taking a screenshot on Linux isn't quite as straightforward as it is on other operating systems, such as [https://www.wikihow.com/Category:Windows Windows] or [https://www.wikihow.com/Category:Mac macOS]. This is because there is no...
Method 1 of 4:

Using Gnome Screenshot

The PrtScn key does not work as a shortcut in all Linux distributions, but it works in most distributions with GNOME and GNOME-based desktop environments, such as Ubuntu and Linux Mint. If this section doesn't work, try one of the following methods.
  1. How to Take a Screenshot in Linux Picture 1How to Take a Screenshot in Linux Picture 1
    Press .PrtScn to take a full-screen screenshot. The screenshot will show everything in your display. You will be prompted to select where you would like to save the screenshot file.
    1. The Print Screen key is located at the top of the keyboard, usually between F12 and ScrLk. It may be labeled "Print Screen", "PrtScn", "PrntScrn", or something else similar.
  2. How to Take a Screenshot in Linux Picture 2How to Take a Screenshot in Linux Picture 2
    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.
  3. How to Take a Screenshot in Linux Picture 3How to Take a Screenshot in Linux Picture 3
    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.
  4. How to Take a Screenshot in Linux Picture 4How to Take a Screenshot in Linux Picture 4
    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.
  5. How to Take a Screenshot in Linux Picture 5How to Take a Screenshot in Linux Picture 5
    Select your screenshot type. You can choose from any of the options outlined above.
  6. How to Take a Screenshot in Linux Picture 6How to Take a Screenshot in Linux Picture 6
    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.
  7. How to Take a Screenshot in Linux Picture 7How to Take a Screenshot in Linux Picture 7
    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.
Method 2 of 4:

Using GIMP

  1. How to Take a Screenshot in Linux Picture 8How to Take a Screenshot in Linux Picture 8
    Install GIMP. GIMP is a free image editor that comes installed on some Linux distributions. If you don't have it installed, you can get it for free using your distribution's package manager or Software Center. Open the Software Center, search for "gimp", and then install the "GIMP Image Editor".
  2. How to Take a Screenshot in Linux Picture 9How to Take a Screenshot in Linux Picture 9
    Click the "File" menu and select "Create" → "Screenshot". The screenshot creation tool will open. This tool is very similar to the Gnome Screenshot utility.
  3. How to Take a Screenshot in Linux Picture 10How to Take a Screenshot in Linux Picture 10
    Select the type of screenshot you want to take. You can choose to take three different types of screenshots: single window, full-screen, or custom selection. If you choose the single window option, you'll be able to click the window that you want to take a screenshot of.
  4. How to Take a Screenshot in Linux Picture 11How to Take a Screenshot in Linux Picture 11
    Add a delay. You can add a delay before the screenshot is taken so that you can arrange everything exactly how you want it. If you have single window or custom screenshots selected, you'll choose your screenshot target after the delay timer runs out.
  5. How to Take a Screenshot in Linux Picture 12How to Take a Screenshot in Linux Picture 12
    Click "Snap" to take the screenshot. Depending on your settings, the screenshot may be taken immediately. When you're finished, the screenshot will open in the GIMP editing window.
  6. How to Take a Screenshot in Linux Picture 13How to Take a Screenshot in Linux Picture 13
    Save the screenshot. If you don't want to make any edits to the screenshot, you can save it to your hard drive. Click the "File" menu and select "Export". Give the screenshot a name and choose where you would like to save it. Click the "Export" button once you are satisfied.
Method 3 of 4:

Using ImageMagick

  1. How to Take a Screenshot in Linux Picture 14How to Take a Screenshot in Linux Picture 14
    Open the Terminal. ImageMagick is a command-line utility that can capture screenshots for you. Many distributions come with ImageMagick already installed, but you can install it for free from your distribution's package manager if you don't have it.
    1. To open the Terminal quickly in Ubuntu and many other distributions, press Ctrl+Alt+T.
  2. How to Take a Screenshot in Linux Picture 15How to Take a Screenshot in Linux Picture 15
    Install ImageMagick. On Debian-based distributions such as Ubuntu, type sudo apt-get install imagemagick and press Enter. You will be prompted for your administrator password. If ImageMagick hasn't been installed, it will begin downloading and installing. If it is already installed, you will be informed.
  3. How to Take a Screenshot in Linux Picture 16How to Take a Screenshot in Linux Picture 16
    Take a screenshot of the entire screen. Type import -window root Pictures/fileName.png and press Enter. Replace fileName with the name you want to give the screenshot.
  4. How to Take a Screenshot in Linux Picture 17How to Take a Screenshot in Linux Picture 17
    Take a screenshot of a specific window. Type import Pictures/fileName.png and press Enter. Replace fileName with the name you want to give the screenshot. The cursor will turn into a crosshair, and you can click the window that you want to capture.
  5. How to Take a Screenshot in Linux Picture 18How to Take a Screenshot in Linux Picture 18
    Add a delay to the screenshot. Type import -window root -pause # Pictures/fileName.png and press Enter. Replace # with the amount of seconds that you want to wait before the screenshot is taken. After waiting the set amount of time, the screenshot will be taken and you will be returned to the terminal prompt.
Method 4 of 4:

Using Shutter

  1. How to Take a Screenshot in Linux Picture 19How to Take a Screenshot in Linux Picture 19
    Install Shutter. This is a popular screenshot program that contains some advanced upload and editing capabilities. If you take and share screenshots often, you may want to give this program a try.
    1. You can find Shutter through most distribution's package managers. Simply search for "Shutter" and install the program.[1]
    2. To install Shutter from the Terminal on Debian-based distributions, type sudo add-apt-repository ppa:shutter/ppa and press Enter. Update your repositories by typing sudo apt-get update, and then install Shutter by typing sudo apt-get install shutter.
  2. How to Take a Screenshot in Linux Picture 20How to Take a Screenshot in Linux Picture 20
    Select the type of screenshot you want to take. Along the top of the Shutter window, you'll see the three options that you can pick from: "Selection", "Desktop" and "Window". Click the button to select the type of screenshot you want to take.
  3. How to Take a Screenshot in Linux Picture 21How to Take a Screenshot in Linux Picture 21
    Take your screenshot. If you selected "Desktop", your screenshot will be taken automatically. If you selected "Selection", the screen will dim and you can click and drag to create a selection box. Everything inside of the box will be captured. If you selected "Window", you can click the window that you want to take a screenshot of.
    1. The screenshot will be saved automatically to your Pictures folder.
  4. How to Take a Screenshot in Linux Picture 22How to Take a Screenshot in Linux Picture 22
    Edit the screenshot. After taking the screenshot, a preview will appear in the Shutter window. Click the "Edit" button to open the Shutter editor. You can use the editor to highlight things on the screenshot or make notations. Click "Save" when you are finished.
  5. How to Take a Screenshot in Linux Picture 23How to Take a Screenshot in Linux Picture 23
    Export the screenshot. You can send the screenshot to an image upload service, or add an FTP server to upload it to. Click the "Export" button to open the Export menu.
    1. In the "Public hosting" tab, you can choose to upload the screenshot to your Dropbox account or a variety of online image hosting websites. You'll be asked for your account credentials when you select one.
    2. In the "FTP" tab, you can enter in the connection information for your FTP server, which is useful if you post screenshots on a blog or website.
    3. In the "Places" tab, you can move the screenshot to another location on your computer or network.
4 ★ | 3 Vote