Config tty » Historie » Version 1
Jeremias Keihsler, 13.01.2017 09:41
| 1 | 1 | Jeremias Keihsler | h1. configure your TTY |
|---|---|---|---|
| 2 | |||
| 3 | show current status |
||
| 4 | <pre><code class="bash"> |
||
| 5 | localectl |
||
| 6 | </code></pre> |
||
| 7 | |||
| 8 | show the lost of keymaps |
||
| 9 | <pre><code class="bash"> |
||
| 10 | localectl list-keymaps |
||
| 11 | </code></pre> |
||
| 12 | |||
| 13 | set keymap |
||
| 14 | <pre><code class="bash"> |
||
| 15 | localectl set-keymap de |
||
| 16 | </code></pre> |
||
| 17 | |||
| 18 | as of 2015-08-27 it seems the only way to permanently set the keyboard-layout in the console permanently is to update grub.cfg |
||
| 19 | <pre><code class="bash"> |
||
| 20 | vim /etc/default/grub |
||
| 21 | </code></pre> |
||
| 22 | set @vconsole.keymap=xx@ |
||
| 23 | |||
| 24 | regenerate grub |
||
| 25 | <pre><code class="bash"> |
||
| 26 | grub2-mkconfig -o /boot/grub2/grub.cfg |
||
| 27 | </code></pre> |
||
| 28 | reboot |
||
| 29 | <pre><code class="bash"> |
||
| 30 | reboot |
||
| 31 | </code></pre> |