Repository navigation
Ship fcitx5 wayland.conf so layouts are not pushed to the compositor - #11446
Closed
erwinFairsource wants to merge 1 commit into
Closed
erwinFairsource wants to merge 1 commit into
erwinFairsource wants to merge 1 commit into
Conversation
xcb.conf already disables XKB overriding for the X11 addon, but the Wayland addon had no counterpart. When fcitx5 builds its default profile it sees XWayland's `us` next to the system layout, ends up with two groups, and tries to hand the layout to the compositor. Hyprland does not support that, so every start of omarchy-fcitx5.service raised the "Wayland Diagnose" notification. Shipping the same setting for the Wayland addon stops the attempt at its source while keeping fcitx5's other notifications intact. Fixes #10474 Co-Authored-By: Claude Fable 5.1 <[email protected]>
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #10474.
config/fcitx5/conf/xcb.confalready shipsAllow Overriding System XKB Settings=Falsefor the X11 addon, but the Wayland addon has no counterpart, so it still runs with the override enabled. This addsconfig/fcitx5/conf/wayland.confwith the same single line.Why this is the cause
Measured on two Omarchy 4.0.3 (quattro, stable) machines with fcitx5 5.1.22, Hyprland 0.56.2 and a single German system layout:
hyprctl devicesandlocalectlreportde, but XWayland reportsus(DISPLAY=:0 setxkbmap -query) on both machines.~/.config/fcitx5/profile, fcitx5 reads both and builds two groups on first start (fcitx5 --verbose '*=5'):Allow Overriding System XKB Settings(described inlibwayland.soas "Only support KDE5+ and GNOME"). On Hyprland the attempt raises the "Wayland Diagnose — Sending keyboard layout configuration to wayland compositor from Fcitx is not yet supported on current desktop" notification from the issue.Evidence
dbus-monitor "interface='org.freedesktop.Notifications',member='Notify'"while deleting the profile and restartingomarchy-fcitx5.service:conf/wayland.confconf/wayland.confCross-checked in both directions.
Relation to #10578
#10578 disables the whole
notificationsaddon, which hides this message but also every other fcitx5 notification. This change stops the layout push itself and leaves the notification channel alone. Both can coexist; this one addresses the cause.Test plan
bash test/shell.d/config-test.sh: all shell.json checks pass; the run stops at the omarchy-pkgs PKGBUILD coverage check because no omarchy-pkgs checkout is present here~/.config/fcitx5/profile, restartomarchy-fcitx5.service,dbus-monitorshows 0 Notify calls🤖 Generated with Claude Code