Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero 3

312 bytes added, 17:18, 11 July 2023
How to install Debian system
<ol style="list-style-type: lower-alpha;">
<li><p>Enter the following command to start configuring the '''locale'''</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''sudo dpkg-reconfigure locales'''</p>|}</li><li><p>Then select '''zh_CN.UTF-8 UTF-8''' in the pop-up interface (move &gt; up and down through the up and down direction keys on the &gt; keyboard, select through the space bar, and finally move the &gt; cursor to '''&lt;OK&gt;'''through the Tab key, and then press &gt; Enter.)</p>
<p>[[File:media/image210.png|575x296px]]</p></li>
<li><p>Then set the default '''locale''' to '''zh_CN.UTF-8'''</p>
<p>[[File:media/image211.png|575x160px]]</p></li>
<li><p>After exiting the interface, the '''locale''' setting will start, &gt; and the output displayed on the command line is as follows</p>{| class="wikitable" style="width:800px;" |-|
<p>orangepi@orangepi:~$ '''sudo dpkg-reconfigure locales'''</p>
<p>Generating locales (this might take a while)...</p>
:<p>en_US.UTF-8... done</p>:<p>zh_CN.UTF-8... done</p><p>Generation complete.</p>|}</li></ol>
</li>
<li><p>Then open the '''Input Method'''</p>
<li><p>Then choose'''OK'''</p>
<p>[[File:media/image216.png|305x216px]]</p></li>
<li><p>'''<span style="color:#FF0000">Then restart the Linux system to make the configuration take effect</span>'''</p></li>
<li><p>Then open '''Fcitx configuration'''</p>
<p>[[File:media/image217.png|575x376px]]</p></li>
<li><p>The Chinese and English input methods can be switched through the '''Ctrl+Space''' shortcut key</p></li>
<li><p>If the entire system needs to be displayed in Chinese, you can set the variables in '''/etc/default/locale''' to '''zh_CN.UTF-8'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''sudo vim /etc/default/locale'''</p>
<p># File generated by update-locale</p>
<p>LC_MESSAGES='''<span style="color:#FF0000">zh_CN.UTF-8</span>'''</p><p>LANG='''<span style="color:#FF0000">zh_CN.UTF-8</span>'''</p><p>LANGUAGE='''<span style="color:#FF0000">zh_CN.UTF-8</span>'''</p>|}</li><li><p>Then '''<span style="color:#FF0000">restart the system</span>''' and you can see that the system is displayed in Chinese</p>
<p>[[File:media/image224.png|576x356px]]</p></li></ol>
<span id="how-to-install-ubuntu-20.04-system"></span>
 
=== How to install Ubuntu 20.04 system ===