Repository navigation
Conversation
fcitx5's defaults bind Super+Space and Super+Shift+Space to input-method group switching. Omarchy starts fcitx5 in every session for XCompose, so those chords never reach the menu or the top-bar toggle. Ship a config that clears both hotkeys, and install it for existing users only when they have not written their own.
|
| grep -F '[Hotkey/EnumerateGroupForwardKeys]' "$shipped" >/dev/null || | ||
| fail "shipped fcitx config clears the forward group hotkey" | ||
| grep -F '[Hotkey/EnumerateGroupBackwardKeys]' "$shipped" >/dev/null || | ||
| fail "shipped fcitx config clears the backward group hotkey" | ||
| grep -F 'Super+space' "$shipped" >/dev/null && | ||
| fail "shipped fcitx config still binds Super+space" | ||
| grep -F 'Super+Shift+space' "$shipped" >/dev/null && | ||
| fail "shipped fcitx config still binds Super+Shift+space" | ||
| pass "shipped fcitx config leaves Super+Space and Super+Shift+Space to Hyprland" |
There was a problem hiding this comment.
Effective hotkeys go untested The assertions check only that the config has two section names and lacks literal key strings. They would still pass if fcitx5 stopped treating those empty sections as cleared hotkeys, leaving the menu shortcut consumed. Add a check of the effective forward and backward group hotkeys so the test catches that regression.
|
Thanks! Two questions to help review:
The migration timestamp |
|
Thanks for tracking this down. The bug is real, but What I checked, on a worker VM linked to
There's one gap, and it isn't one this branch would close cleanly. For a profile that isn't the stock US-only one (say a Second opinion: Codex Medium reviewed the PR against current Waiting on the maintainer: close as superseded, or ask for a narrower fix for non-stock profiles. |
Summary
Omarchy binds
Super+Spaceto the menu andSuper+Shift+Spaceto the top-bar toggle, and starts fcitx5 in every session so~/.XComposeworks. fcitx5's compiled defaults bind those same chords to switching input-method groups. With only the US keyboard loaded, the press does nothing and Hyprland never sees it.This ships
config/fcitx5/configwith those two hotkeys cleared. New users get it from/etc/skel. Existing users get it from migration1790924851only when~/.config/fcitx5/configis missing, so a switch key someone already chose is left alone. A running fcitx5 is told to reload; with no graphical session the next start reads the file.Testing
bash test/shell.d/fcitx-super-space-migration-test.sh./test/allalso run. The new test passes. The other failures on this machine are the existing missingomarchy-pkgscheckout, kernel-header, snapper, video-background, and Windows VM mount checks, not this change.