In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
When I switch my main operating system from Windows to Ubuntu, the first consideration is the availability of screenshot tools. Although screenshots can also be taken using the default keyboard shortcuts, it is easier to edit screenshots if you use the screenshot tool.
This article will describe how to get screenshots through the methods and tools that come with the system when it is not suitable for third-party tools, as well as some of the best screenshot tools available for Linux.
Method 1: the default way to take screenshots in Linux
You want to capture the whole screen? Some area of the screen? A particular window?
If you only need to take a screenshot without editing it, then the default keyboard shortcuts can meet the requirements. And not only Ubuntu, but most Linux distributions and desktop environments support the following shortcuts:
PrtSc-take a screenshot of the entire screen and save it to the Pictures directory. Shift + PrtSc-take a screenshot of an area of the screen and save it to the Pictures directory. Alt + PrtSc-take a screenshot of the current window and save it to the Pictures directory. Ctrl + PrtSc-take a screenshot of the entire screen and store it on the clipboard. Shift + Ctrl + PrtSc-take a screenshot of an area of the screen and store it on the clipboard. Ctrl + Alt + PrtSc-take a screenshot of the current window and store it on the clipboard.
As mentioned above, it is fairly simple to take a screenshot in Linux using the default keyboard shortcuts. However, it is more convenient to use the screenshot tool if you want to edit the screenshot without importing the screenshot into another application.
Method 2: use Flameshot in Linux to take screenshots and edit
Flameshot
Functional Overview:
Comments (highlight, mark, add text, marquee) Picture blurred Picture cropped and uploaded to Imgur to open screenshot with another application
Flameshot was released to GitHub last year and has become a compelling tool.
If what you need is a new screenshot tool that can be used to mark, blur, and upload to imgur, then Flameshot is a good choice.
Here's how to install Flameshot and configure it according to your preferences.
If you are using Ubuntu, just search the Ubuntu Software Center to find Flameshot and complete the installation. If you want to use the terminal to install, you can execute the following command:
Sudo apt install flameshot
If you encounter problems during the installation process, you can follow the official installation instructions. After the installation is complete, you still need to configure it. Although you can start Flameshot at any time by searching, if you want to use the PrtSc key to trigger the startup, you need to specify the corresponding keyboard shortcut. The following are the relevant configuration steps:
Entering the "Keyboard Settings" page in the system setup will list all existing keyboard shortcuts, pull to the bottom and you will see a "+" button click the "+" button to add a custom shortcut key and enter the following two fields: name: any name is fine. " Command ": / usr/bin/flameshot gui finally binds this shortcut to the PrtSc key, which may conflict with the screenshot function of the system, but this warning can be ignored.
After configuration, your custom shortcut page will probably look like this:
Map keyboard shortcuts to Flameshot
Method 3: use Shutter in Linux to take screenshots and edit
Functional Overview:
Comments (highlight, mark, add text, check) Picture blurred Picture cropped and uploaded to Picture website
Shutter is a screenshot tool for all major Linux distributions. Although it has not been updated recently, it is still an excellent tool for manipulating screenshots.
Some defects of this tool may be encountered in the process of use. The most common problem with Shutter on any of the latest Linux distributions is that the ability to edit screenshots is disabled by default due to the lack of program icons on the taskbar. There is still a solution to this defect. You just need to follow our tutorial to fix this forbidden editing option in Shutter and display the program icon on the taskbar. Once the problem is fixed, you can use Shutter to quickly edit screenshots.
Similarly, search in the Software Center to find and install Shutter, or you can execute the following command in a Ubuntu-based distribution to install using the command line:
Sudo apt install shutter
Like Flameshot, you can start it manually by searching for Shutter, or you can set custom shortcuts in a similar way to evoke Shutter with the PrtSc key.
If you want to specify a custom keyboard shortcut, you only need to execute the following command:
Shutter-f
Method 4: use GIMP to get screenshots in Linux
Functional Overview:
Advanced image editing functions (zooming, adding filters, color correction, adding layers, cropping, etc.) take screenshots of an area
If you need to pre-edit the screenshot, GIMP is a good choice.
GIMP can be installed through the Software Center. If you encounter problems during installation, you can refer to the installation instructions on its official website.
To get a screenshot using GIMP, you need to start the program and navigate through "File- > Create- > Screenshot".
When the Screenshot option is turned on, you will see several control points to control the screenshot range. Click "Snap" to take a screenshot, and the image will be automatically displayed in GIMP for editing.
Method 5: use command line tools to get screenshots in Linux
This section applies only to terminal enthusiasts. If you also like to use terminals, you can use "GNOME screenshot tools" or "ImageMagick" or "Deepin Scrot", which are included in most popular Linux distributions.
ImageMagick
If your operating system is Ubuntu, Mint, or other popular Linux distributions, it usually comes with ImageMagick. If you do not have this tool, you can also use the installation source to install it according to the official installation instructions. You can also execute this command in the terminal:
Sudo apt-get install imagemagick
After the installation is complete, execute the following command to get a screenshot (capture the entire screen):
Import-window root image.png
The "image.png" here is the name of the screenshot file saved.
To get a screenshot of an area of the screen, execute the following command:
Import image.png
Deepin Scrot
Deepin Scrot is a relatively new screenshot tool based on terminals. Similar to the previous two tools, they are generally included in the Linux distribution. If you need to install it yourself, you can execute the following command:
Sudo apt-get install scrot
After the installation is complete, use the following commands to take screenshots.
Get a screenshot of the entire screen:
Scrot myimage.png
Get a screenshot of an area of the screen:
Scrot-s myimage.png
GNOME Screenshot tool (available for GNOME desktops)
The GNOME screenshot tool is a default tool that comes with Linux distributions that use GNOME desktops. If you need to delay getting screenshots, you can execute the following command (where 5 is the number of seconds to delay):
Gnome-screenshot-d-5
In WIN, you are used to using QQ's CTRL-ALT-A to take screenshots of specified areas, which is really convenient and easy to use, but in Linux, you can use gnome-screenshot to accomplish similar functions.
First, open the Keyboard in system Settings and add a new custom shortcut to the shortcuts.
Enter any name you like, such as "Screenshot", and enter the command:
Gnome-screenshot-a
After clicking apply, a new shortcut command appears, but it is still in the "disabled" state, that is, disable. Clicking "disable" will display as "New Shortcut key …" Then press the shortcut key you want to use, such as CTRL-ALT-A.
As shown in the figure, when the following interface appears, you can press CTRL-ALT-A to take a screenshot of the region.
To capture the full screen (dual screen display can capture double screen), just type
Gnome-screenshot
These are some excellent screenshot tools on Linux. Of course, there are many screenshot tools that are not mentioned (such as Spectacle for KDE distributions), but compared to the above tools are more useful.
Summary
The above is the whole content of this article. I hope the content of this article has a certain reference and learning value for everyone's study or work. Thank you for your support. If you want to know more about it, please see the relevant links below.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.