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/09 10:11] – [Notes] 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 '' | ||
- | =====Testing===== | + | ===Warning about log-in prompt=== |
- | *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 ' | + | |
- | =====Persistence===== | + | |
- | | + | ====Persistence==== |
- | *After a re-boot, create the ' | + | Add the name of the directory, e.g. "opt/sys/keymaps" |
- | *Add the file names to ' | + | |
=====Personalisation===== | =====Personalisation===== | ||
Line 39: | Line 36: | ||
< | < | ||
~/.profile: | ~/.profile: | ||
- | sudo loadkeys <LAYOUT> | + | sudo loadkeys <KMAP> |
</ | </ | ||
- | The US-keyboard layout, for example, | + | The US-keyboard layout is used as default if nothing else is specified so this step can be omitted if that layout should be used by default. |
====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 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:// |