https://github.com/rhinstaller/localed-x11-sync
Script for controlling X11 systems from systemd-localed DBus-API
https://github.com/rhinstaller/localed-x11-sync
Last synced: about 1 year ago
JSON representation
Script for controlling X11 systems from systemd-localed DBus-API
- Host: GitHub
- URL: https://github.com/rhinstaller/localed-x11-sync
- Owner: rhinstaller
- License: mit
- Created: 2024-09-23T12:28:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T17:58:59.000Z (over 1 year ago)
- Last Synced: 2025-03-28T18:49:29.126Z (over 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# localed-x11-sync
A script for controlling X11 system keyboard layouts using the systemd-localed DBus API. This script should run as a service and reflect any configuration done to the systemd-localed in any currently running X11-based desktop environment.
# Reasoning
This script was created for Fedora (primarily spins) to enable the Anaconda installer to control keyboard layout changes in the Live ISO environment. The systemd-localed DBus was chosen for this purpose because Wayland systems lack a centralized keyboard management system and because it's available everywhere in the Fedora.
However, this script can be used outside of Fedora for similar purposes (e.g., SDDM) if needed.
# Sources
This script is based on the work of [alebastr](https://github.com/alebastr), who generously provided the [script used for Sway](https://github.com/alebastr/sway-systemd/blob/dd738a987c3e388070e49d90cf0edbd92977ad7f/src/locale1-xkb-config). A big thanks to him!