2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

bkeymaps: Add README

See: https://github.com/kisslinux/website/issues/92
This commit is contained in:
Dylan Araps 2021-09-24 09:12:39 +03:00
parent 19f258b3cf
commit ce0caad702
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

67
extra/bkeymaps/README Normal file
View File

@ -0,0 +1,67 @@
bkeymaps
________________________________________________________________________________
Binary keymaps for busybox. [0] This package provides a set of binary keymaps
for many different layout types. To change the console keyboard layout this
package must be used alongside busybox's loadkmap or kbd's loadkeys.
Upstream: https://dev.alpinelinux.org/bkeymaps/
[000] Index
________________________________________________________________________________
* Installation ........................................................... [001]
* Usage .................................................................. [002]
* Setting The Console Keyboard Layout .................................. [003]
* References ............................................................. [004]
[001] Installation
________________________________________________________________________________
+------------------------------------------------------------------------------+
| |
| $ kiss b bkeymaps |
| |
+------------------------------------------------------------------------------+
[002] Usage
________________________________________________________________________________
Keymap files are installed to /usr/share/bkeymaps.
--[003] Setting The Console Keyboard Layout ------------------------------------
+----------------------------------------------------------------------------+
| |
| (Option 1) Using busybox. |
| |
| $ loadkmap < /usr/share/bkeymaps/... |
| |
| |
| (Option 2) Using kbd. |
| |
| $ loadkeys /usr/share/bkeymaps/... |
| |
+----------------------------------------------------------------------------+
It is up to the user when and how these commands are executed. For example,
a layout can be loaded at login for a specific user by putting the command
in the corresponding .profile file. To load a layout at boot, create a hook
file in /etc/rc.d containing the command.
+----------------------------------------------------------------------------+
| |
| $ printf '#!/bin/sh\nloadkmap < /path/to/file\n' > /etc/rc.d/keymap.boot |
| |
+----------------------------------------------------------------------------+
[004] References
________________________________________________________________________________
[0] https://pkgs.alpinelinux.org/package/v3.4/main/x86/bkeymaps