5 个提高效率的 GNOME 快捷键
GNOME
![](/data/attachment/album/201906/19/230006nc66t031ctie3hle.jpg)


对于某些人来说，使用 GNOME Shell 作为传统的桌面管理器可能会感觉沮丧，因为它通常需要更多的鼠标操作。事实上，GNOME Shell 也是一个专为键盘操作而设计的[桌面管理器](https://fedoramagazine.org/gnome-3-32-released-coming-to-fedora-30/)。通过这五种使用键盘而不是鼠标的方法，了解如何使用 GNOME Shell 提高效率。


### GNOME 活动概述


可以使用键盘上的 `Super` 键轻松打开活动概述。（`Super` 键通常有一个标识——比如 Windows 徽标……）这在启动应用程序时非常有用。例如，使用以下键序列 `Super + f i r + Enter` 可以轻松启动 Firefox Web 浏览器


![](/data/attachment/album/201906/19/230025bmssjtj3vsgks3tm.gif)


### 消息托盘


在 GNOME 中，消息托盘中提供了通知。这也是日历和世界时钟出现的地方。要使用键盘打开信息托盘，请使用 `Super + m` 快捷键。要关闭消息托盘，只需再次使用相同的快捷方式。


![](/data/attachment/album/201906/19/230150gdmdyl7wdhtwmmmc.gif)


### 在 GNOME 中管理工作空间


GNOME Shell 使用动态工作空间，这意味着它可以根据需要创建更多工作空间。使用 GNOME 提高工作效率的一个好方法是为每个应用程序或每个专用活动使用一个工作区，然后使用键盘在这些工作区之间导航。


让我们看一个实际的例子。要在当前工作区中打开终端，请按以下键：`Super + t e r + Enter`。然后，要打开新工作区，请按 `Super + PgDn`。 打开 Firefox（ `Super + f i r + Enter`）。 要返回终端（所在的工作空间），请使用 `Super + PgUp`。


![](/data/attachment/album/201906/19/230641bx2uw8l5licqei2b.gif)


### 管理应用窗口


使用键盘也可以轻松管理应用程序窗口的大小。最小化、最大化和将应用程序移动到屏幕的左侧或右侧只需几个击键即可完成。使用 `Super + ↑` 最大化、`Super + ↓` 最小化、`Super + ←` 和 `Super + →` 左右移动窗口。


![](/data/attachment/album/201906/19/231040n0edj25jjjz1re2d.gif)


### 同一个应用的多个窗口


使用活动概述启动应用程序非常有效。但是，尝试从已经运行的应用程序打开一个新窗口只能将焦点转移到已经打开的窗口。要创建一个新窗口，就不是简单地按 `Enter` 启动应用程序，请使用 `Ctrl + Enter`。


因此，例如，使用应用程序概述启动终端的第二个实例，`Super + t e r + (Ctrl + Enter)`。


![](/data/attachment/album/201906/19/231147s66jwe9tjfs5htff.gif)


然后你可以使用 `Super + `` 在同一个应用程序的窗口之间切换。


![](/data/attachment/album/201906/19/231119uflj52rejdot2rzf.gif)


如图所示，当用键盘控制时，GNOME Shell 是一个非常强大的桌面环境。学习使用这些快捷方式并训练你的肌肉记忆以不使用鼠标将为你提供更好的用户体验，并在使用 GNOME 时提高你的工作效率。有关其他有用的快捷方式，请查看 [GNOME wiki 上的此页面](https://wiki.gnome.org/Design/OS/KeyboardShortcuts)。


*图片来自 [1AmFcS](https://unsplash.com/photos/MuTWth_RnEs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)，[Unsplash](https://unsplash.com/search/photos/keyboard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)*




---


via: <https://fedoramagazine.org/5-gnome-keyboard-shortcuts-to-be-more-productive/>


作者：[Clément Verna](https://fedoramagazine.org/author/cverna/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
For some people, using GNOME Shell as a traditional desktop manager may be frustrating since it often requires more action of the mouse. In fact, GNOME Shell is also a [desktop manager](https://fedoramagazine.org/gnome-3-32-released-coming-to-fedora-30/) designed for and meant to be driven by the keyboard. Learn how to be more efficient with GNOME Shell with these 5 ways to use the keyboard instead of the mouse.

### GNOME activities overview

The activities overview can be easily opened using the **Super** key from the keyboard. (The **Super** key usually has a logo on it.) This is really useful when it comes to start an application. For example, it’s easy to start the Firefox web browser with the following key sequence **Super + fir + Enter.**

![](https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-10-50.gif)

### Message tray

In GNOME, notifications are available in the message tray. This is also the place where the calendar and world clocks are available. To open the message tray using the keyboard use the **Super+m** shortcut. To close the message tray simply use the same shortcut again.

### Managing workspaces in GNOME

Gnome Shell uses dynamic workspaces, meaning it creates additional workspaces as they are needed. A great way to be more productive using Gnome is to use one workspace per application or per dedicated activity, and then use the keyboard to navigate between these workspaces.

Let’s look at a practical example. To open a Terminal in the current workspace press the following keys: **Super + ter + Enter.** Then, to open a new workspace press **Super + PgDn**. Open Firefox (**Super + fir + Enter)**. To come back to the terminal, use **Super + PgUp**.

![](https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-12-57.gif)

### Managing an application window

Using the keyboard it is also easy to manage the size of an application window. Minimizing, maximizing and moving the application to the left or the right of the screen can be done with only a few key strokes. Use **Super+up** to maximize, **Super+down** to minimize, **Super+left** and **Super+right** to move the window left and right.

![](https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-06.gif)

### Multiple windows from the same application

Using the activities overview to start an application is very efficient. But trying to open a new window from an application already running only results in focusing on the open window. To create a new window, instead of simply hitting **Enter** to start the application, use **Ctrl+Enter**.

So for example, to start a second instance of the terminal using the application overview, **Super + ter + (Ctrl+Enter)**.

![](https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-19.gif)

Then you can use **Super+`** to switch between windows of the same application.

![](https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-22.gif)

As shown, GNOME Shell is a really powerful desktop environment when controlled from the keyboard. Learning to use these shortcuts and train your muscle memory to not use the mouse will give you a better user experience, and make you more productive when using GNOME. For other useful shortcuts, check out [this page on the GNOME wiki](https://wiki.gnome.org/Design/OS/KeyboardShortcuts).

## Gianluca Cherubini

Thank you! I was struggling figuring out the shortcut key combo to switch between different windows for the same application, which in my Italian Keyboard is Super+| (the same as Super+accent)

## Joao Rodrigues

You could also:

Hold Alt and press Tab to select the desired application and while keeping Alt held down, press the Down key and then use Left and Right keys to select the window.

Or, you can change the default behaviour of Alt+Tab to switch windows instead of applications.

Go to:

Settings > Devices > Keyboard

And in the Navigation section (or use the magnifying glass button and search for “switch windows”), click on “Switch windows” and input Alt+Tab. Then click on the “Replace” button.

## Someone

Thank you!!

## Matthew Bunt

Great post to explain the basics. One change I add to the keybindings for GNOME is setting switch to workspace 1-4 to alt+1-4. That is workspace one is alt+1, workspace two is alt+2, etc. These and other keybindings can be set or changed under Devices > Keyboard in GNOME Settings.

This provides two benefits. First, you can specify exactly which workspace you want to switch to. Secondly, you can switch workspaces with one hand which I find more ergonomic than using PgUp and PgDn, especially if using graphical applications with a mouse.

NOTE: This setup will conflict with the default tab switching key bindings in the Terminal. Desktop keybindings will take precedence over the application bindings. Either change the bindings in GNOME Terminal or use something like screen or tmux.

## Stan Genchev

You forgot to mention that you can launch your favorite applications (the ones locked on the dock/taskbar) using Super+. The apps are numerated from top to bottom.

For example on a fresh Fedora install, Super+1 will launch Firefox.

## toni

that comment saved my day, thank you!

## ricardotiellet

Bem explicado com bons exemplos e ótimas ilustrações. Muito obrigado! 🙂

## Jorge

The use of the addition ‘+’ symbol is a bit confusing, because it’s difficult to differentiate a sequence (key one then key two) with a combination (key one and two simultaneously). The use of commas or semicolons might make it more clear (just a tip for future articles).

## Danniello

Unfortunately open new window via Ctrl+Enter is not always working. For example LibreOffice Writer is not supporting it (at least not in Fedora 29).

Win -> “wri” -> Ctrl+Enter will always switch to already opened Writer…

So the real universal solution is this:

Win -> “wri” -> Menu key -> choose with arrows option “New document”

But it is a lot less practical:(

## Matthew Bunt

This is interesting. The ctrl+enter shortcut seems to work with gedit and other GNOME applications, but not libreoffice.

If you prefer the launcher to always open a new window, you can install the GNOME shell extension ‘launch new instance’. It’s not a perfect solution, but this allows the launcher to always create new windows, even in libreoffice.

## Eduardo Osorio

Managing an application window section does not display the options properly (macosx firefox developer edition)

… Use Super+???? to maximize, Super+???? to minimize, Super+???? and Super+???? to move the window left and right.

## A

You shoulld rewrite some of these hacks to use the greatest keyboard shortcut of them all : ctrl-alt-t to open a terminal.

## Erwin Baeyens

Gnome shell is a great and powerful desktop environment. Sadly it is crippled by the fact that the default settings do their best to hide all the powerful things and a lot of the shortcuts are disabled by default. Also the tendency to hide and limit what can be changed in the preferences of the applications is really limiting . I understand the need for a simple and straightforward desktop environment, and hiding some of the complexity is part of that,. But there is a difference between the hiding of that complexity and taking a way the options. The last one is limiting the usability of the environment.