Taking screenshots is a common task that helps in sharing views, ideas, and troubleshooting issues. In Ubuntu 20.04, there are several ways to take screenshots, but in this article, we will focus on using the Gnome-Screenshot tool and other built-in features.
To take screen snips on Ubuntu 20.04 with Gnome-Screenshot, you can use the default keyboard shortcuts, such as PrtSc for capturing the entire screen, Alt+PrtSc for copying the current window, and assigning a new shortcut for capturing a selected area. Alternatively, you can use the Gnome-Screenshot tool by running commands in the terminal, or install the xfce4-screenshooter tool for capturing a rectangular section of the screen. Another option is to install the Screenshot Tool GNOME Shell extension for a more user-friendly approach.
Default Keyboard Shortcuts
Ubuntu 20.04 comes with some default keyboard shortcuts for taking screenshots. You can find these shortcuts in the system settings.
- Navigate to Settings and select the Keyboard Shortcuts tab.
- Scroll down to find the Screenshots section. Here, you will find several options for taking screenshots.
- The default shortcut for copying the entire screen to the clipboard is
- To copy the current window, use
- For capturing a selected area, you can assign a new shortcut. Click on the ‘+’ sign at the bottom of the list, give your shortcut a name (like “Area Screenshot”), and set the command to
gnome-screenshot -a. Assign a key combination to it, like
- To save the selected area screenshot to the Pictures folder, press
Using the Gnome-Screenshot Tool
If you want more control over your screenshots, you can use the
gnome-screenshot tool. This tool is usually pre-installed on Ubuntu 20.04. If not, you can install it using the command:
sudo apt install gnome-screenshot
gnome-screenshot tool has several options:
- To capture the entire screen, use:
- To capture the current window, use:
- To capture a selected area, use:
These commands can be run from the terminal.
Another tool you can use is
xfce4-screenshooter. This tool allows you to capture a rectangular section of the screen. You can install it using the command:
sudo apt install xfce4-screenshooter
After installation, you can use the command
xfce4-screenshooter -r to capture a rectangular section of the screen. The
-r option stands for “region”. You can select the region by holding the left mouse button down and dragging. Press
ESC to cancel.
Screenshot Tool GNOME Shell Extension
For a more user-friendly approach, you can install the Screenshot Tool GNOME Shell extension. This extension adds a menu in the Ubuntu system tray, allowing you to easily select the type of screenshot you want.
You can customize various settings, including the auto-save location and keyboard shortcuts. This extension is particularly useful for those who frequently need to take different types of screenshots.
Ubuntu 20.04 provides several ways to take screenshots, from simple keyboard shortcuts to more advanced tools like
xfce4-screenshooter. By understanding these tools and how to use them, you can easily capture any part of your screen and share it with others. Whether you’re troubleshooting, creating a guide, or simply sharing a view, these tools make the process easy and efficient.
To take a screenshot of the entire screen using the default keyboard shortcut, press
PrtSc (Print Screen) key. The screenshot will be copied to the clipboard.
To capture the current window using a keyboard shortcut, press
PrtSc (Alt key and Print Screen key) simultaneously. The screenshot of the active window will be copied to the clipboard.
To take a screenshot of a selected area using a custom keyboard shortcut, you can assign a new shortcut in the system settings. Navigate to Settings, select the Keyboard Shortcuts tab, and scroll down to the Screenshots section. Click on the ‘+’ sign at the bottom of the list, give your shortcut a name (e.g., "Area Screenshot"), and set the command to
gnome-screenshot -a. Assign a key combination to it, such as
S. Now, you can use this shortcut to capture a selected area of the screen.
gnome-screenshot tool is not pre-installed on your Ubuntu 20.04, you can install it by running the command
sudo apt install gnome-screenshot in the terminal. This command will install the tool and make it available for use.
After installing the
xfce4-screenshooter tool using the command
sudo apt install xfce4-screenshooter, you can capture a rectangular section of the screen by running the command
xfce4-screenshooter -r in the terminal. The
-r option stands for "region". Simply hold the left mouse button down and drag to select the desired rectangular section. Press
ESC to cancel the capture.
To install the Screenshot Tool GNOME Shell extension, you can visit the Screenshot Tool GNOME Shell extension page and click on the toggle switch to enable the extension. This will add a menu in the Ubuntu system tray, allowing you to easily select the type of screenshot you want.