How to take a screenshot in Ubuntu/Linux


Read {count} times since 2020

You can take screenshots of your desktop in Linux. For taking screenshots you can use Take Screenshot application.

  • Use shortcut keys

To take a screenshot, use the following shortcut keys:

  <td width="50%">
    <b>Function</b>
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    Print Screen
  </td>
  
  <td width="50%">
    Takes a screenshot of the entire screen.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    Alt+Print Screen
  </td>
  
  <td width="50%">
    Takes a screenshot of the window which is active.
  </td>
</tr>
Default Shortcut Keys

  • From the Menubar

      Choose Applications ▸ Accessories ▸ Take Screenshot.

  • From the Terminal

              You can use the

gnome-screenshot 

              command to take a screenshot. The gnome-screenshot command takes
              a screenshot of the entire screen, and displays the Save Screenshot
              dialog. Use the Save Screenshot dialog to save the screenshot.
              You can also use options on the gnome-screenshot command
              as follows:
 

  <td width="50%">
    <b>Function</b>
  </td>
</tr>

<tr valign="TOP">
  <td height="6" width="50%">
    &#8211;window
  </td>
  
  <td width="50%">
    Takes a screenshot of the window that has focus.
  </td>
</tr><colgroup> <col width="128*"></col> <col width="128*"></col> </colgroup> 

<tr valign="TOP">
  <td width="50%">
    &#8211;include-border
  </td>
  
  <td width="50%">
    Takes a screenshot after the specified number of seconds, and displays the Save Screenshot dialog. Use the Save Screenshot dialog to save the screenshot.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;delay=seconds
  </td>
  
  <td width="50%">
    Takes a screenshot including the border of the window.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;border-effect=shadow
  </td>
  
  <td width="50%">
    Takes a screenshot without the border of the window.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;border-effect=border
  </td>
  
  <td width="50%">
    Takes a screenshot and adds a shadow bevel effect around it.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;interactive
  </td>
  
  <td width="50%">
    Takes a screenshot and adds a border effect around it.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;remove-border
  </td>
  
  <td width="50%">
    Opens a window that lets you set options before taking the screenshot.
  </td>
</tr>

<tr valign="TOP">
  <td width="50%">
    &#8211;help
  </td>
  
  <td width="50%">
    Displays the options for the command.
  </td>
</tr>

Option

When you take a screenshot, the Save Screenshot dialog opens. To save the screenshot as an image file, enter the file name for the screenshot, choose a location from the drop-down list and click the Save button. You can also use the Copy to Clipboard button to copy the image to the clipboard or transfer it to another application by drag-and-drop.

Show Comments