Point XCompose at a home-local table for sandboxed apps - #9282
Open
fresh3nough wants to merge 1 commit into
Open
Point XCompose at a home-local table for sandboxed apps#9282fresh3nough wants to merge 1 commit into
fresh3nough wants to merge 1 commit into
Conversation
Absolute includes into /usr/share/omarchy fail inside Steam pressure-vessel and other sandboxes that bind $HOME without host /usr. xkbcommon aborts the whole compose file on a missing include, so every sequence dies. Seed ~/.XCompose.omarchy and include it with %H; migrate existing absolute and Omarchy 3 checkout includes the same way. Fixes omacom#9241 Signed-off-by: fresh3nough <anonwurcod@proton.me>
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 #9241.
install/user/xcompose.shwroteinclude "/usr/share/omarchy/default/xcompose"into~/.XCompose. Steam's pressure-vessel (and other sandboxes that bind$HOMEbut not host/usr) cannot open that path. xkbcommon does not degrade on a failed include — it aborts the entire compose table — so every sequence dies inside the container (emoji, identity macros, locale defaults), with journal spam on every game process.Omarchy 3 used a
%H-relative include. This restores a container-safe shape without depending on the retired~/.local/share/omarchycheckout symlink.Change
~/.XCompose.omarchyfrom$OMARCHY_PATH/default/xcomposeand include"%H/.XCompose.omarchy"from install, upgrade-to-quattro, andomarchy-restart-xcompose(so package updates refresh the home copy).1788138200.shrewrites existing absolute/usr/share/omarchy/...and Omarchy 3%H/.local/share/omarchy/...includes.1788102906.shso its legacy rewrite targets the home-local include instead of an absolute packaged path.Test plan
xkbcli compile-composefails%H/.XCompose.omarchyunder$HOMEcompiles and emits sequences./test/shell.d/xcompose-home-include-test.shpasses