Needs both the Chinese language and the region switch: the Chinese labels for Region and China Apps, the region switch's logout prompt through omarchy-text, and the language half of manual/52-china.md.
3.8 KiB
China
Omarchy works in mainland China without a VPN. Two installer answers set a machine up for China, and each stands on its own:
- Language. The installer's first screen asks for English or Simplified Chinese. Chinese puts the installer, the system language (
LANG=zh_CN.UTF-8), the menus and the desktop shell in Chinese. - Region. The timezone you pick decides the region.
Asia/Shanghai,Asia/Urumqiand their older names select China; any other timezone is Global. The summary screen shows Region: cn before anything touches the disk.
A Chinese speaker abroad keeps the global mirrors, and an English install in Shanghai still gets the China mirrors.
What the China region sets up
| Area | China | Global |
|---|---|---|
| Arch packages | The channel's .omarchy.cn mirror first, its .omarchy.org mirror behind it, and the ArchLinuxCN repository with its keyring |
.omarchy.org mirrors |
| Omarchy packages | pkgs.omarchy.org |
pkgs.omarchy.org |
| Developer mirrors | npm, PyPI and uv, Go, rustup and crates.io, RubyGems and Bundler, Maven | Upstream registries |
| Software | Install > China Apps | Hidden |
pacman tries the .cn mirror first. If it is unreachable or lacks a package, pacman falls through to .org, which works for anyone with their own VPN. The installer carries the China packages on the ISO, so a China install needs no network.
Chinese input
After choosing Chinese, the installer's keyboard screen opens on Chinese (Simplified, Pinyin); keep it and Fcitx5 Pinyin is ready at first login. Press Super + I to switch to Pinyin, and tap Shift to step between Chinese and Latin letters. Add or change an input method later under Setup > Typing > Input Methods. See Keyboard, Mouse, Trackpad.
Chinese text renders in the right Noto CJK variant everywhere: Simplified for Chinese, Traditional for Taiwan and Hong Kong, Japanese and Korean for those languages.
Developer mirrors
China machines point the common package managers at mirrors inside China. Environment variables in /etc/environment.d/90-omarchy-china.conf cover npm, PyPI and uv, Go, rustup, Bundler and Maven; they reach everything started from the desktop after your next login (not SSH or TTY shells), and they take precedence over npm, pip, uv and Go config files, so unset the variable in a shell to opt out. /.cargo/config.toml points crates.io at the mirror unless a project's .cargo/config.toml says otherwise, and /etc/gemrc sets the RubyGems source unless your ~/.gemrc sets another. Omarchy never replaces one of those two files if it is a regular file you created. Toolchain downloads by mise, such as Node.js or Go themselves, still come from upstream.
China Apps
Install > China Apps installs WeChat, QQ, Feishu, DingTalk, Tencent Meeting and WPS Office from the AUR, and sets up Tencent Docs, Yuque and Shimo as web apps.
Switching later
Setup > Region, or omarchy region cn and omarchy region global, switches the region. China runs a full system update, trusts the ArchLinuxCN keyring, records the region, moves pacman to the .cn mirrors and links the developer mirrors. Global moves pacman back to .org, removes the developer mirrors and hides Install > China Apps; apps you installed from it stay. The developer mirrors change at the next login, so the switch offers to log out.
Setup > Language, or omarchy language zh and omarchy language en, switches the system language. The menus and the desktop shell follow at the next login, so it offers to log out too.
Neither switch touches the other, the input methods or the CJK fonts. omarchy update never changes the region or the language.
A machine prepared for another owner keeps the language picked in the installer but installs Global, since its timezone is only set on first boot. Switch it under Setup > Region once it is online.