aboutsummaryrefslogtreecommitdiff
path: root/src/wiki/keymaps/keymaps.md
blob: 6bcce038f2a57578f3f03b02105987e7b3175f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Title: Keymaps in TTY

Installing and Using Keymaps
============================

Unlike most other distributions out there
Carbs Linux does not come preinstalled with console 
keys. You probably won't be using more than 
two either. There are two ways of using keymaps

Installing the "bkeymaps" package
---------------------------------

You can get the `bkeymaps` package from the
[KISS community repository](https://github.com/kisslinux/community).

Build and install `bkeymaps`.

    -> kiss b bkeymaps
    -> kiss i bkeymaps

Now you can find the keymaps in `/usr/share/bkeymaps`.


Downloading the keymaps you require
-----------------------------------

*This will assume that you are using the us keyboard layout*

You firstly will need to go to <https://dev.alpinelinux.org/bkeymaps/>
and download the keymap you need

Loading keymap, doing it on login/boot
--------------------------------------

- Run `loadkmap < file` to load the keymap.

**Load keymap at login**

If you want to load a keymap at login, you can
add the command above to your `.profile` file.

**Load keymap at boot**

You can also load keymap during boot. You should edit
`/lib/init/rc.boot` file and add something like

    # assuming you are using trq as your keymap
    log "Setting keymap to trq..."; {
        loadkmap < /path/to/trq.bmap
    }

to your main function.