Keyboard Layout

From Kicksecure

Keyboardlayout1282268640.jpg

Kicksecure[edit]

Desktop Environment[edit]

Table: Desktop Keyboard Layout Change

Platform Steps
Xfce

To permanently change the keyboard layout, apply the following steps.

  • ApplicationsSettingsKeyboardLayoutdisable "use system defaults"add your layout at the bottomremove the old layoutclose
Graphical Terminal Emulator Temporary until reboot.

setxkbmap de

Note: To set the keyboard to your preferred language, run this command to list all possible layouts. [1]

localectl list-x11-keymap-layouts

Terminal[edit]

To change the keyboard layout. [2]

sudo dpkg-reconfigure keyboard-configuration

Make the reconfigured keyboard-configuration change take effect.

sudo setupcon

[3] [4]

Kicksecure-Qubes[edit]

To correctly apply changes system-wide via dom0: [5]

  • System ToolsKeyboardLayout

Alternatively, language localization input can be configured on a per VM basis.

If problems are encountered, see: My keyboard layout settings are not behaving correctly. What should I do? in the Qubes FAQ.

See Also[edit]

Footnotes[edit]

  1. setxkbmap Man Page
  2. French keyboards:
    Perhaps an upstream bug.
    ( https://web.archive.org/web/20160519163403/https://free.nchc.org.tw/clonezilla-live/stable/Known-issues-Clonezilla-live.txt )
    If you are using French Keymap, remember to use "Select keymap from full list":
    1. Select keymap from full list
    2. pc / azerty / French / Same as X11 (latin 9) /Standard
  3. Alternative /etc/default/keyboard method:
    Open file /etc/default/keyboard in an editor with root rights. (Kicksecure ™ inside Qubes: In Template)

    This box uses sudoedit for better security. This is an example and other tools could also achieve the same goal. If this example does not work for you or if you are not using Kicksecure ™, please refer to this link.

    sudoedit /etc/default/keyboard

  4. Alternative loadkeys method:
    Temporary until reboot.
    sudo loadkeys de
  5. The Qubes bug reporting the change does not propagate to other VMs has now been resolved.


Unfinished: This wiki is a work in progress. Please do not report broken links until this notice is removed, use Search Engines First and contribute improving this wiki.