{"id":1869,"date":"2021-01-27T18:15:00","date_gmt":"2021-01-27T17:15:00","guid":{"rendered":"https:\/\/robermb.com\/blog\/?p=1869"},"modified":"2021-01-27T14:27:38","modified_gmt":"2021-01-27T13:27:38","slug":"change-the-default-keyboard-input-language-in-linux","status":"publish","type":"post","link":"https:\/\/robermb.com\/blog\/geeks\/change-the-default-keyboard-input-language-in-linux\/","title":{"rendered":"Change the default Keyboard input Language in Linux"},"content":{"rendered":"\n<p>First of all, <strong>check your current keyboard language<\/strong> configuration (in this example the current configuration is ES, Spanish) : <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl status\r\n\n   System Locale: LANG=en_US.UTF-8\r\n       VC Keymap: es\r\n      X11 Layout: es<\/code><\/pre>\n\n\n\n<p>With this keyboard configuration you can use a <strong>Spanish<\/strong> <strong>QWERTY <\/strong>keyboard. <\/p>\n\n\n\n<p>But, what <strong>if you need<\/strong> to <strong>change <\/strong>it <strong>to <\/strong>a <strong>French<\/strong> <strong>AZERTY <\/strong>keyboard you can follow the next steps :<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">For a permanent configuration<\/h3>\n\n\n\n<p>You can <strong>list <\/strong>all the <strong>French codes<\/strong> with the command :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl list-keymaps | grep fr\r<\/code><\/pre>\n\n\n\n<p>And to <strong>change <\/strong>the <strong>configuration to <\/strong>a <strong>French <\/strong>AZERTY <strong>keyboard <\/strong>just execute :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl set-keymap fr<\/code><\/pre>\n\n\n\n<p>And if you use a <strong>graphic interface, <\/strong>execute too the following :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl set-x11-keymap fr\r<\/code><\/pre>\n\n\n\n<p>And then if you <strong>execute <\/strong>the <strong>status command, <\/strong>you will see the fr code in the current configuration :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl status\r\n\n   System Locale: LANG=en_US.UTF-8\r\n       VC Keymap: fr\r\n      X11 Layout: fr\r<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Other language codes :<\/h3>\n\n\n\n<p>You can configure your keyboard as well in <strong>English<\/strong>, <strong>German<\/strong>, <strong>Portuguese<\/strong>, <strong>Italian<\/strong>, <strong>Chinese <\/strong>or any other language.<\/p>\n\n\n\n<p>For listing all the codes, just execute this command : <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># localectl list-keymaps\r\n\n...\nus\nus-mac\r\n...\nde\nde-qwerty\r\n...\npt\r\npt-latin1\r\n...\nit\r\nit-mac\r\n...\ncn\r\ncn-altgr-pinyin\n...<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all, check your current keyboard language configuration (in this example the current configuration is ES, Spanish) : With &hellip; <a href=\"https:\/\/robermb.com\/blog\/geeks\/change-the-default-keyboard-input-language-in-linux\/\" class=\"more-link\">More <span class=\"screen-reader-text\">Change the default Keyboard input Language in Linux<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1875,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,8],"tags":[35],"_links":{"self":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/1869"}],"collection":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/comments?post=1869"}],"version-history":[{"count":8,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/1869\/revisions"}],"predecessor-version":[{"id":1879,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/1869\/revisions\/1879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/media\/1875"}],"wp:attachment":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/media?parent=1869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/categories?post=1869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/tags?post=1869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}