39

What are the possibilities to insert, choose and use an emoji in Ubuntu 18.04 and later?

  • in case Google has led someone here since their emojis have gone black and white here's a quick fix: sudo curl -o /etc/fonts/local.conf https://pastebin.com/raw/atfUQQ2j – aderchox Jul 19 at 15:35
53
  1. With the release of Ubuntu 18.04 LTS you can use emoji on Ubuntu right out of the box 👍, so you already have everything you need for the native GTK Linux apps like Gedit, Corebird, Rhythmbox, Geary and Terminal (Source: OMG Ubuntu). All you have to do to access the emoji picker in a native Linux app is right-click (or ctrl + .) in a text-field and select the “Insert Emoji” option from the context menu. enter image description here This picker pop-over lets you:

    • Browse emoji by category
    • Pick from recently used emoji
    • Search for emoji by name
    • Click on an emoji to enter it
      The emoji picker even works on other Linux distros & desktops besides Ubuntu, including Ubuntu MATE and Ubuntu Budgie.
      Sadly the emoji picker doesn’t work everywhere 😞. You won’t see the option provided in non-GTK apps, like Firefox, Wire Messenger, Chromium, or LibreOffice, even not with Evolution (the previous default email client in Ubuntu).
      If the app you’re using doesn’t have that option, please file a bug, like the one for gedit.
      For more background info browse to Ubuntu Community Hub.
  2. For Ubuntu 18.10 and later, Emoji Choice popup is handy tool, see answer of kenorb, please vote his answer up, too.
    Hitting Control-Shift-E, then press Space works in most apps.

  3. For non-GTK apps like Firefox, Wire Messenger, Chromium, or LibreOffice, you can use the GNOME Shell Extensions Emoji Selector:enter image description here

  4. Another option is to install the GNOME Characters app to easily browse emoji.
    Optionally, you can enable emoji search in the Activities Overview by using the Settings app. Just open Settings > Search and turn on Characters.enter image description here

  5. If you are not on Gnome, this Emoji keyboard is simple but effective. You can find more information on the virtual keyboard-like emoji picker app (plus an installer) over on the project Github page. enter image description here

  6. UniEmoji (for a specific input framework called IBus): "If you prefer to type them out for easy use, then there’s a very easy solution on Linux. It combines software to let you type in foreign languages, with an input method that gives it the ability to type in emojis. When everything is set up, you should be able to type whatever emoji you like, either by inputting them, or searching. This can be much faster and easier than something like a popup window, but takes a little more setting up." For how to set this up, please check this article. As it is quite long, the integration of the instructions would push the boundaries of this answer.

  7. Mojibar could be an option (although not updated since 2017), it works on many desktop environments, see answer of kissu, please vote his answer up, too. You can download the zip-folder of the Electron App, and drag into your apps folder and it probably works without installing, just double-click on the Mojibar file.

  8. In Ubuntu 19.04 (and later): GNOME 3.32 adds emoji input to the on-screen keyboard, it should make it easier to reply with a well-timed emote from a touchscreen device. enter image description here

  9. Emoji OnBoard keyboard layout was mentioned by Tanius, please vote the answer up. It is an emoji chooser layout for the default Ubuntu onscreen keyboard "Onboard". strong textIt works for all applications. Instructions for how to us on the github. enter image description here

  10. There might be an answer to an earlier question that still works for you.

Which emoji font will be shown?
When there are more than one emoji fonts installed, different apps use different fonts:
e.g. Segoe Emoji (seguiemj.ttf) is used by the Wire desktop App by default, Emoji One (emojione-android.ttf) is used by Evolution by default on my Ubuntu 20.04 system.

How to only use Noto Emoji font?
Uninstall the other emoji fonts:
Search in Font Manager (font-manager in the normal package list) for emoji fonts.
Open the corresponding folders as root.
Delete the emoji fonts (e.g. seguiemj.ttf, emojione-android.ttf).
Restart the app (or login/logout of the session).

For Thunderbird to behave, I did this:
I created ~/.config/fontconfig/conf.d/01-emoji.conf with the following text:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
    </prefer>
  </alias>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Noto Color Emoji</family>
    </prefer>
  </alias>
</fontconfig>

Then run:

fc-cache -f -v

The answers to this question can be helpful, too: 18.04: color emoji not showing up at all in Chrome, only partially in Firefox
And a similar answer: How do I configure the default emoji font to be used in OS/Browser?.

| improve this answer | |
  • Is the keyboard available in other Ubuntu 18.04 flavors too ? – Sushant Chaudhary Jul 9 '18 at 10:09
  • @SushantChaudhary Option 1, 3, 4, 5 probably work, 2 only with a GNOME desktop. – Filbuntu Jul 10 '18 at 8:27
  • For #3 is there a way to disable searching (from Activities view) other characters that aren't emojis? usually searching for something brings me an Arab character or the old emojis (like this one ☺) not the color ones – Felipe Jan 21 '19 at 20:59
  • hi, for #8 i have problem, i can show the emoji selector, but when tapping on the emoji, nothing happen, when switch to regular char, the onscreen keyboard can type as usual, though the #1 and #2 is working flawlessly, os is pop os 19.04, any idea what could be wrong? – am05mhz Sep 20 '19 at 7:42
  • @Felipe Did you find a solution for your problems? If yes, could you please share it with us? – Filbuntu Nov 1 '19 at 0:52
25

Use the following keyboard shortcuts:

  1. Hit Control-Shift-E, then press Space.

  2. You should see the Emoji Choice popup where you can select your unicode character.

    Note: To cancel the selection, press Escape few times.

Emoji Choice on GNOME Terminal, Animals & Nature, Unicode special characters

Tested on Ubuntu Cosmic (18.10). It should work in editors, terminal, web browsers and other applications.

| improve this answer | |
  • This even works in Firefox and LibreOffice Writer (in Ubuntu 20.04 LTS) – Flimm Sep 16 at 13:32
  • I'm on ubuntu 20.04 and ctrl + shift + e, then spaces does nothing, how to enable that? – Arnold Roa Oct 22 at 19:49
1

You can use the Emoji OnBoard keyboard layout. It is an emoji chooser layout for the default Ubuntu onscreen keyboard "Onboard":

enter image description here

Unlike many other solutions, it works together with all applications. While for example emoji-keyboard can only insert the emoji characters directly into Gtk applications and otherwise is restricted to copying them into the clipboard. So there is definitely a way to do software keyboards right under Linux, and I wonder why it's not more widespread ...

| improve this answer | |
0

Mojibar is also a great alternative that is X-platform and not dependent of the desktop environment ! :)

The maintainer is not merging any PR for sometime but I guess that you can fork it and use your own version of the repo. :D

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.