Open main menu

Wiki-Orange Pi β

Changes

Orange Pi CM4

344 bytes added, 10:37, 19 September 2023
How to install Debian system
<ol style="list-style-type: decimal;">
<li><p>First set the default '''locale'''to Chinese</p>
<ol style="list-style-type: lower-alpha;">
<li>Enter the following command to start the configuration '''locale'''</li></ol></li></ol>{| class="wikitable" style="width:800px;" |-|
orangepi@orangepi:~$ '''sudo dpkg-reconfigure locales'''
|}</ol>
<ol start="2" style="list-style-type: lower-alpha;">
<li>Then select '''zh_CN.UTF-8 UTF-8''' in the pop-up interface (move up and down through the up and down direction keys on the keyboard, select through the space bar, and finally move the cursor to'''&lt;OK&gt;'''through the Tab key, and then return to car)</li></ol> 
[[File:cm4-img293.png]]
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>Then set the default '''locale''' as '''zh_CN.UTF-8'''</li></ol>
[[File:cm4-img294.png]]
</ol>
<ol start="4" style="list-style-type: lower-alpha;">
<li>After exiting the interface, the '''locale''' setting will start, and the output displayed on the command line is as follows</li></ol>{| class="wikitable" style="width:800px;" |-|
orangepi@orangepi:~$ '''sudo dpkg-reconfigure locales'''
Generation complete.
|}</ol></li></ol>
<ol start="2" style="list-style-type: decimal;">
<li>Then open '''Input Method'''</li></ol>
[[File:cm4-img295.png]]
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>Then Select '''OK'''</li></ol>
[[File:cm4-img296.png]]
</ol>
<ol start="4" style="list-style-type: decimal;">
<li>Then Select '''Yes'''</li></ol>
[[File:cm4-img297.png]]
</ol>
<ol start="5" style="list-style-type: decimal;">
<li>Then Select '''fcitx'''</li></ol>
[[File:cm4-img298.png]]
</ol>
<ol start="6" style="list-style-type: decimal;">
<li>Then Select '''OK'''</li></ol>
[[File:cm4-img299.png]]
</ol>
<ol start="7" style="list-style-type: decimal;">
<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></li></ol>
[[File:cm4-img300.png]]
</ol>
<ol start="9" style="list-style-type: decimal;">
<li>Then click the + sign in the position shown in the figure below</li></ol>
[[File:cm4-img301.png]]
</ol>
<ol start="10" style="list-style-type: decimal;">
<li>Then search '''Google Pinyin''' and click '''OK'''</li></ol>
<div class="figure">
[[File:cm4-img302.png]]
</div></ol>
<ol start="11" style="list-style-type: decimal;">
<li>Then bring'''Google Pinyin''' to the front</li></ol>
[[File:cm4-img303.png]]
[[File:cm4-img304.png]]
</ol>
<ol start="12" style="list-style-type: decimal;">
<li>Then open the '''Geany''' editor to test the Chinese input method</li></ol>
[[File:cm4-img305.png]]
</ol>
<ol start="13" style="list-style-type: decimal;">
<li>The Chinese input method test is as follows</li></ol>
[[File:cm4-img306.png]]
</ol>
<ol start="14" style="list-style-type: decimal;">
<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></li></ol>{| class="wikitable" style="width:800px;" |-|
orangepi@orangepi:~$ '''sudo vim /etc/default/locale'''
<p># File generated by update-locale</p>
LC_MESSAGES='''<span style="color:#FF0000">zh_CN.UTF-8</span>'''
LANG='''zh_CN.UTF-8''' LANGUAGE<span style='''"color:#FF0000">zh_CN.UTF-8</span>'''
LANGUAGE='''<span style="color:#FF0000">zh_CN.UTF-8</span>'''
|}
</ol>
<ol start="16" style="list-style-type: decimal;">
<li>Then '''<span style="color:#FF0000">restart the system</span>''' and you can see that the system is displayed in Chinese</li></ol>
[[File:cm4-img307.png]]
<span id="how-to-install-ubuntu-20.04-system"></span>
 
=== How to install Ubuntu 20.04 system ===