Skip to content

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

Notifications You must be signed in to change notification settings

jasursadikov/gnome-language-flags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNOME Language emoji flag indicator

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

About

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

Topics

Resources

Stars

Watchers

Forks