Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
42
views
Nonstandard subnational flag emoji: What part of the system is responsible?
So, I'm using Linux Mint 21.3 with MATE 1.26.0. I've noticed that my system supports a number of nonstandard flag emoji. I'm wondering what part of the system is responsible for this, if this is documented anywhere, and where the files or source for this can be found. Since I'm guessing not everyone...
So, I'm using Linux Mint 21.3 with MATE 1.26.0. I've noticed that my system supports a number of nonstandard flag emoji. I'm wondering what part of the system is responsible for this, if this is documented anywhere, and where the files or source for this can be found.
Since I'm guessing not everyone is familiar: In addition to its mechanism for national flags, Unicode also has a mechanism for flags of subnational entities. However, this mechanism is mostly unused, with only the flags of England, Scotland, and Wales being officially supported according to the standard (the reason being, as I understand it, that the Unicode Consortium quickly realized that this would get completely out of hand if they allowed it to go any further).
I've noticed that my computer actually supports a number of nonstandard subnational flags: American states and DC; Canadian provinces and territories; Mexican states and its federal district; and Northern Ireland (which officially doesn't even have a flag, but one is displayed regardless). Maybe there's more, but other subnational entities I thought to try (such as American territories or Australian states) didn't work.
As an example, if your computer is like mine, this will display the flag of Delaware: 🏴 (my apologies to the Unicode Consortium for including a nonstandard emoji in general interchange! :P )
You might be wondering, why would I even think to try this, given that certainly I've never seen such nonstandard emoji in the wild, and had to assemble them myself out of the necessary non-printable code points (I mean with a script obviously, not by hand!), after inferring what those would be? The answer is that I got curious about the possibility after seeing [this MIT Mystery Hunt puzzle](https://puzzles.mit.edu/2024/mythstoryhunt.world/puzzles/crossed-fingers-memo-puzzle) the other year, which includes some US state flags as "emoji". Of course, the emoji in that puzzle are actually images, so there's no requirement for them to be actual emoji on anyone's system, but it got me wondering about the possibility, leading me to try out creating such nonstandard emoji on my own system, and, to my surprise, it worked. (I wonder if the writers of that puzzle were aware of this? Just realizing I didn't think to try contacting them... oh well.)
(Edit: Actually, maybe I have seen this in the wild on one occasion? I forget, my memory's a bit fuzzy here. It's not important to the question anyway.)
Anyway yeah this has been bugging me and I'm wondering if anyone knows what is responsible for this and where I could find more info. Thanks all!
Harry Altman
(101 rep)
Jul 24, 2025, 07:51 PM
• Last activity: Jul 24, 2025, 07:58 PM
1
votes
0
answers
113
views
Pressing emoji shortcut prints out letter "e"
I'm using Ubuntu 22.04 with the emoji shortcut set up in IBus. Pressing the shortcut prints a letter `e` with an underscore. I've tried changing the shortcut to a different combination, but the behavior remains the same.
I'm using Ubuntu 22.04 with the emoji shortcut set up in IBus. Pressing the shortcut prints a letter
e
with an underscore.
I've tried changing the shortcut to a different combination, but the behavior remains the same.
Tung
(19 rep)
Jan 19, 2023, 04:35 AM
• Last activity: Mar 20, 2025, 09:36 AM
1
votes
1
answers
458
views
Setting icon for hidden files in LF (file manager)
What I want to achieve is to have a specific emoji appear next to dotfiles inside file manager ["LF"][1] (these can be made visible in the file manager with the "zh" shortcut). In my ~/.config/lf/icons these are the first 9 lines in it: ``` ^\..* 👑 di 📁 fi 🗞️ tw 🤝 ow...
What I want to achieve is to have a specific emoji appear next to dotfiles inside file manager "LF" (these can be made visible in the file manager with the "zh" shortcut).
In my ~/.config/lf/icons these are the first 9 lines in it:
^\..* 👑
di 📁
fi 🗞️
tw 🤝
ow ❌
ln 🔗
or ❔
ex 🚀
*.txt 🗞️
These are additional things I've tried:
1. ^\..* 👑
2. ^\.* 👑
3. ^.* 👑
4. .* 👑
5. ..* 👑
I've also tried reordering this "icons" file, i.e. putting one of these 5 before or after "fi" and similar filetypes.
Is this even possible in "LF"?
Other emojis seem to work fine.
I'm not sure what kind of information I would need to provide for this kind of issue, but here is some(please correct me and/or suggest additional info I should provide)
Distro: Manjaro
WM: i3
TE: xfce4-terminal
Emojis: Noto Color Emoji
Noa
(31 rep)
Jul 7, 2024, 03:49 PM
• Last activity: Jul 11, 2024, 08:56 PM
1
votes
1
answers
229
views
Emoji support for bookmarks bar on Chrome in Linux
How can I get support for proper rendering of emojis in Chrome bookmarks bar? I'm using Ubuntu Linux or more specifically Xubuntu. This is how it looks today: [![enter image description here][1]][1] I want them to be displayed as country flags, and with colors, like they appear in bookmark manager:...
How can I get support for proper rendering of emojis in Chrome bookmarks bar? I'm using Ubuntu Linux or more specifically Xubuntu.
This is how it looks today:
I want them to be displayed as country flags, and with colors, like they appear in bookmark manager:


foolo
(121 rep)
Nov 30, 2023, 07:43 AM
• Last activity: Dec 1, 2023, 09:09 PM
1
votes
1
answers
1507
views
How can I have colored emoji in URxvt?
Let me first clarify that `xfce4-terminal` does show colored emojis on the very same system for which I ask the question. URxvt, on the other hand, doesn't show them. Based on [archlinux wiki](https://wiki.archlinux.org/title/Fonts#Emoji_and_symbols), > Emojis should work without any configuration o...
Let me first clarify that
If I change the line
What can I do to make URxvt show colored emoji?
xfce4-terminal
does show colored emojis on the very same system for which I ask the question.
URxvt, on the other hand, doesn't show them. Based on [archlinux wiki](https://wiki.archlinux.org/title/Fonts#Emoji_and_symbols) ,
> Emojis should work without any configuration once you have at least one emoji font installed of supported format.
but apperently that's not the case for me.
You can see in the following screenshot the different behaviuor of the two terminal emulators (in the top left there's the .Xdefaults
file used to configure URxvt)

URxvt*font: xft:DejaVuSansMono Nerd Font Mono:size=12
to
URxvt*font: xft:NotoEmoji Nerd Font Mono:style=Book:size=12
I obtain non-colored emojis shown in a very ugly font where some characters are ok (the two emojis and the digits) and others are terribly pixelated (the letters):

Enlico
(2258 rep)
Aug 27, 2022, 08:17 AM
• Last activity: May 15, 2023, 07:54 AM
2
votes
1
answers
881
views
Display emoji in tty or fbterm?
I am working with an old Raspberry Pi that only has text mode. Distro is Raspberry Pi OS based on Debian 11. By default the emoji characters only print as white diamond shapes in tty; in fbterm they show up as question mark in diamond shape. I can get fbterm to display glyph like Chinese characters...
I am working with an old Raspberry Pi that only has text mode. Distro is Raspberry Pi OS based on Debian 11. By default the emoji characters only print as white diamond shapes in tty; in fbterm they show up as question mark in diamond shape.
I can get fbterm to display glyph like Chinese characters by installing a proper font, e.g., "fonts-wqy-zenhei". However, this does not seem to work even after I install emoji fonts, like "noto-color-emoji".
charlesz
(123 rep)
Feb 18, 2023, 08:29 AM
• Last activity: Feb 18, 2023, 05:09 PM
0
votes
0
answers
149
views
Is there a way to remove specific emoji from being rendered in any application while using Cinnamon desktop?
I am slightly annoyed with some emojis. So I was wondering, how could I remove/prevent some emojis from being rendered at all? Replacing them with some other emoji like cute cat face could work too. So let's say, I am annoyed by "🥹", how can I make it show up as "🐱"? Would be even be...
I am slightly annoyed with some emojis.
So I was wondering, how could I remove/prevent some emojis from being rendered at all?
Replacing them with some other emoji like cute cat face could work too. So let's say, I am annoyed by "🥹", how can I make it show up as "🐱"? Would be even better if I could make it disappear completely.
So I was wondering, how could I remove/prevent some emojis from being rendered at all?
Replacing them with some other emoji like cute cat face could work too. So let's say, I am annoyed by "🥹", how can I make it show up as "🐱"? Would be even better if I could make it disappear completely.
user556471
Jan 12, 2023, 03:41 PM
• Last activity: Jan 12, 2023, 05:03 PM
0
votes
0
answers
319
views
How can I add a custom emoji to the already existing emojis (ore replace one)
Hello I'm starting to play with the linux console apearance and I would like to customize the @ emoji, I know I can do it in many ways, I used ```sudo nano ~/.zshrc``` and modified a few lines so i can replace it with ```☠``` (usual when going root in kali) or ```㉿``` (base in kali) my question here...
Hello I'm starting to play with the linux console apearance and I would like to customize the @ emoji, I know I can do it in many ways, I used
nano ~/.zshrc
and modified a few lines so i can replace it with ☠
(usual when going root in kali) or ㉿
(base in kali)
my question here is to know if there is a way to add custom emojis to the emoji base software integrated in latest versions of linux
if not can I create custom unicode emoji
it's doesn't change anything but i'm on latest version of kali (you guessed)
ZZ0R0
(1 rep)
Dec 19, 2022, 09:34 PM
0
votes
1
answers
1161
views
GUI Emoji Selector for Debian 11
On Debian 11, which package can I install that will provide a GUI for Emoji selection? I'm looking for a package that: - Has **minimal dependencies** - Works across **multiple desktop environments / window managers** I want to avoid packages that require the installation of an entire desktop environ...
On Debian 11, which package can I install that will provide a GUI for Emoji selection?
I'm looking for a package that:
- Has **minimal dependencies**
- Works across **multiple desktop environments / window managers**
I want to avoid packages that require the installation of an entire desktop environment in order to use it.
Lonnie Best
(5415 rep)
Jan 25, 2022, 07:17 PM
• Last activity: Nov 21, 2022, 09:22 PM
10
votes
4
answers
8529
views
What happened to the emoji picker from Linux Mint 19?
In Linux Mint 19 x64 MATE, I noticed one day that Ctrl+Shift+E brought up some built-in/default emoji picker. I started using it after that, because of its instantaneous startup time. After a fresh install of Linux Mint 19.3 x64 MATE, this shortcut no longer worked, and there didn't seem to be any a...
In Linux Mint 19 x64 MATE, I noticed one day that Ctrl+Shift+E brought up some built-in/default emoji picker. I started using it after that, because of its instantaneous startup time.
After a fresh install of Linux Mint 19.3 x64 MATE, this shortcut no longer worked, and there didn't seem to be any app installed of this kind, and nothing in the Software Manager or first few pages of Google results seemed to be the same as what had been there before.
Unfortunately, I hadn't bothered to learn the name of the app, nor what it was part of/where it came from. Anybody know what it is?
Kev
(1759 rep)
Apr 14, 2020, 07:14 AM
• Last activity: Oct 14, 2022, 12:34 PM
3
votes
1
answers
861
views
How to override terminal font-family for specific glyph?
I have set `Source Code Pro` as my default monospace font and `Noto Color Emoji` for emojis, set in fontconfig as follows: ```xml serif Noto Color Emoji DejaVu Sans sans-serif Noto Color Emoji DejaVu Serif monospace Noto Color Emoji Source Code Pro ``` This works fine for Gnome apps, but my terminal...
I have set
Is there how to force the emoji font to be used for those glyphs also in terminal?
Source Code Pro
as my default monospace font and Noto Color Emoji
for emojis, set in fontconfig as follows:
serif
Noto Color Emoji
DejaVu Sans
sans-serif
Noto Color Emoji
DejaVu Serif
monospace
Noto Color Emoji
Source Code Pro
This works fine for Gnome apps, but my terminal [Allacritty] still shows some emojis without using the emoji font. I suspect that is due to Source Code Pro
having those glyphs because they work as expected with other fonts (e.g. Inconsolata).
For example ☕ and 💩 emojis:

paulodiovani
(361 rep)
Aug 24, 2022, 02:06 PM
• Last activity: Sep 23, 2022, 05:35 PM
4
votes
0
answers
760
views
fontconfig fallback font for emoji doesn't work until I blacklist all other fonts
I want to use [UbuntuMono Nerd Font][1] as my main terminal font but render emoji characters using [Noto Color Emoji][2]. I have configured LXTerminal to use font `UbuntuMono Nerd Font`. I can see the primary and first fallback font files for this font with: ~ > fc-match "UbuntuMono Nerd Font" -s |...
I want to use UbuntuMono Nerd Font as my main terminal font but render emoji characters using Noto Color Emoji . I have configured LXTerminal to use font
UbuntuMono Nerd Font
.
I can see the primary and first fallback font files for this font with:
~ > fc-match "UbuntuMono Nerd Font" -s | head -n 2
Ubuntu Mono Nerd Font Complete.ttf: "UbuntuMono Nerd Font" "Regular"
fa-brands-400.ttf: "Font Awesome 6 Brands" "Regular"
To use Noto Color Emoji
as the preferred fallback font for emoji characters not within UbuntuMono Nerd Font
, I configure ~/.config/fontconfig/fonts.conf
as follows:
UbuntuMono Nerd Font
Noto Color Emoji
With this config, the output of fc-match
indicates to me that this should work!
~ > fc-match "UbuntuMono Nerd Font" -s | head -n 2
Ubuntu Mono Nerd Font Complete.ttf: "UbuntuMono Nerd Font" "Regular"
NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"
But it doesn't: '😀' is rendered within LXTerminal as a black & white smiley.
I have also tried using `` elements:
und-zsye
Noto Color Emoji
The only way I can get the coloured '😀' to render is by blacklisting all other fonts. Why is a less precedent font overruling Noto Color Emoji
when the output of fc-match
is listing it as the preferred fallback?
Squiffy
(41 rep)
Aug 29, 2022, 11:08 AM
9
votes
1
answers
2345
views
Use a specific font for emojis
i’d like to use the pretty Segoe UI Symbol emoji. I installed the font by copying it over from my windows install, and awesomely enough, my system falls back to it for all emoji that my main font doesn’t have. But all (black and white) emoji existing in my main font are used. How can I tell fontconf...
i’d like to use the pretty Segoe UI Symbol emoji.
I installed the font by copying it over from my windows install, and awesomely enough, my system falls back to it for all emoji that my main font doesn’t have. But all (black and white) emoji existing in my main font are used.
How can I tell fontconfig to prefer “Segoe UI Symbol” for certain unicode ranges (the ones defined [here](http://en.wikipedia.org/wiki/Emoji)) ?
flying sheep
(235 rep)
Apr 12, 2015, 11:35 AM
• Last activity: Aug 4, 2022, 05:06 AM
2
votes
1
answers
3203
views
Why do I see a black-and-white emoji in console with Noto Color Emoji font installed?
I have installed Noto Color Emoji font on my system (e.g. [Arch: noto-fonts-emoji](https://archlinux.org/packages/extra/any/noto-fonts-emoji/)), but I still see this black-and-white version in the terminal (Konsole): [![Konsole showing echo command of the party popper emoji in black and white][1]][1...
I have installed Noto Color Emoji font on my system (e.g. [Arch: noto-fonts-emoji](https://archlinux.org/packages/extra/any/noto-fonts-emoji/)) , but I still see this black-and-white version in the terminal (Konsole):
However, I expected the color one as displayed in other applications:



gertvdijk
(14517 rep)
Jul 26, 2022, 10:33 PM
0
votes
1
answers
1384
views
Emoji picker on Fedora 35
Is there an emoji picker available on Fedora 35? I can't seem to find a way to do it.
Is there an emoji picker available on Fedora 35? I can't seem to find a way to do it.
Tri Nguyen
(190 rep)
Nov 18, 2021, 10:31 PM
• Last activity: Jun 17, 2022, 01:01 AM
1
votes
1
answers
570
views
Emoji Selector Empty
After deleting (by error) many packages, I came to notice that most of my emojis don't appear. In the "Emoji Selector", I have 4 emojis in the "recent" tab, but none in the "search" and the "all" ones. I tried: Installing noto-coloremoji-fonts, kirigami2-dev and plasma-framework Changing locals Chec...
After deleting (by error) many packages, I came to notice that most of my emojis don't appear. In the "Emoji Selector", I have 4 emojis in the "recent" tab, but none in the "search" and the "all" ones.
I tried:
Installing noto-coloremoji-fonts, kirigami2-dev and plasma-framework
Changing locals
Check if noto is installed with
Opening ibus-ui-emojier-plasma on terminal. Found an error *could not find ibus emoji dictionaries. "ibus/dicts/emoji-en.dict"*
I use MX Linux KDE Plasma, if it helps at all
Installing noto-coloremoji-fonts, kirigami2-dev and plasma-framework
Changing locals
Check if noto is installed with
apt list --installed | grep -i emoji
. Output: *fonts-noto-color-emoji/stable,stable,now 0~20200916-1 all [installed]*Opening ibus-ui-emojier-plasma on terminal. Found an error *could not find ibus emoji dictionaries. "ibus/dicts/emoji-en.dict"*
I use MX Linux KDE Plasma, if it helps at all
Miguel Fernández
(49 rep)
Jun 3, 2022, 03:33 PM
• Last activity: Jun 9, 2022, 07:21 PM
5
votes
1
answers
1271
views
How can I properly use an American flag emoji in my bash prompt?
I want to use an American flag emoji in my bash prompt (i.e. PS1 environment variable). However, the American flag emoji causes the terminal cursor to offset an extra character to the right. 🇺🇸 is comprised of two unicode characters, 🇺 and 🇸. I believe terminal is con...
I want to use an American flag emoji in my bash prompt (i.e. PS1 environment variable). However, the American flag emoji causes the terminal cursor to offset an extra character to the right.
🇺🇸 is comprised of two unicode characters, 🇺 and 🇸. I believe terminal is converting this to a mono-spaced emoji character (the flag), yet still allocating space for two characters. How can I achieve my expected cursor position?
**I want:**
🇺🇸 Desktop user 🗽 ls|
**I get:**
🇺🇸 Desktop user 🗽 ls |
<-*weird space offset of cursor*
**My ~/.bash_profile is:**
export PS1='🇺🇸 \W \u 🗽 '
Andrew Kirna
(151 rep)
Jan 31, 2019, 01:08 AM
• Last activity: May 3, 2022, 10:09 PM
1
votes
1
answers
2602
views
How to let KDE on Debian show emojis?
I am using KDE on Debian (both stable/Bullseye and testing/Bookworm). Emojis are not displayed in the terminal, not in window titles and not in system notifications. One way to reproduce the problem is to open https://www.youtube.com/watch?v=YaYoJziCgto as it will cause plenty of emojis to be displa...
I am using KDE on Debian (both stable/Bullseye and testing/Bookworm). Emojis are not displayed in the terminal, not in window titles and not in system notifications.
One way to reproduce the problem is to open https://www.youtube.com/watch?v=YaYoJziCgto as it will cause plenty of emojis to be displayed in the window title bar. I only see these "missing font rectangles". Another one is to run
echo "Heart Face Emoji 🥰"
; it will display an empty box too.
The problem does not appear on Xfce/Bookworm and KDE on Ubuntu. The problem persists on KDE/Bookworm when using Wayland.
Since the problem does appear on KDE/Bookworm but not on Xfce/Bookworm, I think one can conclude that all required packages, e.g. fonts-noto-color-emoji
are installed. I have not changed anything in the font settings.
How can I enable emoji rendering in KDE?
Max Görner
(255 rep)
Feb 28, 2022, 08:55 AM
• Last activity: Mar 4, 2022, 10:26 AM
0
votes
1
answers
1421
views
Some Emojis not appearing on browser and some applications in Endeavour OS
I just shifted to arch from ubuntu budgie. and I am getting some issues loading/displaying emojis on some websites and applications. I have provided some screenshots of the issue. The Os I am using is Endeavour OS with KDE Plasma Desktop and my browser is Brave (stable). 1. A post on Facebook which...
I just shifted to arch from ubuntu budgie. and I am getting some issues loading/displaying emojis on some websites and applications. I have provided some screenshots of the issue. The Os I am using is Endeavour OS with KDE Plasma Desktop and my browser is Brave (stable).
1. A post on Facebook which probably had emojis
2. VS Code Terminal there should have been arrows which do show up on konsole (kde terminal) shown below
3. The konsole which shows the arrows



Abhay_K
(1 rep)
Jan 1, 2022, 07:04 AM
• Last activity: Jan 3, 2022, 04:51 PM
44
votes
4
answers
5846
views
gitk crashes when viewing commit containing emoji: X Error of failed request: BadLength (poly request too large or internal Xlib length error)
I'm able to open `gitk` but it crashes as soon as I open a commit whom changes contains an emoji (not the commit message). ### Error ❯ gitk --all X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of f...
I'm able to open
gitk
but it crashes as soon as I open a commit whom changes contains an emoji (not the commit message).
### Error
❯ gitk --all
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 6687
Current serial number in output stream: 6706
### Env
❯ cat /etc/os-release --plain
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/ "
SUPPORT_URL="https://forums.linuxmint.com/ "
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/ "
PRIVACY_POLICY_URL="https://www.linuxmint.com/ "
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal
### Git
❯ git --version
git version 2.25.1
### Examples
> 6e05ecd add v3->v4 migration script to update variables
https://github.com/rafaelrinaldi/pure/pull/271/commits/6e05ecdad0e4f623050e154e16c0af0315767940
### Questions
I tried various things:
* removing ~/.Xresources
config related to fonts
* editing then removing ~/.config/fontconfig/conf.d/30-icons.conf
Without success, most of the issues I found were related to st
terminal . However, I'm not using it but guake
, and the issue also happened with yakuake
, gnome-terminal
and hyper
How could I fix this?
Édouard Lopez
(1392 rep)
Jan 15, 2021, 09:57 AM
• Last activity: Dec 3, 2021, 10:12 AM
Showing page 1 of 20 total questions