{"id":7906,"date":"2023-01-12T21:10:22","date_gmt":"2023-01-12T12:10:22","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=7906"},"modified":"2023-02-11T08:53:23","modified_gmt":"2023-02-10T23:53:23","slug":"linux%e3%81%a7%e8%a8%80%e8%aa%9e%e7%92%b0%e5%a2%83%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88localectl%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/7906","title":{"rendered":"Linux\u3067\u8a00\u8a9e\u74b0\u5883\u3092\u30b3\u30de\u30f3\u30c9\u3067\u5207\u308a\u66ff\u3048\u308b\uff01\uff08localectl set-locale\uff09"},"content":{"rendered":"<p>Linux\u3067localectl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u8a00\u8a9e\u74b0\u5883\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>localectl\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>localectl\u30b3\u30de\u30f3\u30c9\u306e\u30d8\u30eb\u30d7\u3092\u8868\u793a\u3057\u3066\u4f7f\u7528\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ localectl --help\r\nlocalectl &#x5B;OPTIONS...] COMMAND ...\r\n\r\nQuery or change system locale and keyboard settings.\r\n\r\nCommands:\r\n  status                   Show current locale settings\r\n  set-locale LOCALE...     Set system locale\r\n  list-locales             Show known locales\r\n  set-keymap MAP &#x5B;MAP]     Set console and X11 keyboard mappings\r\n  list-keymaps             Show known virtual console keyboard mappings\r\n  set-x11-keymap LAYOUT &#x5B;MODEL &#x5B;VARIANT &#x5B;OPTIONS]]]\r\n                           Set X11 and console keyboard mappings\r\n  list-x11-keymap-models   Show known X11 keyboard mapping models\r\n  list-x11-keymap-layouts  Show known X11 keyboard mapping layouts\r\n  list-x11-keymap-variants &#x5B;LAYOUT]\r\n                           Show known X11 keyboard mapping variants\r\n  list-x11-keymap-options  Show known X11 keyboard mapping options\r\n\r\nOptions:\r\n  -h --help                Show this help\r\n     --version             Show package version\r\n     --no-pager            Do not pipe output into a pager\r\n     --no-ask-password     Do not prompt for password\r\n  -H --host=&#x5B;USER@]HOST    Operate on remote host\r\n  -M --machine=CONTAINER   Operate on local container\r\n     --no-convert          Don't convert keyboard mappings\r\n\r\nSee the localectl(1) man page for details.\r\n<\/pre>\n<h2>\u8a00\u8a9e\u74b0\u5883\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>\u73fe\u5728\u306e\u8a00\u8a9e\u74b0\u5883\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ localectl\r\n   System Locale: LANG=en_US.UTF-8\r\n       VC Keymap: jp\r\n      X11 Layout: jp\r\n$ localectl status\r\n   System Locale: LANG=en_US.UTF-8\r\n       VC Keymap: jp\r\n      X11 Layout: jp\r\n<\/pre>\n<h2>\u4f7f\u7528\u3067\u304d\u308b\u8a00\u8a9e\u74b0\u5883\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>\u4f7f\u7528\u3067\u304d\u308b\u8a00\u8a9e\u74b0\u5883\u306e\u30ea\u30b9\u30c8\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ localectl list-locales \r\nC.UTF-8\r\naa_DJ.UTF-8\r\naa_ER.UTF-8\r\n<\/pre>\n<h2>\u8a00\u8a9e\u74b0\u5883\u3092\u5207\u308a\u66ff\u3048\u308b\uff01<\/h2>\n<p>\u8a00\u8a9e\u74b0\u5883\u3092\u5207\u308a\u66ff\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo localectl set-locale C.UTF-8\r\n&#x5B;usradmin@vmsans01 ~]$ localectl\r\n   System Locale: LANG=C.UTF-8\r\n       VC Keymap: jp\r\n      X11 Layout: jp\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>localectl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a00\u8a9e\u74b0\u5883\u3092\u5bb9\u6613\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/8621\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092Systemd\u3067\u5236\u5fa1\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092Systemd\u3067\u5236\u5fa1\u3059\u308b\uff01<\/div><div class=\"substr\">Systemd\u3067Linux\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/7679\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Linux\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H5qkUu\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source lazyload\" data-src=\"https:\/\/m.media-amazon.com\/images\/I\/51ZPkoBGdZL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067localectl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u8a00\u8a9e\u74b0\u5883\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[125],"tags":[],"class_list":["post-7906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-systemd"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=7906"}],"version-history":[{"count":0,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/7906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=7906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=7906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=7906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}