Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:keyboard_layout_in_console [2015/05/10 03:58] – [Persistence] sm8ps | dcore:keyboard_layout_in_console [2015/07/28 05:44] (current) – [Keyboard Layout - Tinycore way] + Link to keyboard codes sm8ps | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Layout-switching in the Console====== | ======Layout-switching in the Console====== | ||
- | The command ' | + | The command |
- | + | ||
- | + | ||
- | =====Warning about log-in prompt===== | + | |
- | + | ||
- | The man-page of ' | + | |
=====Installing===== | =====Installing===== | ||
*Import and load the //kbd// package, providing ' | *Import and load the //kbd// package, providing ' | ||
- | *Import and load the //console-date// package. This extension is only used in an ephemeral way and can be removed afterwards. | + | *Import and load the //console-data// package. This extension is only used in an ephemeral way and can be removed afterwards. |
- | ====Note==== | + | ====Storing the key-map-files==== |
- | + | ||
- | The package //kbd// has a almost one hundred dependencies going back to, e.g. //passwd// and //mount//. Thus it is desirable to include it into a base extension rather than used it as an isolated extension as here presented. That may be done at a later time without need for repeating the whole procedure. | + | |
- | + | ||
- | + | ||
- | =====Storing the key-map-files===== | + | |
The necessary key-map files are stored away and made persistent. | The necessary key-map files are stored away and made persistent. | ||
- | *Create a directory to store the key-map files in, e.g. '/opt/system/ | + | *Create a directory to store the key-map files in, e.g. '/opt/sys/ |
- | *In a console (virtual TTY, accessed by Ctrl+Alt+F# | + | *In a console (virtual TTY, accessed by Ctrl+Alt+F# |
- | *Determine your keyboard layout by 'sudo loadkeys < | + | *Determine your keyboard layout by ''sudo loadkeys < |
Hint: if you should have loaded a non-functional keyboard layout, use the arrow-up key to get back to the line loading the US-layout. | Hint: if you should have loaded a non-functional keyboard layout, use the arrow-up key to get back to the line loading the US-layout. | ||
- | ====Notes==== | + | ===Notes=== |
*The naming scheme remains a bit hazy. The Swiss-German layout, for instance, may well be loaded by ' | *The naming scheme remains a bit hazy. The Swiss-German layout, for instance, may well be loaded by ' | ||
==== Testing ==== | ==== Testing ==== | ||
- | Loading any such key-map with ' | + | Loading any such key-map with '' |
+ | |||
+ | ===Warning about log-in prompt=== | ||
+ | |||
+ | The man-page of '' | ||
- | =====Persistence===== | + | ====Persistence==== |
- | Add the name of the directory, e.g. "opt/system/ | + | Add the name of the directory, e.g. "opt/sys/ |
=====Personalisation===== | =====Personalisation===== | ||
Line 44: | Line 38: | ||
sudo loadkeys < | sudo loadkeys < | ||
</ | </ | ||
- | The US-keyboard layout is used as default if nothing else is specified. | + | The US-keyboard layout is used as default if nothing else is specified |
====Aliases==== | ====Aliases==== | ||
- | In order to quickly switch between layout, add the following to ' | + | In order to quickly switch between layout, add something like the following to ' |
< | < | ||
~/.ashrc: | ~/.ashrc: | ||
+ | alias us=' | ||
alias < | alias < | ||
</ | </ | ||
+ | =====Keyboard Layout - Tinycore way===== | ||
+ | - Download [[http:// | ||
+ | - Add kmaps to sceboot.lst | ||
+ | - Add your layout to the boot options on your bootloader, for example kmap=qwerty/ | ||
+ | A list of available keyboard codes can be seen in the [[http:// |