{"id":424,"date":"2011-06-14T07:28:06","date_gmt":"2011-06-14T06:28:06","guid":{"rendered":"http:\/\/cdblog.cdstealer.com\/?p=424"},"modified":"2017-02-05T11:26:49","modified_gmt":"2017-02-05T11:26:49","slug":"gnome-terminal","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=424","title":{"rendered":"Gnome Terminal"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-425 alignnone\" title=\"gnometerminal\" src=\"http:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/gnometerminal.png\" alt=\"\" width=\"256\" height=\"256\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/gnometerminal.png 256w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/gnometerminal-150x150.png 150w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/p>\n<p>Gnome terminal doesn't like to obey the \"normal\" locale file.\u00a0 It uses \"\/etc\/X11\/gdm\/locale.alias\", and therefore usually has the incorrect character encoding.\u00a0 eg.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-535 alignnone\" title=\"Screenshot-cdstealer@quadfukka:~-1\" src=\"http:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka-1.png\" alt=\"\" width=\"861\" height=\"233\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka-1.png 861w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka-1-300x81.png 300w\" sizes=\"auto, (max-width: 861px) 100vw, 861px\" \/><\/p>\n<p>instead of:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-536 alignnone\" title=\"Screenshot-cdstealer@quadfukka:~\" src=\"http:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka.png\" alt=\"\" width=\"778\" height=\"234\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka.png 778w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2011\/06\/Screenshot-cdstealer@quadfukka-300x90.png 300w\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" \/><\/p>\n<p>The way to solve this is to create a symlink to the correct locale.<\/p>\n<p>1) Backup the original file:<\/p>\n<p>mv \/etc\/X11\/gdm\/locale.alias \/etc\/X11\/gdm\/locale.alias.bak<\/p>\n<p>2) Create the symlink:<\/p>\n<p>ln -s \/etc\/locale.gen \/etc\/X11\/gdm\/locale.alias<\/p>\n<p>It's also worth noting that I only have the following in my file:<\/p>\n<pre>en_GB ISO-8859-1\r\nen_GB.UTF-8 UTF-8<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gnome terminal doesn't like to obey the \"normal\" locale file.\u00a0 It uses \"\/etc\/X11\/gdm\/locale.alias\", and therefore usually has the incorrect character encoding.\u00a0 eg. instead of: The way to solve this is to create a symlink to the correct locale. 1) Backup the original file: mv \/etc\/X11\/gdm\/locale.alias \/etc\/X11\/gdm\/locale.alias.bak 2) Create the symlink: ln -s \/etc\/locale.gen \/etc\/X11\/gdm\/locale.alias It's &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=424\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Gnome Terminal<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[67,78,18,77,79],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-gentoo","tag-gnome","tag-gnome-terminal","tag-linux","tag-terminal","tag-utf8"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=424"}],"version-history":[{"count":6,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions"}],"predecessor-version":[{"id":1583,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/424\/revisions\/1583"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}