From 52fff644d5b2f93a7e6f05b002f1af605c142cd5 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 30 Jan 2021 20:09:42 +0100 Subject: [PATCH] Documentation: Keymaps are nice, document them! fixup! Meta+Documentation: Fix sync-local.sh support, document keymaps --- Documentation/BuildInstructions.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index e1ce1224e6..a33f43ed6e 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -169,3 +169,23 @@ Later on, when you `git pull` to get the latest changes, there's (usually) no ne #### Ports To add a package from the ports collection to Serenity, for example curl, go into `Ports/curl/` and run **./package.sh**. The sourcecode for the package will be downloaded and the package will be built. After that, run **make image** from the `Build/` directory to update the disk image. The next time you start Serenity with **make run**, `curl` will be available. + +#### Keymap + +Create a file with the exact name `sync-local.sh` in the project root (the same directory as `.clang-format`), with content like this: + +``` +#!/bin/sh + +set -e + +cat << 'EOF' >> mnt/etc/SystemServer.ini + +[keymap] +Executable=/bin/keymap +Arguments=de +User=anon +EOF +``` + +This will configure your keymap to German (`de`) instead of US English. See [`Base/res/keymaps/`](../Base/res/keymaps/) for a full list.