aboutsummaryrefslogtreecommitdiff
path: root/docs/wiki/keymaps/keymaps.html
blob: 15a24e5bd3a2e4ad5db277d74ad7751711a0a986 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE HTML>
<html lan="en">
<head>
<title>Keymaps in TTY | Carbs Linux</title>
<link rel="stylesheet" href="/assets/style.css">
<meta charset="utf-8">
<meta name="Description" content="Carbs Linux - a simple busybox linux distribution">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<p class=header><strong>Carbs Linux - a simple busybox linux distribution</strong></p>
<div class="header"><nav>
<a href='/'>index</a>
<a href='https://github.com/CarbsLinux'>github</a>
<a href='//dl.carbslinux.org'>downloads</a>
<a href='/blog'>blog</a>
<a href='/wiki'>wiki</a>
<a href='/wiki/install.html'>installation</a>
</nav></div><div class="border"></div>
<h1>Installing and Using Keymaps</h1>

<p>Unlike most other distributions out there
Carbs Linux does not come preinstalled with console
keys. You probably won&rsquo;t be using more than
two either. There are two ways of using keymaps</p>

<h2>Installing the &ldquo;bkeymaps&rdquo; package</h2>

<p>You can get the <code>bkeymaps</code> package from the
<a href="https://github.com/kisslinux/community">KISS community repository</a>.</p>

<p>Build and install <code>bkeymaps</code>.</p>

<pre><code>-&gt; kiss b bkeymaps
-&gt; kiss i bkeymaps
</code></pre>

<p>Now you can find the keymaps in <code>/usr/share/bkeymaps</code>.</p>

<h2>Downloading the keymaps you require</h2>

<p><em>This will assume that you are using the us keyboard layout</em></p>

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

<h2>Loading keymap, doing it on login/boot</h2>

<ul>
<li>Run <code>loadkmap &lt; file</code> to load the keymap.</li>
</ul>


<p><strong>Load keymap at login</strong></p>

<p>If you want to load a keymap at login, you can
add the command above to your <code>.profile</code> file.</p>

<p><strong>Load keymap at boot</strong></p>

<p>You can also load keymap during boot. You should edit
<code>/lib/init/rc.boot</code> file and add something like</p>

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

<p>to your main function.</p>
<a href="/wiki/keymaps/keymaps.txt">View Page Source</a><div class=border></div>
<p class=footer>Linux® is a registered trademark of Linus Torvalds</p>
<p class=footer>Copyright © 2019-2020 Cem Keylan</p>
</body>
</html>