translated

This commit is contained in:
geekpi 2022-08-10 08:33:10 +08:00
parent 1d0a6ff0aa
commit 8dbcd7dafa
2 changed files with 71 additions and 71 deletions

View File

@ -1,71 +0,0 @@
[#]: subject: "3 ways to take screenshots on Linux"
[#]: via: "https://opensource.com/article/22/8/screenshots-linux"
[#]: author: "Jim Hall https://opensource.com/users/jim-hall"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
3 ways to take screenshots on Linux
======
Save time by taking screenshots on Linux with one of my favorite tools.
![Digital creative of a browser on the internet][1]
When writing about open source software, I prefer to show a few screenshots to help demonstrate what I'm talking about. As the old saying goes, a picture is worth a thousand words. If you can show a thing, that's often better than merely trying to describe it.
There are a few ways you can take screenshots in Linux. Here are three methods I use to capture screenshots on Linux:
### 1. GNOME
GNOME has a great built-in screenshot tool. Just hit the **PrtScr** key on your keyboard, and GNOME displays a screenshot dialog:
![Image of GNOME screenshot tool][2]
The default action is to grab a screenshot of a region. This is an incredibly useful way to crop a screenshot as you make it. Just move the highlight box to where you need it, and use the "grab" corners to change the size. Or select one of the other icons to take a screenshot of the entire screen, or just a single window on your system. Click the circle icon to take the screenshot, similar to the "take photo" button on mobile phones. The GNOME screenshot tool saves screenshots in a Screenshots folder inside your Pictures folder.
### 2. GIMP
If you need more options for screenshots, you can grab a screenshot using GIMP, the popular image editor. To take a screenshot, go to **File**and choose the **Create**submenu, and then choose **Screenshot**.
![Image of the GIMP screenshot menu][3]
The dialog allows you to take a screenshot of a single window, the entire screen, or just a region. I like that this tool lets you set a delay: how long until you select the window, and how long after that to take the screenshot. I use this feature a lot when I want to grab a screenshot of a menu action, so I have enough time to go to the window and open the menu.
GIMP opens the screenshot as a new image, which you can edit and save to your preferred location.
### 3. Firefox
If you need to take a screenshot of a website, try Firefox's built-in screenshot utility. Right-click anywhere in the web page body, and select **Take Screenshot** from the menu:
![Image of screenshot utility][4]
Firefox switches to a modal display and prompts you to click or drag on the page to select a region, or use one of the icons to save a copy of the full page or just what's visible in the browser:
![Image of Firefox modal display][5]
As you move your mouse around the screen, you may notice that Firefox highlights certain areas. These are block elements on the page, such as a  `<div>` or another block element. Click on the element to take a screenshot of it. Firefox saves the screenshot to your **Downloads** folder, or wherever you have set as your "download" location.
If you're trying to document a process, a screenshot can save you a lot of time. Try using one of these methods to take a screenshot on Linux.
Image by: (Jim Hall, CC BY-SA 40)
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/8/screenshots-linux
作者:[Jim Hall][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/jim-hall
[b]: https://github.com/lkxed
[1]: https://opensource.com/sites/default/files/lead-images/browser_web_internet_website.png
[2]: https://opensource.com/sites/default/files/2022-07/screenshot-gnome.png
[3]: https://opensource.com/sites/default/files/2022-07/gimp-screenshot.png
[4]: https://opensource.com/sites/default/files/2022-07/firefox-screenshot_cropped_0.png
[5]: https://opensource.com/sites/default/files/2022-07/firefox-screenshot_1.png

View File

@ -0,0 +1,71 @@
[#]: subject: "3 ways to take screenshots on Linux"
[#]: via: "https://opensource.com/article/22/8/screenshots-linux"
[#]: author: "Jim Hall https://opensource.com/users/jim-hall"
[#]: collector: "lkxed"
[#]: translator: "geekpi"
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
在 Linux 上截屏的 3 种方法
======
通过使用我最喜欢的工具之一在 Linux 上截屏来节省时间。
![Digital creative of a browser on the internet][1]
在写开源软件时,我更喜欢展示一些截图来帮助演示我在说什么。古语有云,一图胜千言。如果你能展示一件事,那通常比仅仅试图描述它要好。
有几种方法可以在 Linux 中截图。以下是我在 Linux 上用于捕获截图的三种方法:
### 1. GNOME
GNOME 有一个很棒的内置截图工具。只需按下键盘上的 **PrtScr**GNOME 就会显示一个截图对话框:
![Image of GNOME screenshot tool][2]
默认操作是抓取区域的截图。这是一种在你制作截图时裁剪截图的非常有用的方法。只需将高亮显示框移动到你需要的位置,然后使用“抓取”角来更改大小。或选择其他图标之一以截取整个屏幕或系统上的单个窗口。点击圆圈图标进行截图,类似于手机上的“拍照”按钮。 GNOME 截图工具将截图保存在图片文件夹内的截图文件夹中。
### 2. GIMP
如果你需要更多截图选项,你可以使用流行的图像编辑器 GIMP 截图。要进行截图,请选择**文件**并选择**创建**子菜单,然后选择**截图**。
![Image of the GIMP screenshot menu][3]
该对话框允许你截取单个窗口、整个屏幕或仅一个区域的屏幕截图。我喜欢这个工具可以让你设置一个延迟:多长时间直到你选择窗口,多长时间之后截图。当我想截取菜单操作的截图时,我经常使用此功能,因此我有足够的时间去窗口打开菜单。
GIMP 将截图作为新图像打开,你可以对其进行编辑并保存到你喜欢的位置。
### 3. Firefox
如果你需要截取网站的截图,请尝试使用 Firefox 的内置截图程序。右键单击网页正文中的任意位置,然后从菜单中选择**截图**
![Image of screenshot utility][4]
Firefox 切换到模态显示并提示你单击或拖动页面以选择区域,或使用其中一个图标保存整个页面的副本或仅在浏览器中可见的内容:
![Image of Firefox modal display][5]
当你在屏幕上移动鼠标时,你可能会注意到 Firefox 会高亮显示某些区域。这些是页面上的块元素,例如 `<div>` 或其他块元素。单击该元素以对其进行截图。 Firefox 将截图保存到你的**下载**文件夹,或你设置为“下载”位置的任何位置。
如果你尝试记录流程,那么截图可以为你节省大量时间。尝试使用其中一种方法在 Linux 上截图。
图片来源Jim HallCC BY-SA 40
--------------------------------------------------------------------------------
via: https://opensource.com/article/22/8/screenshots-linux
作者:[Jim Hall][a]
选题:[lkxed][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/jim-hall
[b]: https://github.com/lkxed
[1]: https://opensource.com/sites/default/files/lead-images/browser_web_internet_website.png
[2]: https://opensource.com/sites/default/files/2022-07/screenshot-gnome.png
[3]: https://opensource.com/sites/default/files/2022-07/gimp-screenshot.png
[4]: https://opensource.com/sites/default/files/2022-07/firefox-screenshot_cropped_0.png
[5]: https://opensource.com/sites/default/files/2022-07/firefox-screenshot_1.png