Bug 2278656 - Please support org.freedesktop.locale1 keyboard configuration for Anaconda on Live environment
Summary: Please support org.freedesktop.locale1 keyboard configuration for Anaconda on...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: muffin
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-02 15:48 UTC by Jiri Konecny
Modified: 2025-03-28 14:51 UTC (History)
7 users (show)

Fixed In Version:
Clone Of: 2278655
Environment:
Last Closed: 2025-03-28 14:51:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jiri Konecny 2024-05-02 15:48:24 UTC
This is a message for the Cinnamon spin:

Hello, I’m contacting you on behalf of the Anaconda team to raise awareness that Anaconda has to change the backend which is used to control keyboard configuration of the Live environment. That means that we will depend on the org.freedesktop.locale1 D-Bus API and we are contacting you with a request to support this API. Currently, Anaconda depends on libXklavier library, however, we are forced to migrated from this solution to Wayland compatible solution for various reasons:

* The libXklavier library is deprecated (https://bugzilla.redhat.com/show_bug.cgi?id=1955025 )
* Anaconda have to migrate to Wayland native solution which makes libXklavier to crash
* The libXklavier doesn’t work great in some situations on Wayland environment
  * Anaconda was forced to not be able to configure keyboards which makes user experience worse https://bugzilla.redhat.com/show_bug.cgi?id=2072941 

Also, the Anaconda team got a lot smaller, so we are not in position to maintain both solutions based on the system. That would get us into more bugs in the future which we don’t have capacity to resolve. For that reason we are requesting all the SIGs owning spins on Fedora to implement support which will reflect this DBus API to the Live environment. More precisely, this API will be used by Anaconda to read and change the currently set keyboard layout configuration on Live media. Your Live environment should reflect on these changes and apply them to the running Live environment. I’ll create a system wide change soon to connect all the parties in one place but we wanted to reach all of you beforehand.

What you need to do:
* Verify if you are already reflecting the systemd-localed keyboard configuration on your spin Live installation environment.
* If the above is not correct, please implement this missing communication. For inspiration (can’t be used in this version) feel free to take a look at the Sway solution (https://github.com/alebastr/sway-systemd/blob/main/src/locale1-xkb-config ).

For more information please see this https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.locale1.html 

We would like to get these changes together with Wayland to switch to Fedora 41 if possible. In case you won’t be able to add support for the DBus service, we will solve this situation with the same approach as described in bug above which means that Anaconda won’t be controlling your system keyboard configuration in the Live environment and users will be requested to set this in the Anaconda for the installed system only.

We are sorry for the inconvenience and we will try to help you with this migration process.

A note:
All the X11 spins might share the same solution.


Reproducible: Always

Comment 1 Jiri Konecny 2025-03-28 14:51:24 UTC
his was implemented by 
https://github.com/rhinstaller/anaconda/pull/6296


Note You need to log in before you can comment on or make changes to this bug.