Keyboard Layout

From Kicksecure
Jump to navigation Jump to search

This wiki page provides information on keyboard layouts and how to configure them in Kicksecure.

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.

Click = Copy Copied to clipboard! setxkbmap de

Note: To set the keyboard to your preferred language, run this command to list all possible layouts. [1] Click = Copy Copied to clipboard! localectl list-x11-keymap-layouts

Wayland TBD. 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.

labwc uses the XKB_DEFAULT_LAYOUT environment variable, as documented at https://labwc.github.io/getting-started.htmlarchive.org iconarchive.today icon

Terminal[edit]

To change the keyboard layout. [2]

Click = Copy Copied to clipboard! sudo dpkg-reconfigure keyboard-configuration

Make the reconfigured keyboard-configuration change take effect.

Click = Copy Copied to clipboard! sudo setupcon

[3] [4]

Kicksecure-Qubes[edit]

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

  • System ToolsKeyboardLayout

Alternatively, language localization inputarchive.org iconarchive.today icon 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?archive.org iconarchive.today icon in the Qubes FAQ.

See Also[edit]

Footnotes[edit]

  1. setxkbmap Man Pagearchive.org iconarchive.today icon
  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.txtarchive.org icon )
    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

    See Open File with Root RightsOnion Logo for detailed instructions on why to use sudoedit for better security and how to use it.

    Note: Mousepad (or the chosen text editor) must be closed before running the sudoedit command.

    Click = Copy Copied to clipboard! sudoedit /etc/default/keyboard

    Kicksecure for Qubes

    NOTES:

    Click = Copy Copied to clipboard! sudoedit /etc/default/keyboard

    • After applying this change, shutdown the Template.
    • All App Qubes based on the Template need to be restarted if they were already running.
    • This is a general procedure required for Qubes and unspecific to Kicksecure for Qubes.

    Others and Alternatives

    • This is just an example. Other tools could achieve the same goal.
    • If this example does not work for you or if you are not using Kicksecure, please refer to this link.

    Click = Copy Copied to clipboard! sudoedit /etc/default/keyboard

  4. Alternative loadkeys method:
    Temporary until reboot. Click = Copy Copied to clipboard! sudo loadkeys de
  5. The Qubes bug reporting the change does not propagate to other VMsarchive.org iconarchive.today icon has now been resolved.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!