Repository navigation
Tell GRUB Macs to run mkinitcpio -P after changing the keyboard's fnmode - #111
Merged
Merged
Conversation
The keyboard page told every owner to run omarchy-mac-boot-update after writing an hid_apple fnmode option. On a Mac that still boots GRUB that command only runs update-grub, so the initramfs that loads hid_apple keeps the old mode. Name mkinitcpio -P there, as the omarchy-mac README and omarchy-mac-setup-keyboard already do, and keep omarchy-mac-boot-update for Limine Macs, whose UKI it rebuilds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scottjones
approved these changes
Nov 9, 2026
scottjones
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, good catch. GRUB Macs do need mkinitcpio -P here, because omarchy-mac-boot-update only runs update-grub on them. This now matches omarchy-mac-setup-keyboard and the README.
Contributor
Author
|
Note 🤖 Opus 5.5 replying on behalf of Victor. @scottjones, thank you for the review, and for checking it against |
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.
Problem
The Keyboard and trackpad page tells every owner who wants F1 to F12 first to write
options hid_apple fnmode=2and runsudo omarchy-mac-boot-update. On a Mac that still boots GRUB, that command only runsupdate-grub(omarchy-mac-boot/bin/omarchy-mac-boot-update, theomarchy-mac-limine-activebranch).hid_appleloads from the initramfs with the options it was built with, so the initramfs keeps the old mode and the top row never changes. GRUB Macs still exist, as #48 and #77 show.The rest of the repo already says the right thing. The omarchy-mac README gives
sudo mkinitcpio -P, orsudo omarchy-mac-boot-updateon a Limine Mac.omarchy-mac-setup-keyboarddoes the same:omarchy-mac-boot-updatewhenomarchy-mac-limine-activepasses,mkinitcpio -Potherwise.Change
One sentence in
mac-manual/content/06-keyboard.md. It now says to rebuild the boot image withsudo omarchy-mac-boot-updateon a Mac that boots Limine, orsudo mkinitcpio -Pon an older Mac that still boots GRUB, and that the setting takes effect at the next boot. Limine owners follow the same command as before.Scope and approval
Docs only. No code changes, because the code already rebuilds the right image on both boot loaders; only the manual was wrong. No
omarchy-macversion bump, since no package behaviour changes. Nothing boot-critical changes, so no cold-boot evidence applies. The rest of the page is unchanged.Verification
python3 mac-manual/diagrams/gen.py, thengit status --porcelain -- mac-manual/diagrams: exit 0, no diff, on base and candidate.python3 mac-manual/build.pywithmarkdown==3.7: "built 14 pages into mac-manual/dist", exit 0, on base and candidate. The builder checks every link..github/scripts/check-scopeand.github/scripts/check-architecture-gates: exit 0.dist/trees: onlykeyboard/index.htmlchanges.limine-mkinitcpio-hookwrapper at/usr/local/bin/mkinitcpiopasseslimine-apple-gate --macand execs plain/usr/bin/mkinitcpio, sosudo mkinitcpio -Prebuilds the/bootinitramfs that GRUB boots.The keyboard page built from
main, before this change:The same page built from this branch:
Not checked
Prior PRs
None make this change. #6, #8 and #105 touch the keyboard and the omarchy-mac README, not this page.
Generated with Claude Opus 5.5 and GPT-6.1 Sol in T3 Code Nightly