https://bugs.kde.org/show_bug.cgi?id=509455
Bug ID: 509455 Summary: RFE: Enable keyboard layout preview when symbols file is not in '/usr/share/X11/xkb/symbols' Classification: Applications Product: systemsettings Version First 6.4.4 Reported In: Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_keyboard Assignee: plasma-b...@kde.org Reporter: pg_for...@runbox.com CC: butir...@gmail.com, duha.b...@gmail.com, natalie_clar...@yahoo.de Target Milestone: --- SUMMARY When a custom keyboard layout is set up, and its symbols file is not located in '/usr/share/X11/xkb/symbols' but instead is in one of the other valid directories (see https://xkbcommon.org/doc/current/user-configuration.html#user-config-locations), no layout preview is available. This is known behavior (the error message explicitly says "Previewing layouts that are defined outside your systems xkb directory is not supported and will also trigger this message." However, it would be good to fix this and allow a preview when the symbols file is located in one of the other valid directories. Particularly, users of "immutable" distros (such as KDE Linux) where /usr is read-only have no way of creating a custom keyboard layout that supports the preview functionality. STEPS TO REPRODUCE 1. Create a custom keyboard layout whose files are stored under (for example) ~/.config/xkb/ 2. In the Plasma System Settings app (Keyboard section), add the layout to the user's available layouts 3. Still in the System Settings app, click the three-dot menu at the right-hand side of the row for that layout, and select "Preview" OBSERVED RESULT In the preview window, no preview is shown, with a message "The keyboard geometry failed to load. [...] Previewing layouts that are defined outside your systems xkb directory is not supported and will also trigger this message" EXPECTED RESULT A valid preview should be shown. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 42 KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION In tastenbrett's main.cpp, the 'findXkbRulesFile()' method seems to be hardcoded to examine only a single directory. -- You are receiving this mail because: You are watching all bug changes.