diff options
Diffstat (limited to 'docs/wiki/keymaps/keymaps.html')
-rw-r--r-- | docs/wiki/keymaps/keymaps.html | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/docs/wiki/keymaps/keymaps.html b/docs/wiki/keymaps/keymaps.html new file mode 100644 index 0000000..15a24e5 --- /dev/null +++ b/docs/wiki/keymaps/keymaps.html @@ -0,0 +1,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’t be using more than +two either. There are two ways of using keymaps</p> + +<h2>Installing the “bkeymaps” 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>-> kiss b bkeymaps +-> 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 < 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 < /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> |