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:56] – [Storing the key-map-files] 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 necessary key-map files are stored away and made persistent. | ||
+ | *Create a directory to store the key-map files in, e.g. '/ | ||
+ | *In a console (virtual TTY, accessed by Ctrl+Alt+F# | ||
+ | *Determine your keyboard layout by '' | ||
+ | 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. | ||
- | 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. | + | ===Notes=== |
+ | *The naming scheme remains | ||
+ | ==== Testing ==== | ||
+ | Loading any such key-map with '' | ||
- | =====Storing the key-map-files===== | + | ===Warning about log-in prompt=== |
- | The necessary key-map files are stored away and made persistent. | + | |
- | *Create a directory to store the key-map files in, e.g. '/ | + | |
- | *In a console (virtual TTY, accessed by Ctrl+Alt+F# | + | |
- | *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. | + | |
- | ====Notes==== | + | The man-page of '' |
- | *The naming scheme remains a bit hazy. The Swiss-German layout, for instance, may well be loaded by ' | + | |
- | ==== Testing ==== | ||
- | Loading any such key-map with ' | ||
- | =====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:// |