diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index 659cc618f2..a04ad94585 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -227,20 +227,17 @@ To add a package from the ports collection to Serenity, for example curl, go int ## Customize disk image -To add, modify or remove files of the disk image's file system, e.g. to change the default keyboard layout, you can create a file with the exact name `sync-local.sh` in the project root (the same directory as `.clang-format`), with content like this: +To add, modify or remove files of the disk image's file system, e.g. to change the default keyboard layout, you can create a shell script with the name `sync-local.sh` in the project root, with content like this: ```sh #!/bin/sh set -e -cat << 'EOF' >> mnt/etc/SystemServer.ini - -[keymap] -Executable=/bin/keymap -Arguments=de -User=anon +cat << 'EOF' > mnt/etc/Keyboard.ini +[Mapping] +Keymap=de EOF ``` -This will configure your keymap to German (`de`) instead of US English. See [`Base/res/keymaps/`](../Base/res/keymaps/) for a full list. +This will configure your keymap to German (`de`) instead of US English. See [`Base/res/keymaps/`](../Base/res/keymaps/) for a full list. Note that the `keymap` program itself will also modify the `/etc/Keyboard.ini` config file, but this way the change will persist across image rebuilds.