{{Header}} __FORCETOC__ {{title|title= Keyboard Layout }} {{#seo: |description=How to change the Keyboard Layout in {{project_name_long}}. |image=Keyboardlayout1282268640.jpg }}
* [[Language]] * [[Keyboard Layout]]
[[File:Keyboardlayout1282268640.jpg|thumb]] {{intro| This wiki page provides information on keyboard layouts and how to configure them in {{project_name_short}}. }} = {{non_q_project_name_short}} = == Desktop Environment == === Version 17 === Kicksecure 17 only. {| class="wikitable" |+ ''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 (X11) | Temporary until reboot. [https://manpages.debian.org/setxkbmap setxkbmap Man Page] {{CodeSelect|code= setxkbmap de }} Note: To set the keyboard to your preferred language, run this command to list all possible layouts. {{CodeSelect|code= localectl list-x11-keymap-layouts }} |- |} === Version 18 === Kicksecure 18 and above. Per-user configuration. (Not system-wide configuration.) {| class="wikitable" |+ ''Desktop Keyboard Layout Change'' |- ! '''Platform''' ! '''Steps''' |- ! LXQt + labwc Wayland compositor - TUI | {{tui}} Interactive: {{CodeSelect|code= set-labwc-keymap --interactive }} |- ! LXQt + labwc Wayland compositor - CLI | {{cli}} View available keymaps. {{CodeSelect|code= localectl list-x11-keymap-layouts }} Syntax:
set-labwc-keymap --persist keymap
Example: Note: Replace de with the actual keymap to use. {{CodeSelect|code= set-labwc-keymap --persist de }} Manually: See footnote. labwc uses the XKB_DEFAULT_LAYOUT environment variable, as documented at https://labwc.github.io/getting-started.html. To permanently change the keyboard layout, apply the following steps. * Open a terminal → Run mkdir -p ~/.config/labwc → Run nano ~/.config/labwc/environment → Type XKB_DEFAULT_LAYOUT=zz, replacing zz with the code for your keyboard layout → Type Ctrl+S to save, then Ctrl+X to exit → Run labwc --reconfigure to load new settings. Note: To set the keyboard to your preferred language, run this command to list all possible layouts. |- ! scope="row" | Other Wayland compositors | Differs depending on the Wayland compositor in use. Usually can be set using DE-specific tools, may require editing a configuration file and then restarting the compositor to make changes take effect. |- |} == Virtual Terminal == {{Anchor|Terminal}} To change the keyboard layout. 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
Note: Changes keyboard layout for virtual terminals only. This does not effect the graphical environment. Whonix 17, 18: {{CodeSelect|code= sudo dpkg-reconfigure keyboard-configuration }} Make the reconfigured keyboard-configuration change take effect. {{CodeSelect|code= sudo setupcon }} Alternative /etc/default/keyboard method:
{{Open with root rights|filename= /etc/default/keyboard }}
Alternative loadkeys method:
Temporary until reboot. {{CodeSelect|code= sudo loadkeys de }}
Whonix 18 and above: {{CodeSelect|code= sudo set-console-keymap }} == Simple == Whonix 18 and above: set-system-keymap sets both keyboard layouts for, * 1) {{cli}}, and * 2) {{gui}}. With 1 command only. It can either be started from * A) [[System Maintenance Panel]], or * B) from the command line. {{tui}}: {{CodeSelect|code= sudo set-system-keymap --interactive }} CLI: {{CodeSelect|code= sudo set-system-keymap }} If installing {{project_name_long}} using its [[ISO]], {{project_name_long}}'s Calamares based installer) uses set-system-keymap internally to configure the keyboard layout. = {{q_project_name_short}} = To correctly apply changes system-wide via dom0: The Qubes bug reporting [https://github.com/QubesOS/qubes-issues/issues/1396 the change does not propagate to other VMs] has now been resolved. * System ToolsKeyboardLayout Alternatively, [https://github.com/Qubes-Community/Contents/blob/master/docs/customization/language-localization.md language localization input] can be configured on a per VM basis. If problems are encountered, see: [https://www.qubes-os.org/faq/#my-keyboard-layout-settings-are-not-behaving-correctly-what-should-i-do My keyboard layout settings are not behaving correctly. What should I do?] in the Qubes FAQ. = See Also = * [[Language|Change the System or Firefox Language]] = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]