{"id":2233,"date":"2015-10-06T06:30:34","date_gmt":"2015-10-06T04:30:34","guid":{"rendered":"http:\/\/possiblelossofprecision.net\/?p=2233"},"modified":"2021-05-15T11:46:37","modified_gmt":"2021-05-15T09:46:37","slug":"change-keyboard-configuration-in-console","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=2233","title":{"rendered":"Change keyboard configuration in console"},"content":{"rendered":"<p>To <strong>temporarily<\/strong> change a console&#8217;s keyboard mapping there&#8217;s <a href=\"http:\/\/linuxmanpages.net\/manpages\/fedora21\/man1\/loadkeys.1.html\">loadkeys<\/a>, a little user space program that allows you to alter the kernel&#8217;s keyboard mapping.<br \/>\nLoading the very handy <a href=\"https:\/\/en.wikipedia.org\/wiki\/British_and_American_keyboards\">US International keyboard layout<\/a>, use<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# loadkeys us-intl\r\n<\/pre>\n<p>To list the currently used keyboard layout or all available keyboard layouts, <a href=\"https:\/\/www.freedesktop.org\/software\/systemd\/man\/localectl.html\">localectl<\/a> can be used<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# localectl status\r\n   System Locale: LANG=en_US.UTF-8\r\n       VC Keymap: us-altgr-intl\r\n      X11 Layout: us\r\n# localectl list-keymaps\r\n&#x5B;...]\r\n<\/pre>\n<p>If <code>localectl<\/code> is not available, keyboard mapping files are usually found at <code>\/lib\/kbd\/keymaps\/xkb\/<\/code> (e.g. Fedora) or <code>\/usr\/share\/kbd\/keymaps\/<\/code> (e.g. <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Keyboard_configuration_in_console\">Arch Linux<\/a>).<\/p>\n<p>To <strong>permanently<\/strong> change the default keyboard layout system-wide, alter <code>\/etc\/vconsole<\/code> accordingly<\/p>\n<pre class=\"brush: plain; title: \/etc\/vconsole; notranslate\" title=\"\/etc\/vconsole\">\r\nKEYMAP=&quot;us-altgr-intl&quot;\r\nFONT=&quot;eurlatgr&quot;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To temporarily change a console&#8217;s keyboard mapping there&#8217;s loadkeys, a little user space program that allows you to alter the kernel&#8217;s keyboard mapping. Loading the very handy US International keyboard layout, use # loadkeys us-intl To list the currently used keyboard layout or all available keyboard layouts, localectl can be used # localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us-altgr-intl&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=2233\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7],"class_list":["post-2233","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fedora"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/2233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2233"}],"version-history":[{"count":4,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/2233\/revisions"}],"predecessor-version":[{"id":2244,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/2233\/revisions\/2244"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}