<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Locale on No Subject - nosubject.io -</title><link>https://nosubject.io/en/tags/locale/</link><description>Recent content in Locale on No Subject - nosubject.io -</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 15 Mar 2020 00:27:03 +0900</lastBuildDate><atom:link href="https://nosubject.io/en/tags/locale/index.xml" rel="self" type="application/rss+xml"/><item><title>[Raspberry Pi 3] Initial Ubuntu Settings on Raspberry Pi, Including How to Change the Hostname</title><link>https://nosubject.io/en/raspberry-pi-ubuntu-hostname-swap-tz-locale/</link><pubDate>Sun, 15 Mar 2020 00:27:03 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-ubuntu-hostname-swap-tz-locale/</guid><description>&lt;p&gt;A memo series for Raspberry Pi-related work. This continues the initial setup: changing the hostname, setting a static IP address, and creating a swap file.&lt;/p&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 3&lt;br&gt;Ubuntu 18.04.04 LTS 32-bit&lt;/p&gt;
&lt;h3&gt;Change the Hostname&lt;/h3&gt;
&lt;pre class="wp-block-preformatted"&gt;$ sudo hostnamectl set-hostname rpi3.nosubject.io&lt;/pre&gt;
&lt;h3&gt;Configure a Static IP Address&lt;/h3&gt;
&lt;p&gt;I wrote about configuring this from a PC before booting in &lt;a href="https://nosubject.io/wp-admin/post.php?post=8&amp;amp;action=edit"&gt;[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (No Keyboard or Display Required)&lt;/a&gt;, but if you are already logged in to Ubuntu, do the following.&lt;/p&gt;</description></item><item><title>Add the Japanese Locale to Ubuntu 19.10</title><link>https://nosubject.io/en/ubuntu-19-10-locale-gen/</link><pubDate>Sat, 07 Dec 2019 13:56:23 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-19-10-locale-gen/</guid><description>&lt;p&gt;Even if you set &lt;code&gt;LANG=ja_JP.UTF-8&lt;/code&gt;, if the locale definition does not exist you will see error messages like the following.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory &lt;/pre&gt;
&lt;p&gt;Add the Japanese locale with the &lt;code&gt;locale-gen&lt;/code&gt; command.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;$ sudo locale-gen ja_JP.UTF-8&lt;/pre&gt;
&lt;p&gt;You can see that it has been added.&lt;/p&gt;</description></item></channel></rss>