Repository navigation
fix(linux): raise the control socket backlog and resolve palette Ctrl-J/K by layout - #54
Merged
Merged
Conversation
Under a Russian layout xdotool sends a named p through a temporary spare keycode and unbinds it after the tap. Freezing the app across the press lost the palette 0/3 opened at 50 ms and 0/6 until xdotool exited, while the same freeze on a US layout and ctrl+shift+33 under Russian kept it. Keycode 33 is what a real keyboard sends, and matches the Ctrl-J/K steps. Claude-Session: https://claude.ai/code/session_01MeR3EkF5tniXNzBrRWmfYZ
n2tr2
added a commit
to n2tr2/agterm-linux
that referenced
this pull request
Nov 1, 2026
Brings in melonamin#54's real commits, so this branch merges without a rebase once melonamin#54 lands. Both sides added atspi_smoke.py scenario lines at the same spots; the tree is unchanged by this merge. Claude-Session: https://claude.ai/code/session_01MeR3EkF5tniXNzBrRWmfYZ
n2tr2
marked this pull request as ready for review
November 1, 2026 21:35
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.
Two small Linux ports of macOS v0.36 fixes. macOS is unchanged, and there are no agtermCore changes.
What changes
listen(fd, 8), so a burst of concurrentagtermctlclients could fail to connectlisten(fd, SOMAXCONN), as macOS doesagtermctl pickCtrl-J/Kj/k, so they did nothing on a non-Latin layoutBehaviour change: the old state-mask test accepted extra modifiers. Ctrl-Alt-J and Ctrl-Super-J no longer navigate, because the chord now needs exact modifiers.
x11-xkb-utilsjoinsci.ymlandrelease-linux.yml, becausescripts/test-linux-ui.shnow requiressetxkbmap.Testing
swift testfor agterm-linux: 573 tests in 86 suites pass.swiftlint lint --strictreports 0 findings. Debug and Release builds complete.PaletteNavigationKeyTests(10 tests): US, Russian-only, Russian as second group, Dvorak, Colemak, nil context, plain j/k, exact modifiers, non-navigation chords, arrows and Escape.palette-layout-navigation, undersetxkbmap ru, joins the full suite. It sends J and K as keycodes 44 and 45, becausexdotool key ctrl+jbinds a spare keycode to Latinjand passes on the pre-fix code. It fails on the pre-fix code, in the palette and separately in the picker, and passes with the fix.palette-lifecycleandcontrol-pickerpass too.listenshim loggedbacklog=4096, which shows the value passed, not more than 8 clients queueing.Known limits
palette-layout-navigationruns crashed at launch, before the scenario started: a SIGSEGV insidegetenvon a libghostty font thread while the main thread was also in libghostty. It is consistent with agetenv/setenvrace, but the cause is unverified. It happened on the current libghostty pin, nothing in this PR touches startup, and it is not fixed here.