Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 966 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 966 Bytes

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, who generously provided the script used for Sway. A big thanks to him!