An open API service indexing awesome lists of open source software.

https://github.com/jasursadikov/gnome-language-flags

🏴 Swaps default language labels to emoji flags in the keyboard language indicator in GNOME.
https://github.com/jasursadikov/gnome-language-flags

gdm gnome gnome-shell gnome-shell-extension linux

Last synced: about 1 year ago
JSON representation

🏴 Swaps default language labels to emoji flags in the keyboard language indicator in GNOME.

Awesome Lists containing this project

README

          

# GNOME Language emoji flag indicator
![](img/img.png)

Enhances language labels in `evdev.xml` by replacing them with Emoji flags based on ISO 3166 codes.

## Installation
1. Clone this repository.
2. Run `python3 glyphs2flags.py` to generate `evdev.xml`.
3. Make a backup `cp /usr/share/X11/xkb/rules/evdev.xml evdev.bkp`
4. Replace original `evdev.xml` with modified one `cp evdev.xml /usr/share/X11/xkb/rules/evdev.xml`
5. Restart GDM `killall -SIGQUIT gnome-shell` or reboot to apply changes.
6. Enjoy improved language labels with Emoji flags.

To revert changes, return the backup to it's place `cp evdev.bkp /usr/share/X11/xkb/rules/evdev.xml` and restart GDM.

## Customize Emoji Set
Change the emoji set using different fonts.
| | | ArchLinux | Ubuntu |
| --- | --- | --- | --- |
| | JoyPixels | `yay -S ttf-joypixels` | `sudo apt-get install fonts-joypixels` |
| | Apple Emoji | `yay -S ttf-apple-emoji` | `sudo apt-get install fonts-noto-color-emoji` |
| | Twemoji | `yay -S ttf-twemoji-color` | `sudo apt-get install fonts-twemoji` |