如何在 Fedora 工作站上截图
截屏
 


![](/data/attachment/album/201604/06/145207bdsiy2s82c23mrii.png)


Fedora 工作站附带了一个虽然简单，然而做截图却足够的工具。允许用户快速地对桌面、特定的窗口、或屏幕的任意部分进行截图。屏幕截图工具 (gnome-screenshot) 这个应用程序专门设计用于在桌面系统中快速捕获并保存截图。


### 启动 Screenshot


在 Fedora 工作站中, 通过在 activities overview 中搜索 screenshot 来启动 Screenshot 。也可以在 applications 视图中找到（在 Utilities 文件夹）。 


![](/data/attachment/album/201604/06/145417javklpt4uoke099k.jpg)


### Screenshot 模式


Screenshot 有三种主要截图模式:


* 截取整个屏幕
* 截取当前窗口
* 截取选定区域


![](/data/attachment/album/201604/06/145443hmmrwvmhlafyz1vl.png)


注意，如果你有多个显示器，抓取整个屏幕是将整个屏幕截图，不仅仅是当前的显示器。


这些操作模式也有一些额外的选项。


* 延迟截取：允许您指定要等多少秒才进行截图。它用于截取稍后才显示的内容。 延迟抓取只能用于“截取整个屏幕”和“截取当前窗口”两种模式。
* 截取当前窗口模式的额外选项最多。它允许你在截图后自动加上效果，比如阴影。当截取窗口时，您还可以指定是否让窗口边框和鼠标显示在截屏里面。


### 进行截图


在设置了模式和选项后，按下截屏程序窗口右上角的“截屏”按钮。当你按下截图按钮后，该窗口就会隐藏, 所以它不会显示在你的屏幕截图中。


如果使用“截取选定区域”模式，按下“截屏”按钮后，你的鼠标指针将会变成十字光标型指针。只需单击并拖动选择截图区域即可。


![](/data/attachment/album/201604/06/145527t2d55nvml0d5s5z2.png)


### 保存截图


截取后，截屏程序会显示一个保存对话框。它会生成一个基于时间的文件名。按你的需要简单地修改文件名，并单击保存。截图还提供一个旁边的按钮，可以将截图复制到剪贴板。如果你想快速粘贴到另一个应用程序如 GIMP 或 Inkscape 进一步编辑的话，这很方便。


![](/data/attachment/album/201604/06/145550lnzianb42212wi7q.png)


### 键盘快捷键


如果你只想进行截取而不想设置，Fedora 工作站还提供了几个不同方式的截取快捷键：


* `Printscreen` – 截取整个桌面的屏幕截图并保存你的照片文件夹
* `Alt + Printscreen` – 截取目前获得焦点的窗口截图并保存你的照片文件夹
* `Shift + Printscreen` – 选定区域截取并将其保存到你的照片文件夹
* `Ctrl + Printscreen` – 截取整个桌面的屏幕截图并将其复制到剪贴板
* `Ctrl + Alt + Printscreen` – 截取目前获得焦点的窗口截图并将其复制到剪贴板
* `Ctrl + Shift + Printscreen` – 选定区域截取并将其复制到剪贴板


如果你的键盘没有一个 Printscreen 键，您可以在Fedora 工作站应用程序设置的键盘偏好里面更改这些快捷键。


