在 Fedora 28 Workstation 使用 emoji 加速输入
emoji 表情符 输入法
![](/data/attachment/album/201807/26/231428ekkjjlsr77gvp8v9.jpg)


Fedora 28 Workstation 添加了一个功能允许你使用键盘快速搜索、选择和输入 emoji。emoji，这种可爱的表意文字是 Unicode 的一部分，在消息传递中使用得相当广泛，特别是在移动设备上。你可能听过这样的成语：“一图胜千言”。这正是 emoji 所提供的：简单的图像供你在交流中使用。Unicode 的每个版本都增加了更多 emoji，在最近的 Unicode 版本中添加了 200 多个 emoji。本文向你展示如何使它们在你的 Fedora 系统中易于使用。


很高兴看到 emoji 的数量在增长。但与此同时，它带来了如何在计算设备中输入它们的挑战。许多人已经将这些符号用于移动设备或社交网站中的输入。


[**编者注：**本文是对此主题以前发表过的文章的更新]。


### 在 Fedora 28 Workstation 上启用 emoji 输入


新的 emoji 输入法默认出现在 Fedora 28 Workstation 中。要使用它，必须使用“区域和语言设置”对话框启用它。从 Fedora Workstation 设置打开“区域和语言”对话框，或在“概要”中搜索它。


