45

OS X has emoji support inside terminal, and I'm a little jelly.

Emoji One Color SVGinOT Font brings emoji support to Ubuntu, but at the moment the terminal will only render monochrome emojis.

Is there a way to get these color beauties in gnome terminal?

3
  • 1
    No, the terminal emulation widget VTE behind gnome-terminal (and many other emulators) does not support this.
    – egmont
    Jun 4 '16 at 17:08
  • 4
    It's okay, I don't even know why I want this.
    – drzel
    Jun 5 '16 at 3:15
  • 2
    You're a little jelly?
    – RonJohn
    Mar 21 '18 at 7:50
38

I'm the creator of that font.

Sorry, there is not way to see SVGinOT (SVG-in-OpenType) color fonts in anything other than Gecko-based applications such as Firefox and Thunderbird right now. I made these fonts to solve the "chicken or the egg" problem: there were no color fonts and so no reason to support them. Now there are color fonts... Next steps: Probably a feature request on Launchpad?

33

Our wait is finally over guys! This is default terminal in

$ย lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Bionic Beaver (development branch)
Release:    18.04
Codename:   bionic

playing with https://www.npmjs.com/package/gulp-emojify

You may have to

sudo apt install fonts-emojione

enter image description here

2
  • 3
    This is a scattershot and unclear answer.
    – Lexible
    Mar 7 at 23:46
  • How version number (which introduces feature OP is asking) can be unclear? ๐Ÿคฏ @Lexible
    – suside
    Mar 8 at 13:35
9

In GNOME Terminal (it also works in any other application), use the following keyboard shortcut:

  1. Hit Control-Shift-E, then press Space.
  2. You should see the Emoji Choice popup where you can select your unicode character.

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

Tested on Ubuntu Cosmic (18.10).

2
  • I came here looking for a different thing, but I just discovered this and it's awesome, thanks!
    – Yajo
    Apr 24 '20 at 8:11
  • 2
    Nope. This does not work as you describe in Ubuntu 20.04.
    – Lexible
    Mar 7 at 23:46
7

Color Emojis are not currently supported. Apparently there is a patched WIP version of libcairo that allows rendering colored emojis but it isn't stable yet.

https://github.com/googlei18n/noto-emoji/issues/36#issuecomment-168209204

Support for this will likely come down to something that needs to be implemented on a per-app or per-UI-lib (GTK, Qt etc) basis so it may take a while for some apps to support it even once the underlying OS libraries do.

UPDATE: The libcairo patch has made it's way into mainstream repositories for most distros, they should now work natively by default if you have an up-to-date install, but you may need to modify your fontconfig to actually use them.

4

In your bashrc script...

vim ~/.bashrc

You can define an array of emoticons

EMOJIS=(๐Ÿฅฏ  ๐Ÿฆ† ๐Ÿฆ‰ ๐Ÿฅ“ ๐Ÿฆ„ ๐Ÿฆ€ ๐Ÿ–• ๐Ÿฃ ๐Ÿค ๐Ÿฅ ๐Ÿก ๐Ÿฅƒ ๐Ÿฅž ๐Ÿคฏ ๐Ÿคช ๐Ÿคฌ ๐Ÿคฎ ๐Ÿคซ ๐Ÿคญ ๐Ÿง ๐Ÿ• ๐Ÿฆ– ๐Ÿ‘พ ๐Ÿ‰ ๐Ÿ“ ๐Ÿ‹ ๐ŸŒ ๐Ÿข)

then if you have too much time on your hands, write a function which returns a random moj.

RANDOM_EMOJI() {
  SELECTED_EMOJI=${EMOJIS[$RANDOM % ${#EMOJIS[@]}]};
  echo $SELECTED_EMOJI;
}
EMJ() {
  emj
}

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.