{"id":20581217,"url":"https://github.com/jonathas/x11-keyboard-flags","last_synced_at":"2025-09-26T02:31:21.677Z","repository":{"id":141968893,"uuid":"443536938","full_name":"jonathas/x11-keyboard-flags","owner":"jonathas","description":"X11 Keyboard layout indicator as country flags (Arch Linux package)","archived":false,"fork":false,"pushed_at":"2022-01-01T15:30:50.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-11-16T06:28:26.579Z","etag":null,"topics":["archlinux","aur","aur-packages","gnome","gnome-desktop","gnome-shell","linux","x11","x11-config","x11-xkb"],"latest_commit_sha":null,"homepage":"https://github.com/jonathas/x11-keyboard-flags","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-01T12:45:12.000Z","updated_at":"2024-10-29T18:44:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8922712e-c9dd-44f2-9280-6d085d2dba4c","html_url":"https://github.com/jonathas/x11-keyboard-flags","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fx11-keyboard-flags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fx11-keyboard-flags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fx11-keyboard-flags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fx11-keyboard-flags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/x11-keyboard-flags/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234283936,"owners_count":18808110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","aur","aur-packages","gnome","gnome-desktop","gnome-shell","linux","x11","x11-config","x11-xkb"],"created_at":"2024-11-16T06:27:31.500Z","updated_at":"2025-09-26T02:31:21.296Z","avatar_url":"https://github.com/jonathas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X11 Keyboard layout indicator as country flags\n\n## About\n\nOn [Gnome](https://www.gnome.org/), the keyboard layout is presented as the code of the language which is currently selected. In the example below, the English (US) keyboard layout is selected:\n\n![Original keyboard layout identifier](./img/original.jpg \"Original keyboard layout identifier\")\n\nI don't know about you, but a country flag there looks nicer to me instead of the language. After this script runs, this is what that would look like for the English (US) keyboard layout:\n\n![Modified keyboard layout identifier](./img/modified.jpg \"Modified keyboard layout identifier\")\n\nPs: Other keyboard layouts/languages are also available\n\n## Install\n\nDownload it from [AUR](https://aur.archlinux.org/) with [yay](https://github.com/Jguer/yay), for example:\n\n```bash\nyay -S x11-keyboard-flags\n```\n\n## Usage\n\nRun it with sudo:\n\n```bash\nsudo x11-keyboard-flags\n```\n\nThen reset gnome-shell by pressing Alt+F2 and entering the \"r\" command\n\nAnd that's it! After these steps you'll see the flags in your keyboard layout selector.\n\n## More details\n\n- The flags are emojis copied from [getemoji](https://getemoji.com/#flags) and [emojipedia](https://emojipedia.org/flags/)\n- The script sets these emojis in the evdev.xml file from X11\n- The script makes a backup of the original evdev.xml file before running, if it doesn't exist yet\n- The idea for this script was based in [this post](https://askubuntu.com/questions/1070231/show-flags-instead-of-labels-in-the-keyboard-layout-language-indicator-in-gnome) in Ask Ubuntu.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fx11-keyboard-flags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Fx11-keyboard-flags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fx11-keyboard-flags/lists"}