OK
Fedora Workstation ships with a simple yet capable screenshot utility. It allows the user to take quick screenshots of your desktop, particular windows, or an arbitrary portion of the screen. The Screenshot utility ([gnome-screenshot](https://en.wikipedia.org/wiki/GNOME_Screenshot)) application is designed to be a quick way to capture and save screenshots of your workstation.


## Launching *Screenshot*

In Fedora Workstation, you launch Screenshot by searching for **screenshot** in the activities overview screen. You can also find it in the applications view. It is located in the *Utilities* subfolder.

## Screenshot modes

Screenshot has three main modes of taking a screenshot: **grab the whole screen**, **grab the current window**, and **select area to grab:**

Note that if you are using multiple monitors, Grab the whole screen will take a screenshot of your whole screen, not just a specific monitor.

There are also a few extra options available for some of these modes.

**Grab after delay** allows you to specify how many seconds to wait before Screenshot takes the shot. It is useful for staging shots of things like items that appear on hover. Delaying the grab is only available on the **grab the whole screen** and **grab the current window** modes.

The **grab the current window** mode has the largest amount of options. It allows you to apply effects — such as a drop shadow — automatically after the screenshot is taken. When grabbing a window, you can also specify if you want the window borders and mouse pointer to show up in your screenshot too.

## Taking screenshots

After setting the modes and options you require, press the **Take Screenshot **button in the top right of the Screenshot application window. Once you press the Take screenshot button the window will be hidden, so it won’t show in your screenshot.

If you are using the **select area to grab** mode, after you press the *Take Screenshot* button, your mouse pointer will change to a crosshair-style pointer. Simply click and drag to select the area for your screenshot.

## Saving the screenshot

After the screenshot is taken, the Screenshot application will show a Save dialog. Screenshot will generate a name for you based on the time. Simply change the file name to one you want and click save. Screenshot also provides a neat button that will copy the screenshot to your clipboard. This is great if you want to quickly paste it into another application like GIMP or Inkscape for further editing.

### Keyboard Shortcuts

If you want to just take a screenshot without playing with the settings beforehand, Fedora Workstation also has several keyboard shortcuts for taking screenshots in different ways:

**Printscreen**key – grab a screenshot of the whole desktop and save it to your Pictures folder**Alt + Printscreen**– Take a screenshot of the currently focused window and save it to your Pictures folder**Shift + Printscreen**– Select an area to grab and save it to your Pictures folder.**Ctrl + Printscreen**– grab a screenshot of the whole desktop and copy it to the clipboard**Ctrl + Alt + Printscreen**– grab a screenshot of the currently focused window and copy it to the clipboard**Ctrl + Shift + Printscreen**– Select an area to grab and copy it to the clipboard

If you have a keyboard that doesn’t have a printscreen key, you can change these shortcuts in the Keyboard preferences in the Fedora Workstation settings application.

## Q-collective

You could use this, rather clumsy, way of making a screenshot. Or you could simply press the printscreen button or the shift-printscreen combo to take a screenshot of your full display or of a selected area respectively.

## Paul W. Frields

@Q-collective: Good point, the PrtSc and Shift+PrtSc buttons perform those tasks well for people who have them available on their keyboards (not everyone does). Also, you can use Alt+PrtSc to screenshot only the active window. However, none of these key combinations offer a delay, which is sometimes helpful to arrange the screen properly.

## Joao Rodrigues

Or with the keyboard, you can use the PrtScr key to take a screenshot:

PrtScr – Saves a screenshot to the Pictures folder

Alt+PrtScr – Saves a screenshot of the active window to the Pictures folder

Shift+PrtScr, select area – Saves a screenshot of the selected area to the Pictures folder

If you just want to copy the screenshot to the clipboard instead of saving in the Pictures folder you use Ctrl+[keyboard shortcut]

Ctrl+PrtScr – Copy a screenshot to the clipboard

Ctrl+Alt+PrtScr – Copy a screenshot of the active window to the clipboard

Ctrl+Shift+PrtScr, select area – Copy a screenshot of the selected area to the clipboard

You can also change these keyboard shortcuts, by going to Settings > Keyboard > Shortcuts tab and select the “Screenshots” section

## Ryan Lerch

Thanks! I forgot to mention the keyboard shortcuts in the post!

I have updated it to include them!

thanks!

## Emeka Bethel

Taking screenshots have never been much of an issue on Fedora. But i hate the fact i cant just get my desktop icons or easily navigate to them from the panel Gnome 3.x is still an unholy mess as Linus Torvalds termed it. Lets think about having the fall-back-mode of Gnome as default. My opinion. Screenshots can be launched using a combination of keys if am not mistaken.

## Steven Snow

Have you checked gsettings command? I believe there is the ability to select whether you choose to have desktop icon or not, however I haven’t really investigated. Typing ‘gsettings list-schemas’ in a terminal should reveal the schema you are looking for. Then typing ‘gsettings list-keys ‘ should get you the info on what keys are available to modify.

## Steven Snow

The Gnome Tweak-ui tool if installed will allow you to graphically select whether you have icon on the desktop, although I haven’t tried it since I don’t like icons on my desktop.

## Leslie Satenstein

I have used this tool to document most of the screens for anaconda. I am in the process of writing a guide for the Fedora 24/xx beginner.

It has worked well.

## Steven

gnome-screenshot -a

Is my favorite method for taking screenshots on Fedora.

## mike cox

The problem I have on one PC is a wifi keyboard with no prt sc button. Any way round it ?

## Remy DeCausemaker

IIRC, In GNOME I think there is a short-cut that is

Try that?

## Paul W. Frields

@Remy: I don’t think that shortcut exists in modern GNOME; however, using the Keyboard settings, it’s trivial to set up a shortcut to call

.

## Ryan Lerch

Just updated the post, to include this, but you can change the Keyboard shortcuts for taking screenshots in the Settings app, in the Keyboard section.

## Onuralp S.

Shutter also good option for fast editing and also making nice screenshoot out of it.

## Maciej

Shutter is absolutely the best option, this app is absolutely brilliant! I mean if someone cares about good designed GUI apps on Linux. ;P

## Ryan Lerch

I actually started writing a post about Shutter first, then figured that I needed to cover the basic way of taking screenshots first. The article on shutter is in the works still too 🙂

My favourite feature of shutter would have to be the “redo screenshot”, so useful when taking lots of screenshots of a VM.

## Maciej

Also tabs. 🙂

## Arnold Sutter

I’m regularly using Screenshot and I like it too.

Sometimes, I like to take several screenshots (like to document an installation for example).

When I do this, I have to open Screenshot again after taking one. Is there an easy way to take several screenshots in a row?

## Ryan Lerch

You should check out Shutter. I use Screenshot for one-off screengrabs, but when I am doing more, I use Shutter.

## Balthazar

Is it possible to simply use the Print Screen key ?

## mike cox

Its not when the KB aint got one , which is why this post was started and you clearly have not read it !

## Ryan Lerch

Yes! the printscreen key does work — just added a section to the article to cover all the default keyboard shortcuts for taking screenshots.

## CA Fedora User

I am a fan of Shutter, which supports blurring regions, adding highlights/annotations, and uploading to major image services.

## Klemen

Just use shutter 🙂

## Rodrigo Rivera

Cool! Thanks from Mexico!

## Arzillo

Why if I change a folder to save screenshots in dconf-editor to /home/user/Pictures/screens (I also change settings there to capture a pointer) – nothing happens – Print Screen saves it to Pictures without pointer? Although, if I run gnome-screenshot from terminal folder settings works correctly.