Repository navigation
Conversation
…ware libinput's shipped Apple MTP quirk uses AttrSizeHint=104x75 (a 13-inch pad). 14" and 16" Apple Silicon trackpads report their real size via udev; this 16-inch M2 Max is 157x96 mm. The undersized hint makes palm detection map onto the wrong physical area, so resting palms while typing move the cursor and click (omacom#100). Write /etc/libinput/omarchy-apple-mtp.quirks with the measured size, mark the MTP keyboard internal without MatchVendor (Asahi platform devices often have no ID_VENDOR), and keep disable_while_typing on in the Hyprland defaults. Existing installs get the same leaf from a migration. Fixes omacom#100
|
Follow-up after checking this on a 16-inch M2 Max (
libinput only applies What this PR still does on Asahi MTP:
It does not retune |
|
I have corrected the title and description to match the earlier size-hint findings, and removed Checking how the override is loaded also exposed a concrete installer problem: libinput reads The 13 focused checks pass with the real libinput 1.32.0 parser, and the Mac-specific suite, install wiring, metadata and syntax checks pass. Independent QA reproduced exactly the same seven broader-suite environment failures as the original head, with no new failures. The new file-path regression fails on the previous implementation. No host configuration was changed and no physical palm-rejection test was performed, so #100 stays open for hardware confirmation. GitHub CI at |
Related to #100.
Ensure the Asahi MTP keyboard and touchpad quirks are loaded by libinput. Local overrides must use
/etc/libinput/local-overrides.quirks; the previous leaf wroteomarchy-apple-mtp.quirks, which the standard loader does not read. See libinput’s local device-quirk documentation.The hardware leaf and existing-install migration now use the supported file. A marked Omarchy block with distinct section names is placed before preserved administrator content. Re-running replaces only that block; administrator settings remain after it and retain libinput’s last-matching-value precedence. Existing permissions and symlink destinations are preserved, unchanged content is not rewritten, and ambiguous markers fail before mutation. Arbitrary legacy-named files are left alone.
The managed block applies the existing Apple MTP touchpad and keyboard-internal quirks without requiring
MatchVendor, which Asahi platform devices may lack. It obtains the measured fallback dimensions from the event node’sID_INPUT_WIDTH_MMandID_INPUT_HEIGHT_MM. Zero or invalid dimensions are omitted so they cannot invalidate the quirks database. It does not retune palm-size or touch-size thresholds.The original size-based explanation was too broad. On the previously inspected 16-inch M2 Max, the kernel already reports the axis resolution, so changing the 104×75 size hint to 157×96 does not change size math or establish a palm-rejection fix. The hint is a fallback for devices without kernel resolution.
disable_while_typing = truealso restates an existing Hyprland default. The configuration comment now states the size-hint limitation explicitly. #100 remains open pending confirmation that the applicable quirks resolve its reported behavior.Validation: runtime fix tested at
30eb205b; final head169f2530adds only the matching configuration-comment correction, with runtime settings unchanged../tests/all: 13 suites passed; privileged btrfs/LUKS rehearsal skipped../test/all: CLI passed; exactly the same 7 shell-test files and failure signatures as the original PR head failed among 295 files. These depend on the missing siblingomarchy-pkgscheckout, missing PyYAML, host ACPI lid detection, and inheritedNO_COLOR. No new failures.GitHub CI at final head
169f2530passedSyntax + shellcheck,test/all, andtests/all: completed test run. The separate ARM installer run is still in progress.No host
/etc/libinputfiles were changed, no packages were installed, and no physical palm-rejection acceptance test was performed.