What are the possibilities to insert, choose and use an emoji in Ubuntu 18.04 and later?
7 Answers
Activities: Clicking the Activities button in the top left corner in the GNOME desktop environment. Or press the Super key (Windows key) to get the same.
GNOME has an application called gnome-characters. This provides you with several emojis and related characters. If you don't have this application, you can install it using:sudo apt install gnome-characters
Once installed, this application has its own search provider.
Make sure it is turn on: System settings > search tab > Characters
You can search for any character name. You can see various suggestions as you type. Once you find a character, press Enter so that the selected character will be copied to your clipboard. You can paste it using CTRL+V. [Source: 7 Tips to Get More Out of GNOME Search in Linux]Emoji Picker: 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 and probably Geary (Source: OMG Ubuntu). All you have to do to access the emoji picker in a native Linux app is right-click (or Control-. ) in a text-field and select the “Insert Emoji” option from the context menu. 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.
If the app you’re using doesn’t have that option, please file a bug, like the one for gedit.
To change the keyboard shortcut, use the dconf-editor and navigate to/desktop/ibus/panel/emoji/hotkey
.
For more background info browse to Ubuntu Community Hub.
Emoji Choice popup (Ubuntu 18.10+): Handy tool, see answer of kenorb, please vote his answer up, too.
Hitting Control-Shift-E, then press Space works in most apps. You should see the Emoji Choice popup where you can select your unicode character.GNOME Shell Extension Emoji Copy for non-GTK apps like Firefox, Wire Messenger, Chromium, or LibreOffice: It is a fork of GNOME Shell Extension Emoji Selector which works up to GNOME 43. Thank you, Didier L, for the tip!
GNOME Characters app: Another option to install 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.Emoji keyboard: If you are not on Gnome, this 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.
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.
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.Emoji input to the on-screen keyboard (Ubuntu 19.04+, GNOME 3.32: it should make it easier to reply with a well-timed emote from a touchscreen device.
Emote was mentioned by James, please vote the answer below up, too. The emoji picker can be opened with either the keyboard shortcut (choosing one or several emojis) or by clicking the app icon again. More details on the Github page.
Install the snap app from the Software Center or Snap Store on or in a terminal:Emoji OnBoard keyboard layout was mentioned by Tanius, please vote the answer below up, too. 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.
smile: An emoji picker for linux, with custom tags support and localization. I'll also put some random emojis here 🦁🐾🦔🦇 [Covered by OMG!Linux].
EmojiMart: 🏪 Modern emoji picker popup for desktop, based on Emoji Mart, built with Tauri and Solid JS [Covered by OMG!Linux].
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?.
-
Is the keyboard available in other Ubuntu 18.04 flavors too ? Commented Jul 9, 2018 at 10:09
-
@SushantChaudhary Option 1, 3, 4, 5 probably work, 2 only with a GNOME desktop.– FilbuntuCommented Jul 10, 2018 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– FelipeCommented Jan 21, 2019 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?– am05mhzCommented Sep 20, 2019 at 7:42
-
1BTW the Gnome Shell extension Emoji Selector is not compatible with the latest version of Gnome. There is a fork that supports it: extensions.gnome.org/extension/6242/emoji-copy– Didier LCommented Mar 23 at 22:25
Use the following keyboard shortcuts:
Hit Control-Shift-E, then press Space.
You should see the Emoji Choice popup where you can select your unicode character.
Note: To cancel the selection, press Escape few times.
Tested on Ubuntu Cosmic (18.10). It should work in editors, terminal, web browsers and other applications.
-
29I'm on ubuntu 20.04 and ctrl + shift + e, then spaces does nothing, how to enable that? Commented Oct 22, 2020 at 19:49
-
4I'm on Ubuntu Budgie 18.04 and ctrl + shift + e, then spaces does nothing, how to enable that?– MareckyCommented Nov 15, 2020 at 11:42
-
1
-
1This should be the accepted answer, as it is shipped with ubuntu. Make sure that ibus-daemon is running if it doesn’t work. The shortcut can be configured with
ibus-setup
. Commented Jan 11, 2022 at 11:11 -
1In Ubuntu 23.10 default shortcut is
Super
+.
or alternativeSuper
+;
You can change the shortcut withibus-setup
command.– prnsmlCommented Jan 14 at 14:33
Emote is a modern, system-wide emoji picker which is a decent option in 2021.
https://github.com/tom-james-watson/emote
It should work on all major desktop environments and supports both X11 and Wayland.
Installation:
sudo snap install emote
-
-
In Ubuntu 24.04, you need to register keyboard shortcut by your self. see: github.com/tom-james-watson/Emote/wiki/Hotkey-In-Wayland Commented Sep 12 at 6:08
You can use the Emoji OnBoard keyboard layout. It is an emoji chooser layout for the default Ubuntu onscreen keyboard "Onboard":
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 ...
Update 2024: In ubuntu 24 the shortcut changed to Meta + .
- Press Ctrl + . (or Meta + .), and a
e̲
will appear. - Type a word to search for the emoji.
- Press space to preview the closest match.
- Press Enter to accept, or space again to see other matches (a popup should appear as the image below 👇).
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
I will just add additional information to @Filbuntu 's answer on how to add GNOME Shell Extensions Emoji Selector to Ubuntu Firefox based on my experience.
First you will need to open add ons menu, and add this extension: GNOME Shell integration Gnome Shell Integration Screenshot image
After that, you can go to this page https://extensions.gnome.org/extension/1162/emoji-selector/
If there is an error message like "native host connector is not detected", then you need to install chrome-gnome-shell using the following step based on this answers
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install chrome-gnome-shell
After chrome-gnome-shell, you can refresh the gnome shell extensions website, then the message should be disappear, and can turning on the switch which is located at the top right corner. After that, then the emoji icon should appear on your top bar and you can start using it by clicking on it and choose the icon you want.
sudo curl -o /etc/fonts/local.conf https://pastebin.com/raw/atfUQQ2j