Skip to main content

How to change the keyboard layout using Kali Linux Terminal

What you need

    • Press Ctrl + Alt + T to open the Terminal Interface.

    • Enter the following code: sudo dpkg-reconfigure keyboard-configuration

    • The configuring keyboard-configuration selection screen will pop up with different keyboard models. Use the arrow-keys to select the layout of your choice and press Enter to make your selection.

    • If you're outside the US scroll down to the bottom and select Other

    • Once your keyboard model is selected choose the default option for your keyboard layout and press Enter.

    • Once complete you can add a compose key, but this is optional. Hit Enter to exit the GUI.

    • To complete the process enter the command: sudo service keyboard-setup restart

Conclusion

While this process is slightly more complex than the GUI method of changing the layout, this process is much quicker than the GUI method.

8 other people completed this guide.

Jacob Mehnert

Member since: 10/18/21

27,122 Reputation

43 Guides authored

Team

iFanatics Member of iFanatics

Community

54 Members

154 Guides authored

4 Comments

buonasera, sono un neofita di linux che ho trovato sbalorditivo, l'ho installato su un pc lenovo che ormai stavo per rottamare perchè andava lentissimo ed ora con linux funziona alla grande. Ad oggi ho un'unico problema, non riesco a digitare con la tastiera i caratteri che si ottengono con la combinazione crlt+alt+(es. @), il pc è un lenovo G50 del 2014, seguendo la procedura che avete indicato non ho trovato la tastiera per questo modello, come posso fare per associare la tastiera corretta? grazie in anticipo per la risposta!

saluti

Paolo

paolo - Reply

Ciao, puoi anche cambiare il layout della tastiera usando il layout della GUI di Kali Linux. Se fai clic su "Impostazioni" > "Hardware" > "Tastiera", dovrebbe essere disponibile un'opzione per LayoutCiao, puoi anche cambiare il layout della tastiera usando il layout della GUI di Kali Linux. Se fai clic su "Impostazioni" > "Hardware" > "Tastiera", dovrebbe essere disponibile un'opzione per Layout

Jacob Mehnert -

ciao, perdona se rompo le scatole, la tastiera rilevata è quella italiana, ho provato anche italian windows, ma il problema persiste, la combinazione tasti crtl+alt+simbolo non fornisce alcun effetto

paolo -

se provo ad inserire A user-defined custom layout mi da un errore di configurazione XKB

paolo - Reply

Add Comment

View Statistics:

Past 24 Hours: 103

Past 7 Days: 947

Past 30 Days: 4,364

All Time: 112,812