diff options
| author | FangcatChina <f20091219@outlook.com> | 2026-07-15 13:40:34 +0000 |
|---|---|---|
| committer | FangcatChina <f20091219@outlook.com> | 2026-07-15 13:40:34 +0000 |
| commit | 2f829ca555f2886ded09c5642e37182b91e14f98 (patch) | |
| tree | be7b4add7483fd140e1c49b27f31b5fa0faeebd4 | |
| parent | Update (diff) | |
input method
| -rw-r--r-- | .cache/plugin/git-committers/page-authors.json | 2 | ||||
| -rw-r--r-- | docs/concepts/operating_system/mounting.md | 5 | ||||
| -rw-r--r-- | docs/getting-started/input-method.md | 66 | ||||
| -rw-r--r-- | docs/getting-started/install.md | 2 | ||||
| -rw-r--r-- | docs/getting-started/post-installation.md | 4 | ||||
| -rw-r--r-- | mkdocs.yml | 2 |
6 files changed, 79 insertions, 2 deletions
diff --git a/.cache/plugin/git-committers/page-authors.json b/.cache/plugin/git-committers/page-authors.json index d8191a6..d9d810b 100644 --- a/.cache/plugin/git-committers/page-authors.json +++ b/.cache/plugin/git-committers/page-authors.json @@ -1 +1 @@ -{"cache_date": "2026-07-12", "page_authors": {"docs/index.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/about.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/linux/de.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/linux/distro.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/linux/free_software.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/linux/wm.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/operating_system/file_system.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/concepts/operating_system/partition.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/arch/archlinux.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/arch/artixlinux.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/arch/cachy.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/debian/linuxmint.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/debian/ubuntu.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/rhel/almalinux.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/rhel/fedora.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/rhel/rhel.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/distros/rhel/rocky.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/getting-started/before-installing.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/getting-started/install.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/getting-started/post-installation.md": {"last_commit_date": "2026-07-12", "authors": []}, "docs/getting-started/purpose.md": {"last_commit_date": "2026-07-12", "authors": []}}}
\ No newline at end of file +{"cache_date": "2026-07-15", "page_authors": {"docs/index.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/about.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/linux/de.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/linux/distro.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/linux/free_software.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/linux/wm.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/operating_system/file_system.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/concepts/operating_system/partition.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/distros/arch/archlinux.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/arch/artixlinux.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/arch/cachy.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/debian/linuxmint.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/debian/ubuntu.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/rhel/almalinux.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/rhel/fedora.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/rhel/rhel.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/distros/rhel/rocky.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/getting-started/before-installing.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/getting-started/install.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/getting-started/post-installation.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}]}, "docs/getting-started/purpose.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "FangcatChina", "name": "FangcatChina", "url": "https://github.com/FangcatChina", "avatar": "https://avatars.githubusercontent.com/u/65712297?v=4"}, {"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "web-flow", "name": "web-flow", "url": "https://github.com/web-flow", "avatar": "https://avatars.githubusercontent.com/u/19864447?v=4"}, {"login": "13-trixie", "name": "13-trixie", "url": "https://github.com/13-trixie", "avatar": "https://avatars.githubusercontent.com/u/299844042?v=4"}]}, "docs/concepts/linux/btrfs.md": {"last_commit_date": "2026-07-14", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}, {"login": "web-flow", "name": "web-flow", "url": "https://github.com/web-flow", "avatar": "https://avatars.githubusercontent.com/u/19864447?v=4"}]}, "docs/concepts/linux/lvm.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/concepts/operating_system/bios.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/concepts/operating_system/disk_partition_table.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}, "docs/concepts/operating_system/mounting.md": {"last_commit_date": "2026-07-12", "authors": [{"login": "fanh211", "name": "fanh211", "url": "https://github.com/fanh211", "avatar": "https://avatars.githubusercontent.com/u/179199592?v=4"}]}}}
\ No newline at end of file diff --git a/docs/concepts/operating_system/mounting.md b/docs/concepts/operating_system/mounting.md index 08dc66d..5a2ba29 100644 --- a/docs/concepts/operating_system/mounting.md +++ b/docs/concepts/operating_system/mounting.md @@ -4,4 +4,7 @@ ## 概述 -挂载是指由操作系统使一个存储设备(诸如硬盘、CD-ROM或共享资源)上的电脑文件和目录可供用户通过计算机的文件系统访问的一个过程。好比你想串门得先开门。
\ No newline at end of file +挂载是指由操作系统使一个存储设备(诸如硬盘、CD-ROM或共享资源)上的电脑文件和目录可供用户通过计算机的文件系统访问的一个过程。好比你想串门得先开门。 + +通常情况下,Linux通过修改`/etc/fstab`文件来实现挂载操作。若您需要挂载移动硬盘等,请使用`mount`指令。若希望开机自动挂载,请手动修改`/etc/fstab`。 + diff --git a/docs/getting-started/input-method.md b/docs/getting-started/input-method.md new file mode 100644 index 0000000..b6f5aa7 --- /dev/null +++ b/docs/getting-started/input-method.md @@ -0,0 +1,66 @@ +# 输入法 + +Linux下的输入法框架主要有以下两种选择: + - fcitx5 (包名`fcitx5`): 轻量,启动快,建议KDE、Sway、Hyprland等用户使用 + + - ibus (包名`ibus`): 自定义功能有限,但与GNOME深度集成,建议GNOME用户使用 + +您可以通过您的包管理器安装这两种输入法框架。 + +!!! warning "已知问题" + 由于Wayland显示协议的原因,部分输入法在Electron应用中可能会出现无法输入的状况。我们建议您目前先继续该教程。但是若出现该问题,您可以尝试以下解决方案: + + - 方案一:在终端中编辑`/etc/environment`(可输入`sudo nano /etc/environment`),添加如下行: + + ``` + GTK_IM_MODULE=fcitx + QT_IM_MODULE=fcitx + XMODIFIERS=@im=fcitx + SDL_IM_MODULE=fcitx + ``` + + - 方案二:编辑`~/.config/electron-flags.conf`(可在终端中输入`nano ~/.config/electron-flags.conf`),添加如下行: + + ``` + --enable-features=WaylandWindowDecorations + --ozone-platform-hint=auto + --enable-wayland-ime + ``` + + 或者,您可以参考这篇[知乎教程](https://zhuanlan.zhihu.com/p/690062589)。 + +## 中文输入法框架 + +对于中文输入法框架,由于ibus默认的拼音输入差强人意,并且其他输入框架也大多字库不全或过时。因此,我们推荐您使用中州韵 (Rime),其能够安装多种词库,并且有强大的输入引擎。 + +### fcitx + +若您使用fcitx,请安装以下包: + +```bash +fcitx5 fcitx5-chinese-addons fcitx5-rime +``` + +安装后,请打开fcitx5配置,点击右侧加号、箭头来添加Rime或调整输入法顺序。若没有出现,请您重启系统。 + +若您是KDE用户,请打开KDE设置,搜索虚拟键盘,并选中“fcitx5”。 + +若您是GNOME用户,您需要额外安装`gnome-tweaks`,在“优化-开机启动程序”中添加“fcitx5”。我们同时建议您安装这个[GNOME扩展](https://extensions.gnome.org/extension/261/kimpanel/)。 + +若您是其他桌面环境用户,您也可以通过设置XDG自动启动或编辑配置文件的方式来使得fcitx5开机自启。(WIP) + + +### ibus + +若您使用ibus,请安装以下包: + +```bash +ibus ibus-rime +``` + +安装后,若您是GNOME桌面用户,请打开GNOME设置-键盘-输入源,添加`中文(Rime)`。若没有看到,请重启系统。 + +!!! warning "已知问题" + `ibus-rime`在GNOME上经常出现输入法卡住无法调出或无法退出英文模式的状况。若出现,请打开状态栏中输入法的下拉菜单,并重新点击`中文(Rime)`。 + +若您是KDE用户,请打开KDE设置,搜索虚拟键盘,并选中“ibus”。 diff --git a/docs/getting-started/install.md b/docs/getting-started/install.md index 337b171..736f64a 100644 --- a/docs/getting-started/install.md +++ b/docs/getting-started/install.md @@ -60,6 +60,8 @@ 在安装时,请确保您设备的电力供应。若安装出现卡住等状态,我们建议**不到万不得已不要强制关机**,可能是部分文件下载慢导致的。 +若安装失败,请检查分区大小是否不足,自己的CPU是否支持。 + --- 当系统出现“安装完成”等字样时,恭喜你!你已经成功迈入了Linux的世界!现在,拔下U盘,让我们进入系统吧!
\ No newline at end of file diff --git a/docs/getting-started/post-installation.md b/docs/getting-started/post-installation.md index 08d60e3..357a3c7 100644 --- a/docs/getting-started/post-installation.md +++ b/docs/getting-started/post-installation.md @@ -41,6 +41,10 @@ Flatpak是新一代Linux软件管理工具。其采用沙箱式设计,使得è½ 不过尽管如此,大多数软件的表现均与包管理器版本无较大差别。 +## 输入法 + +由于Linux的输入法配置略有玄学,故将本章独立出来。见[“输入法”章节](./input-method.md)。 + ## 时间制(双系统) 如果您使用的是Windows与Linux双系统,您会发现在从Linux切换至Windows时,时间会发生错位。 @@ -24,6 +24,7 @@ markdown_extensions: - pymdownx.highlight - pymdownx.inlinehilite - pymdownx.magiclink + - pymdownx.superfences plugins: - search @@ -48,6 +49,7 @@ nav: - getting-started/before-installing.md - getting-started/install.md - getting-started/post-installation.md + - getting-started/input-method.md - 概念: - Linux基础: - concepts/linux/free_software.md |