[![Region & Language settings tool](/data/attachment/album/201807/26/231457qlxt88gggxltql9x.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-15-02-41.png)


选择 `+` 控件添加输入源。出现以下对话框：


[![Adding an input source](/data/attachment/album/201807/26/231516clz0bdu7gn34iy00.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-14-33-46.png)


选择最后选项（三个点）来完全展开选择。然后，在列表底部找到“Other”并选择它：


[![Selecting other input sources](/data/attachment/album/201807/26/231536zdz0jpxxpqqpzad0.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-14-34-15.png)


在下面的对话框中，找到 “Typing Booster” 选项并选择它：


[![](/data/attachment/album/201807/26/231602dhrqcuyu8clhd11c.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-14-34-41.png)


这个高级输入法由 iBus 在背后支持。该高级输入法可通过列表右侧的齿轮图标在列表中识别。


输入法下拉菜单自动出现在 GNOME Shell 顶部栏中。确认你的默认输入法 —— 在此示例中为英语（美国） - 被选为当前输入法，你就可以输入了。


[![Input method dropdown in Shell top bar](/data/attachment/album/201807/26/231607s68tfs64b9ft9ttt.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-15-05-24.png)


### 使用新的表情符号输入法


现在 emoji 输入法启用了，按键盘快捷键 `Ctrl+Shift+E` 搜索 emoji。将出现一个弹出对话框，你可以在其中输入搜索词，例如 “smile” 来查找匹配的符号。


[![Searching for smile emoji](/data/attachment/album/201807/26/231619hoe9koii4o8oanbo.png)](https://fedoramagazine.org/wp-content/uploads/2018/07/Screenshot-from-2018-07-08-14-36-31.png)


使用箭头键翻页列表。然后按回车进行选择，字形将替换输入内容。




---


via: <https://fedoramagazine.org/boost-typing-emoji-fedora-28-workstation/>


作者：[Paul W. Frields](https://fedoramagazine.org/author/pfrields/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


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


OK
Fedora 28 Workstation ships with a feature that allows you to quickly search, select and input emoji using your keyboard. Emoji, cute ideograms that are part of Unicode, are used fairly widely in messaging and especially on mobile devices. You may have heard the idiom “A picture is worth a thousand words.” This is exactly what emoji provide: simple images for you to use in communication. Each release of Unicode adds more, with over 200 new ones added in past releases of Unicode. This article shows you how to make them easy to use in your Fedora system.


It’s great to see emoji numbers growing. But at the same time it brings the challenge of how to input them in a computing device. Many people already use these symbols for input in mobile devices or social networking sites.

[**Editors’ note: **This article is an update to a previously published piece on this topic.]

### Enabling Emoji input on Fedora 28 Workstation

The new emoji input method ships by default in Fedora 28 Workstation. To use it, you must enable it using the *Region and Language* settings dialog. Open the Region and Language dialog from the main Fedora Workstation settings, or search for it in the Overview.

Choose the + control to add an input source. The following dialog appears:

Choose the final option (three dots) to expand the selections fully. Then, find *Other* at the bottom of the list and select it:

In the next dialog, find the *Typing booster* choice and select it:

This advanced input method is powered behind the scenes by iBus. The advanced input methods are identifiable in the list by the cogs icon on the right of the list.

The Input Method drop-down automatically appears in the GNOME Shell top bar. Ensure your default method — in this example, *English (US) —* is selected as the current method, and you’ll be ready to input.

## Using the new Emoji input method

Now the Emoji input method is enabled, search for emoji by pressing the keyboard shortcut **Ctrl+Shift+E**. A pop-over dialog appears where you can type a search term, such as *smile*, to find matching symbols.

Use the arrow keys to navigate the list. Then, hit **Enter** to make your selection, and the glyph will be placed as input.

## ifohancroft

Is this GNOME specific?

Of course, the input method is not GNOME specific, however, I suppose the shortcut and emoji browser may be.

## Paul W. Frields

The input method is not GNOME specific. There may be a different enabler in other environments, though.

## bepolymathe

Thank you very much for this article. I’ve been looking for something similar for a long time… but it only works in Gnome box dialog ? Under Firefox or Qt software it doesn’t seem to work?

Is there a way around this limitation?

## Rohan

This seems to be enabled by default on mine and I can’t find a way to override the Ctl+Shift+e combo which is super useful in the terminal emulator “Terminator”

## Paul W. Frields

@Rohan: You can do this with gsettings, e.g.:

If you want to get back the old setting:

## Rohan

@ Paul: Thanks! I had to make some modifications though.

ctrl+f [solution] if you want to skip to the solution.

Here’s what I got when I tried your command:

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

I verified that the setting was there (which it was):

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

['<Control><Shift>e']

After some googling I tried and failed with:

(process:4634): GLib-GIO-WARNING **: Can't find module 'dconf' specified in GSETTINGS_BACKEND

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

[solution] What finally worked was the dconf-editor GUI I launched using:

Though there I did not find the setting under the same path. There was nothing called ibus under org.freedesktop. I found the setting using the search function under desktop.ibus.panel.emoji

I still don’t know how to disable it though.

## gun1x

Yea, I closed this emoji stuff since it was messing up my terminator ….

## hhh

ugly rectangles, why not all emoi on screen

## Joao

Ctl+Shift-E was the “Edit in external editor” command in Evolution and it’s now clobbered by this “feature”. I would love to know how to remove it.

## Paul W. Frields

@Joao: Simply go to Region and Language and remove the Typing Booster you added. Or use the note above to reconfigure the keystroke.

## Leopold Topre

How would one enable this on KDE? Is the shortcut also available in this desktop env?

Thanks for this neat feature!

## Charles Steiner

@bepolymathe @joao click the superkey (windows button) to get an overview then click the Ctrl+Shift+E

## bepolymathe

It change nothing for me. Could you explain more ?

## Stuart D Gathman

I tried it out in gnome-terminal with utf-8 – works! The emoji chars are treated as double wide. The logic seems a little shaky when going back to edit text contains emoji in vim. This should be fun to add to comments in utf-8 programming languages.

## Stuart D Gathman

Another feature – you actually get a full unicode character picker, for when you want that odd char. Which reminds me – back in the day, terminals generally had a special key to enter arbitrary extended ASCII codes. Do we have a way to enter the hex code of an arbitrary unicode char? (The character picker is much slower when you already know the code.)

## Derek

Crtl+shift+u, enter the codepoint, and then space or enter!

https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en#ctrlshiftu

## bepolymathe

I don’t understand why, but it doesn’t work in firefox. Are there any limitations on that side?

## Misc

So, I do not know if that’s the translation in French, or Fedora Silverblue, but I had a hard time to find the Ibus add on, since the name has nothing to do with “typing booster”, but “unicode (m17n)”. I guess it might be the same for a few others non english languages.

## Paul W. Frields

@Misc: Thanks for the tip for finding this in non-English desktops.