diff --git a/README.md b/README.md
index 555529b..9d4f097 100644
--- a/README.md
+++ b/README.md
@@ -16,9 +16,6 @@
[](https://creativecommons.org/licenses/by-nc-nd/4.0/)
[](https://img.shields.io/tokei/lines/github/ArchLinuxStudio/ArchLinuxTutorial)
[](https://img.shields.io/github/last-commit/ArchLinuxStudio/ArchLinuxTutorial)
-[]()
-[]()
-[]()
[]()
@@ -32,7 +29,7 @@
- 本书为处于互联网被封锁和审查地区的读者提供完善且可靠的科学上网流程,如果有人认为其是"不和谐的",我们表示非常遗憾。
- 本书样式保持尽可能的简洁,以提升读者的网站加载速度。同时,我们认为花哨的样式不应存在于一本较为严肃的书籍中。
- 无废话,只给出一套**我们认为**较为合适的路线,对于安装流程尽可能保持简洁,不会面面俱到。本书是 tutorial,不是 reference,定位与官方 wiki 不同。更多的内容请读者自行查看 Arch Wiki 或查阅相关资料。知其然知其所以然当然是正确的,但填入过多的内容不是一本 tutorial 所应该做的事。
- - 本书使用 docsify 以及 gitalk 开发,并且网站源码全部开源,可放心留言讨论。本网站亦不使用任何有害跟踪器脚本,所提供的文件下载不进行任何审计与监视,你可通过 [Brave 浏览器](https://brave.com/zh/)以及阅读源码进行检测验证。
+ - 本书使用 docsify 以及 gitalk 开发,并且网站源码全部开源,可放心留言讨论。本网站亦不使用任何有害跟踪器脚本,所提供的文件下载不进行任何审计与监视,你可通过 [Brave 浏览器](https://brave.com/zh/)的跟踪器检测以及阅读源码进行检测验证。
- Linux & ACG [Telegram Group:ArchLinuxStudio🇨🇦🏳️⚧️🏳️🌈](https://t.me/FSF_Ministry_of_Truth) ||| [Matrix Group:ArchLinuxStudio🇨🇦🏳️⚧️🏳️🌈](https://matrix.to/#/#ArchLinuxStudio:matrix.org)。
> **本书采用 CC BY-NC-ND 4.0 协议[[1]](https://github.com/ArchLinuxStudio/ArchLinuxTutorial/issues/68)。欢迎提交Pull requests,但是禁止商业用途与演绎。任何"下游文档"都是未经授权且违反协议的。**
@@ -45,9 +42,6 @@
如果能接受到加密货币捐赠,我们将非常感谢。有你的支持,ArchLinuxStudio 社区将变得更加充实与活跃。
-- Donate with Bitcoin: `1Lth3oca4WnMnTnwHBcDLkEqniA2pBxkeC`
-- Donate with Ethereum: `0x5A218a8d570d9947f42e0a4916ece7a60A181c2d`
-- Donate with Litecoin: `LdJXzaSzzrAxfKJdj5effRLcC7k1TbuXJ8`
- Donate with Monero: `43KJJZztPtBC7k8ZjJpuw7bThW1mUH6N947TeNxvsSHD7DywRN365WZ7qpSxVopSd7cg4PFjMuUewjfvATUtTKGQLMboU36`
## Star 历史
diff --git a/docs/README.md b/docs/README.md
index 7362a6c..af8a4b4 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -10,7 +10,7 @@ Arch Linux 安装使用教程,每日实时更新!包含从 Arch Linux 安装
- 本书为处于互联网被封锁和审查地区的读者提供完善且可靠的科学上网流程,如果有人认为其是"不和谐的",我们表示非常遗憾。
- 本书样式保持尽可能的简洁,以提升读者的网站加载速度。同时,我们认为花哨的样式不应存在于一本较为严肃的书籍中。
- 无废话,只给出一套**我们认为**较为合适的路线,对于安装流程尽可能保持简洁,不会面面俱到。本书是 tutorial,不是 reference,定位与官方 wiki 不同。更多的内容请读者自行查看 Arch Wiki 或查阅相关资料。知其然知其所以然当然是正确的,但填入过多的内容不是一本 tutorial 所应该做的事。
- - 本书使用 docsify 以及 gitalk 开发,并且网站源码全部开源,可放心留言讨论。本网站亦不使用任何有害跟踪器脚本,所提供的文件下载不进行任何审计与监视,你可通过 [Brave 浏览器](https://brave.com/zh/)以及阅读源码进行检测验证。
+ - 本书使用 docsify 以及 gitalk 开发,并且网站源码全部开源,可放心留言讨论。本网站亦不使用任何有害跟踪器脚本,所提供的文件下载不进行任何审计与监视,你可通过 [Brave 浏览器](https://brave.com/zh/)的跟踪器检测以及阅读源码进行检测验证。
- Linux 二次元交流群: [Telegram Group:ArchLinuxStudio🇨🇦🏳️⚧️🏳️🌈](https://t.me/FSF_Ministry_of_Truth) ||| [Matrix Group:ArchLinuxStudio🇨🇦🏳️⚧️🏳️🌈](https://matrix.to/#/#ArchLinuxStudio:matrix.org)。
> **本书采用 CC BY-NC-ND 4.0 协议[[1]](https://github.com/ArchLinuxStudio/ArchLinuxTutorial/issues/68)。欢迎提交Pull requests,但是禁止商业用途与演绎。任何"下游文档"都是未经授权且违反协议的。**
@@ -46,9 +46,6 @@ Arch Linux 可以以超高的自由度来定制自己的系统,并且其拥有
如果能接受到加密货币捐赠,我们将非常感谢。有你的支持,ArchLinuxStudio 社区将变得更加充实与活跃。
-- Donate with Bitcoin: `1Lth3oca4WnMnTnwHBcDLkEqniA2pBxkeC`
-- Donate with Ethereum: `0x5A218a8d570d9947f42e0a4916ece7a60A181c2d`
-- Donate with Litecoin: `LdJXzaSzzrAxfKJdj5effRLcC7k1TbuXJ8`
- Donate with Monero: `43KJJZztPtBC7k8ZjJpuw7bThW1mUH6N947TeNxvsSHD7DywRN365WZ7qpSxVopSd7cg4PFjMuUewjfvATUtTKGQLMboU36`
diff --git a/docs/advanced/beAdmin.md b/docs/advanced/beAdmin.md
index e170c52..84a2e26 100644
--- a/docs/advanced/beAdmin.md
+++ b/docs/advanced/beAdmin.md
@@ -171,7 +171,7 @@ sudo smartctl -A /dev/sda #硬盘
sudo smartctl -d sat -A /dev/sdc #usb设备
```
-磁盘空间分析可直接使用 dh 命令,也可使用 [Filelight](https://archlinux.org/packages/extra/x86_64/filelight/)图形化界面直观查看磁盘占用情况
+磁盘空间分析可直接使用 df 命令,也可使用 [Filelight](https://archlinux.org/packages/extra/x86_64/filelight/)图形化界面直观查看磁盘占用情况
```bash
df -h
diff --git a/docs/advanced/beauty.md b/docs/advanced/beauty.md
index c00e4e9..f2f290a 100644
--- a/docs/advanced/beauty.md
+++ b/docs/advanced/beauty.md
@@ -42,7 +42,6 @@ proxychains systemsettings5 #通过代理打开系统设置
在任务栏空白处右键,选择编辑面板,添加部件。
- Netspeed widget 网速组件,这个很实用
-- simple system monitor 系统信息
- todolist 任务组件
然后把你经常使用的软件固定在任务栏即可。
diff --git a/docs/exclusive/code.md b/docs/exclusive/code.md
index a5ef5a1..c7b09b2 100644
--- a/docs/exclusive/code.md
+++ b/docs/exclusive/code.md
@@ -6,24 +6,24 @@
对于前端来说,一般需要浏览器以及 IDE(或编辑器) 即可,附加一些网络工具。
-关于 IDE(或编辑器),可以使用 [OSS code](https://www.archlinux.org/packages/community/x86_64/code/),它是由官方仓库的生成的开源构建。[vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/)AUR是社区驱动的 vs code 版本。
+关于 IDE(或编辑器),可以使用 [OSS code](https://archlinux.org/packages/extra/x86_64/code/),它是由官方仓库的生成的开源构建。[vscodium-bin](https://aur.archlinux.org/packages/vscodium-bin/)AUR是社区驱动的 vs code 版本。
> 微软公司 Visual Studio Code 的二进制构建实际为专有软件。很多人在此存在误解。如此偷梁换柱的手段越来越被更多公司发掘使用。[[1]](https://carlchenet.com/you-think-the-visual-studio-code-binary-you-use-is-a-free-software-think-again/)
-浏览器方面有 [firefox](https://archlinux.org/packages/extra/x86_64/firefox/),[chromium](https://archlinux.org/packages/extra/x86_64/chromium/),[firefox-developer-edition](https://www.archlinux.org/packages/community/x86_64/firefox-developer-edition/),[brave](https://aur.archlinux.org/packages/brave-dev-bin/)AUR等众多软件可供选择。
+浏览器方面有 [firefox](https://archlinux.org/packages/extra/x86_64/firefox/),[chromium](https://archlinux.org/packages/extra/x86_64/chromium/),[firefox-developer-edition](https://archlinux.org/packages/extra/x86_64/firefox-developer-edition/),[brave](https://aur.archlinux.org/packages/brave-dev-bin/)AUR等众多软件可供选择。
-网络工具常使用 [httptoolkit](https://aur.archlinux.org/packages/httptoolkit/)AUR(作为 charles 的代替),以及 [wireshark-qt](https://archlinux.org/packages/community/x86_64/wireshark-qt/)。
+网络工具常使用 [httptoolkit](https://aur.archlinux.org/packages/httptoolkit/)AUR(作为 charles 的代替),以及 [wireshark-qt](https://archlinux.org/packages/extra/x86_64/wireshark-qt/)。
-至于 [yarn](https://www.archlinux.org/packages/community/any/yarn/)、[npm](https://www.archlinux.org/packages/community/any/npm/) 等前端常用工具,也均可用 pacman 安装。
+至于 [yarn](https://archlinux.org/packages/extra/any/yarn/)、[npm](https://archlinux.org/packages/extra/any/npm/) 等前端常用工具,也均可用 pacman 安装。
## 后端编程
-Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[IntelliJ Idea](https://www.archlinux.org/packages/community/x86_64/intellij-idea-community-edition/),[PyCharm](https://www.archlinux.org/packages/community/x86_64/pycharm-community-edition/)等。
+Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[IntelliJ Idea](https://archlinux.org/packages/extra/x86_64/intellij-idea-community-edition/),[PyCharm](https://archlinux.org/packages/extra/x86_64/pycharm-community-edition/)等。
无开源版本的 Jetbrains 产品也可以在 AUR 社区中找到,如[rubymine](https://aur.archlinux.org/packages/rubymine),[webstorm](https://aur.archlinux.org/packages/webstorm)。但可能只提供了安装而未提供卸载,如[jetbrains-toolbox](https://aur.archlinux.org/packages/jetbrains-toolbox)
> Jetbrains 产品在 linux 下输入法均会产生光标不跟随的现象,Jetbrains 一直未修复该 bug,解决办法为[替换 jbr](https://github.com/RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64)
-较为传统的 IDE 有 [Netbeans](https://www.archlinux.org/packages/community/any/netbeans/) 以及 eclipse,eclipse 有多种版本,可在 AUR 中自行搜索。
+较为传统的 IDE 有 [Netbeans](https://archlinux.org/packages/extra/any/netbeans/) 以及 eclipse,eclipse 有多种版本,可在 AUR 中自行搜索。
关于编程语言自身,更是不必多说,除了 c 语言和 c++安装好系统即支持外,java, node,等都可以被轻易安装。
@@ -31,9 +31,9 @@ Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[Intel
关于数据库相关软件,也有多种选择。
-- [Mysql Workbench](https://www.archlinux.org/packages/community/x86_64/mysql-workbench/)
-- [pgadmin4](https://www.archlinux.org/packages/community/x86_64/pgadmin4/)
-- [dbeaver](https://www.archlinux.org/packages/community/x86_64/dbeaver/)
+- [Mysql Workbench](https://archlinux.org/packages/extra/x86_64/mysql-workbench/)
+- [pgadmin4](https://archlinux.org/packages/extra/x86_64/pgadmin4/)
+- [dbeaver](https://archlinux.org/packages/extra/x86_64/dbeaver/)
- [robo3t](https://aur.archlinux.org/packages/robo3t-bin/)AUR
- [RESP.app](https://aur.archlinux.org/packages/resp-app/)AUR (原 redis-desktop-manager)
- [rdm-bin](https://aur.archlinux.org/packages/rdm-bin/)AUR 如果上面的编译有问题,可用这个 bin 版本
@@ -48,11 +48,11 @@ Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[Intel
## 桌面应用编程
-目前桌面开发较为流行的是 [electron](https://archlinux.org/packages/community/x86_64/electron/) 和 [Qt](https://archlinux.org/packages/extra/x86_64/qt6-base/) 应用。electron 可直接用 OSS Code 进行开发,Qt 应用使用 [Qt Creator](https://www.archlinux.org/packages/extra/x86_64/qtcreator/) 进行开发。
+目前桌面开发较为流行的是 [electron](https://archlinux.org/packages/extra/x86_64/electron/) 和 [Qt](https://archlinux.org/packages/extra/x86_64/qt6-base/) 应用。electron 可直接用 OSS Code 进行开发,Qt 应用使用 [Qt Creator](https://archlinux.org/packages/extra/x86_64/qtcreator/) 进行开发。
## 机器学习与深度学习
-针对机器学习方面的编程,IDE 可使用同后端编程中一样的软件。机器学习常用的[jupyter-notebook](https://archlinux.org/packages/community/any/jupyter-notebook/) 以及所需要的相关库如[numpy](https://archlinux.org/packages/extra/x86_64/python-numpy/)、[sklearn](https://archlinux.org/packages/community/x86_64/python-scikit-learn/)、[pandas](https://archlinux.org/packages/community/x86_64/python-pandas/)等,也均可在源中找到。同时,[tensorflow](https://archlinux.org/packages/community/x86_64/tensorflow/)、[pytorch](https://archlinux.org/packages/?sort=&q=python-pytorch&maintainer=&flagged=)以及其相关的 cuda 支持包等深度学习相关的包也均可安装使用。
+针对机器学习方面的编程,IDE 可使用同后端编程中一样的软件。机器学习常用的[jupyter-notebook](https://archlinux.org/packages/extra/any/jupyter-notebook/) 以及所需要的相关库如[numpy](https://archlinux.org/packages/extra/x86_64/python-numpy/)、[sklearn](https://archlinux.org/packages/extra/x86_64/python-scikit-learn/)、[pandas](https://archlinux.org/packages/extra/x86_64/python-pandas/)等,也均可在源中找到。同时,[tensorflow](https://archlinux.org/packages/extra/x86_64/tensorflow/)、[pytorch](https://archlinux.org/packages/?sort=&q=python-pytorch&maintainer=&flagged=)以及其相关的 cuda 支持包等深度学习相关的包也均可安装使用。
## 科学计算
@@ -62,4 +62,4 @@ Jetbrains 公司开源的 IDE 可在 archlinux 官方仓库中找到,如[Intel
## 逆向工程
-可安装知名的[ghidra](https://archlinux.org/packages/community/x86_64/ghidra/)作为 IDA 的替代,更多替代选项可参考[alternativeto](https://alternativeto.net/software/ida/)。除此之外再介绍一个好用的十六进制编辑器[Bless](https://archlinux.org/packages/community/any/bless/)。
+可安装知名的[ghidra](https://archlinux.org/packages/extra/x86_64/ghidra/)作为 IDA 的替代,更多替代选项可参考[alternativeto](https://alternativeto.net/software/ida/)。除此之外再介绍一个好用的十六进制编辑器[Bless](https://archlinux.org/packages/extra/any/bless/)。
diff --git a/docs/index.html b/docs/index.html
index 83d9b0e..7075d53 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -116,25 +116,26 @@
安装/魔法上网/美化/日常/娱乐/编程的全部...
如您无法访问本站,则说明您的网络环境已被当局封锁,请翻墙访问
+
+
+
+
+
+
>
function change_search_plugin_order() {
- let search_plugin = document.getElementsByClassName('search')[0];
- let app_name = document.getElementsByClassName('app-name')[0];
+ let search_plugin = document.getElementsByClassName("search")[0];
+ let app_name = document.getElementsByClassName("app-name")[0];
search_plugin.parentNode.insertBefore(app_name, search_plugin);
}
setTimeout(change_search_plugin_order, 1);
@@ -261,7 +273,7 @@
let todayMinute = today.getMinutes();
let todaySecond = today.getSeconds();
- let t1 = Date.UTC(2020, 09, 1, 0, 0, 0);
+ let t1 = Date.UTC(2020, 9, 1, 0, 0, 0);
let t2 = Date.UTC(
todayYear,
todayMonth,
@@ -280,16 +292,16 @@
(diff - diffDays * days - diffHours * hours - diffMinutes * minutes) /
seconds
);
- Docsify.dom.find('.runtime').innerHTML =
- 'Arch Linux Studio has been running for ' +
+ Docsify.dom.find(".runtime").innerHTML =
+ "Arch Linux Studio has been running for " +
diffDays +
- ' days ' +
+ " days " +
diffHours +
- ' hours ' +
+ " hours " +
diffMinutes +
- ' minutes ' +
+ " minutes " +
diffSeconds +
- ' seconds';
+ " seconds";
}
// 先让网页加载完,否则 Docsify.dom.find('.runtime') == null
setTimeout(siteTime, 500);
diff --git a/docs/play&office/android.md b/docs/play&office/android.md
index d43b389..d1bbede 100644
--- a/docs/play&office/android.md
+++ b/docs/play&office/android.md
@@ -8,7 +8,15 @@
> 华为鸿蒙与小米的 MIUI 等中国大陆厂商存在着与威权政府合作的风险,并且这种风险目前来看越来越大,操作系统层面来看,整合所谓"反诈系统"几乎已经是箭在弦上的事情。是否会有硬件级别的监控和审计,目前尚无明确证据。为了你的隐私与安全,如果这些厂商的手机无法自行刷入安全的 ROM,那么你需要拒绝使用这些厂商的产品。
-买手机最好买知名度大的品牌,较热门的机型,这样在刷机时可以方便的找到官方的 twrp 和知名的 ROM 包,如[LineageOS](https://lineageos.org/),[crDroid](https://crdroid.net/), [Resurrection Remix](https://resurrectionremix.com/),[PixelExperience](https://download.pixelexperience.org/devices),[grapheneos](https://grapheneos.org/)等。如果是较冷门的品牌,官方可能没有提供 ROM,只能在网上自行寻找个人改造过的 twrp 和上述 ROM 包的 unofficial ROM,搜索的方式一般为手机的代号+ROM。这种个人改造版本的安全性比较难说,而且还可能有更多的 bug。也有可能你翻遍全网,也找不到冷门机型能用(指好用的、非硬件提供商的官方 ROM)的 twrp 和 ROM。硬件方面,一般推荐买高通骁龙的 cpu,不要买联发科的,因为更多 ROM 的版本都是适配高通硬件的。
+同时,大陆厂商预装的魔改 ROM 中普遍存在大量广告,其中「手机鸿蒙」和「MIUI国内版」最多,大量的广告会占满系统通知栏,给使用者造成很差的使用体验,虽然可以通过冻结相应软件的方法来关闭。但随着时间的流逝,厂商也逐渐堵死了这条路,将「手机管家」、「软件商店」、「智慧XX」、「系统桌面」、「主题商店」等广告软件锁死,如果没有 root 权限则禁止冻结,就算是 adb shell 也不行,此行为广泛出现于「ColorOS」、「OriginOS/FuntouchOS」、「手机鸿蒙/MagicUI」等。此外,在 MIUI 中,虽然 shell 权限允许冻结一些广告软件,但冻结后可能会出现重启系统后卡死在开机第二屏的情况,也就是所谓的「卡米」,防不胜防。
+
+最后,许多大陆厂商的魔改 ROM 的大陆版本会存在一些「流氓行为」,目前比较猖狂的是「锁死默认应用」,尤其是桌面应用「启动器」,在此,我想说:
+
+虽然恶意应用可能会引诱用户将其设置为默认应用然后向用户进行勒索诈骗等恶意行为,但是,难道用户连这点判断能力都没有吗?真把用户当傻子?**人人生而自由,在尊严和权利上一律平等。** 为什么要剥夺用户自由地更换系统默认应用的权利,难道就是为了推广自己那几个广告满天飞,功能远远落后于其他优秀的自由软件的应用吗?为了挣这几个钱脸都不要了?随便找了个看似有点道理但其实漏洞百出的理由就开始剥夺手机用户的基本权利,吃相难看!再者,为什么只在大陆版的 ROM 上推出这些『特色功能』,海外版就没有,难道中国人都是傻子,外国人就比中国人聪明吗?自己把自己当傻子?「禽兽之变诈几何哉?止增笑耳。」
+
+同时,「手机鸿蒙3」中出现的『纯净模式』以及「ColorOS」中安装应用强制登录OPPO账号且无法关闭的行为也都是「流氓行为」,同上。
+
+买手机最好买开放 BootLoader 解锁(刷机的前提)并且官方最好有可用的开源内核(第三方开源 ROM 适配的前提)品牌,较热门的机型,比如小米/红米、Google Pixel、Realme、Fairphone等,避免一些既不开放 BootLoader 解锁,官方系统也不好用的品牌,比如华为/荣耀(如果刷机有难度,华为就是地狱级)、Vivo/iQOO(不存在难度,因为几乎所有机型都没有刷机的可能)等,这样在刷机时可以方便的找到官方的 twrp 和知名的 ROM 包,如[PixelExperience](https://get.pixelexperience.org/devices),[LineageOS](https://lineageos.org/),[crDroid](https://crdroid.net/),[Resurrection Remix](https://resurrectionremix.com/)(不建议,官方已经停更),[Havoc-OS](https://havoc-os.com/),[ArrowOS](https://arrowos.net/),[Evolution X](https://evolution-x.org/)(虽然功能比较丰富,但有过「kang」的行为,介意者误用),[dotOS](https://www.droidontime.com/devices),[grapheneos](https://grapheneos.org/)等,我们统称为「类原生」(相对于真原生 AOSP 而言)。如果是较冷门的品牌或冷门机型,各大官方类原生网站可能没有提供 ROM,只能在网上自行寻找个人改造过的 twrp 和上述 ROM 包的 unofficial ROM,搜索的方式一般为手机或手机代号+ROM,比如「Xiaomi Redmi K60 Pro ROM」或者「mi socrates rom」,必要时也可以在[XDA论坛](https://forum.xda-developers.com/),资源会相对较多一些。这种个人改造版本的安全性一般不会有啥问题,但稳定性比较难说,而且还可能出现更多的 bug。也有可能你翻遍全网,也找不到冷门机型能用(指好用的、非硬件提供商的官方 ROM)的 twrp 和 ROM。硬件方面,一般推荐买高通骁龙平台的手机,不推荐买联发科平台的,因为更多 ROM 的版本都是适配高通硬件的(高通的包多),同时联发科平台的设备刷机过程中出现问题后救砖的便捷性和简单性也不如高通平台(高通的只要硬件没坏基本都能救回来)。
首先需要安装 linux 上的安卓工具包
@@ -18,13 +26,13 @@ sudo pacman -S android-tools
## 解锁 bootloader
-再次提醒要购买或使用有可能解锁 bootloader 的手机品牌。一般来说像小米这种品牌,官方会提供解锁 bootloader 的途径和工具,但是这些工具基本只能在 windows 下用。这时候你就只能用一台 windows 操作,或者使用虚拟机。
+再次提醒要购买或使用有官方提供 bootloader 解锁的手机品牌。一般来说像小米这种品牌,官方会提供解锁 bootloader 的途径和工具,但是小米的解锁工具基本在 Microsoft Windows 系统下用。这时候你就只能用一台 Windows 电脑操作,或者使用虚拟机(不推荐,可能会出问题)。
-除此之外,如果你能获取,或通过很 hack 的方式拿到 bootloader 的解锁码,那么也可以使用 adb 在 fastboot 模式下进行解锁。
+除此之外,如果你能获取,或通过很 hack 的方式拿到 bootloader 的解锁码(华为设备,大部分需要花钱或者拆机短接),那么也可以使用 adb 在 fastboot 模式下进行解锁。
```bash
$ adb reboot bootloader #手机先链接电脑,重启到fastboot
-$ fastboot oem unlock xxxxxxx #在fastboot模式下解锁,要加上正确的bl码才能解锁,否则会报错
+$ fastboot oem unlock 1234567890ABCDEF #在fastboot模式下解锁,要加上正确的16位解锁码才能解锁,否则会出现类似以下报错
FAILED (remote: 'check password failed!')
fastboot: error: Command failed
```
@@ -42,13 +50,15 @@ fastboot: error: Command failed
去下载你机型对应的 twrp。在[官网](https://twrp.me/Devices/)搜索你的机型,下载。如果没有看到你的机型说明官方不支持,你需要自行搜索别人修改的版本。将手机连接电脑,注意要连到 USB2.0 的接口,否则可能有兼容性问题。
-让手机进入 fastboot 模式,在电脑打开终端,执行
+让手机进入 fastboot 模式,对于非华为设备,在电脑打开终端,执行
```bash
fastboot flash recovery ./path/of/your-twrp.img
+
+fastboot boot ./path/of/your-twrp.img
```
-看到终端执行完毕的时候,就可以让手机重启了。这里注意,执行`fastboot reboot`可以重启,但是许多设备会在首次启动时自动覆盖替换你刷入的自定义 recovery,这样直接重启会报错不是官方系统等类似信息。为防止这种情况,在手机上通过硬件按键重启进入 recovery,TWRP 将给 ROM 打 patch,以防止 ROM 替换 TWRP。[[1]](https://twrp.me/xiaomi/xiaomimi5.html)
+终端执行完毕的后,手机会自动重启到 Recovery。这里注意,第一个命令执行完毕后执行`fastboot reboot`可以重启,但是许多设备会在首次启动时自动覆盖替换你刷入的自定义 Recovery,这样直接重启可能会发现启动的依旧是官方 Recovery 而非刚才刷的,一些 ROM 甚至会报错不是官方系统等类似信息。为防止这种情况,在手机上通过硬件按键重启进入 recovery,TWRP 将给 ROM 打 patch,以防止 ROM 替换 TWRP。[[1]](https://twrp.me/xiaomi/xiaomimi5.html)
剩下的步骤就是普通的进入 twrp,双清,刷机即可。
@@ -75,12 +85,18 @@ adb shell settings put global captive_portal_mode 0
## 刷入谷歌套件
-一些场景下因为需要使用 Google play,需要刷入谷歌套件。可选的项目有[opengapps](https://opengapps.org/)、[nikgapps](https://nikgapps.com/)以及[lineageos 提供的套件](https://wiki.lineageos.org/gapps)。opengapps 目前更新似乎已经陷入停滞。nikgapps 可以自行定制。
+一些场景下因为需要使用 Google play,需要刷入谷歌套件。可选的项目有[opengapps](https://opengapps.org/)、[nikgapps](https://nikgapps.com/)以及[lineageos 提供的套件](https://wiki.lineageos.org/gapps)。一般推荐刷稳定性高些 opengapps ,但其目前更新似乎已经陷入停滞。nikgapps 可以自行定制。
## 解锁 root 权限
-使用 Magisk 以解锁 root 权限。在其[官方 release 界面](https://github.com/topjohnwu/Magisk/releases)下载 Magisk apk 文件,将其重命名为.zip 后缀。然后将其拷贝到手机中,最后进入 twrp 刷入此 zip 包即可。
+如果你的设备可以使用[KernelSU](https://kernelsu.org/zh_CN/),则首先推荐 KernelSU,因为 KernelSU 运行在内核空间,对用户空间应用有更强的掌控,同时被检测到的概率也极小。
+
+对于无法使用 KernelSU 的设备,使用 Magisk 以解锁 root 权限。在其[官方 release 界面](https://github.com/topjohnwu/Magisk/releases)下载 Magisk apk 文件,将其重命名为.zip 后缀。然后将其拷贝到手机中,最后进入 twrp 刷入此 zip 包即可。
+
+对于Android 5.1 以下设备,如果 Magisk 无法运行或运行出现问题,则可以尝试[SuperSU](https://supersuroot.org/)。注意:此应用属于**专有软件**,且已经停更,除非万不得已,否则不推荐使用
Ref:
- [小米刷机教程](http://www.romleyuan.com/news/readnews?newsid=938)
+
+详细刷机教程参考[刷机指南](https://jesse205.github.io/FlashAndroidDevicesGuidelines/)。
diff --git a/docs/play&office/office.md b/docs/play&office/office.md
index a4844e5..bad8f9d 100644
--- a/docs/play&office/office.md
+++ b/docs/play&office/office.md
@@ -80,7 +80,7 @@ sudo pacman -S weechat
### 屏幕分享
-手机通讯软件在电脑上的投屏可以尝试使用[scrcpy](https://archlinux.org/packages/community/x86_64/scrcpy/)。
+手机通讯软件在电脑上的投屏可以尝试使用[scrcpy](https://archlinux.org/packages/extra/x86_64/scrcpy/)。
```
sudo pacman -S scrcpy
@@ -95,7 +95,7 @@ sudo pacman -S sshfs # 文件系统挂载,Dolphin完美集成
## 办公套件
-主要两个选择是 [LibreOffice](https://wiki.archlinux.org/index.php/LibreOffice)以及[onlyoffice]()AUR。 我们建议你使用开源的 LibreOffice 以及 onlyoffice,而不是专有软件 WPS,前两者其目前的安装已经非常简单。
+主要两个选择是 [LibreOffice](https://wiki.archlinux.org/index.php/LibreOffice)以及[onlyoffice](https://aur.archlinux.org/packages/onlyoffice-bin/)AUR。 我们建议你使用开源的 LibreOffice 以及 onlyoffice,而不是专有软件 WPS,前两者其目前的安装已经非常简单。
```bash
sudo pacman -S libreoffice-still #稳定版
@@ -114,6 +114,7 @@ sudo pacman -S kchmviewer
对于日常办公来说,打印机是非常必要的。除此之外,我们建议读者维持一份纸质的密码,包括你可以将你加密货币钱包中的私钥打印出来保存,这是非常好的一个方案。对于打印机的品牌,我们建议使用惠普打印机。其对于 Linux 的支持非常全面,可以去其[网站](https://hplipopensource.com/)查看所支持的设备等详情。在 Arch Linux 上,安装包 hplip 以及 cups ,启动服务后即可使用。
```bash
+sudo pacman -S system-config-printer
sudo pacman -S hplip
sudo pacman -S cups
sudo systemctl enable --now cups.service
@@ -143,7 +144,7 @@ yay -S vnote
## 电子书
-pdf 可直接用浏览器打开,也可选用其他专用的阅读软件,如[okular](https://archlinux.org/packages/extra/x86_64/okular/)或者[calibre](https://archlinux.org/packages/community/x86_64/calibre/)。okular 在打开大型 epub 时会非常卡顿,并且图片模糊不清,[Foliate](https://archlinux.org/packages/community/x86_64/foliate/) 是阅读 epub 的更佳选择。
+pdf 可直接用浏览器打开,也可选用其他专用的阅读软件,如[okular](https://archlinux.org/packages/extra/x86_64/okular/)或者[calibre](https://archlinux.org/packages/extra/x86_64/calibre/)。okular 在打开大型 epub 时会非常卡顿,并且图片模糊不清,[Foliate](https://archlinux.org/packages/extra/x86_64/foliate/) 是阅读 epub 的更佳选择。
## RSS 阅读器
@@ -194,7 +195,7 @@ sudo pacman -S flameshot
在桌面环境与必要应用一节中已经安装了 [gwenview](https://archlinux.org/packages/extra/x86_64/gwenview/),它基本可以满足日常看图的需求。如果另需快速看图软件,可以尝试以下软件。
- [feh](https://www.archlinux.org/packages/extra/x86_64/feh/)
-- [nomacs](https://www.archlinux.org/packages/community/x86_64/nomacs/)
+- [nomacs](https://aur.archlinux.org/packages/nomacs)
## 常用系统组件
@@ -207,7 +208,7 @@ sudo pacman -S flameshot
## 远程协助
-如需连接 windows 远程机器,你可以使用开源的[freerdp](https://archlinux.org/packages/community/x86_64/freerdp/)协议,配合开源实现[Xrdp](https://wiki.archlinux.org/title/Xrdp),或者[Rdesktop](https://wiki.archlinux.org/title/Rdesktop)即可。
+如需连接 windows 远程机器,你可以使用开源的[freerdp](https://archlinux.org/packages/extra/x86_64/freerdp/)协议,配合开源实现[Xrdp](https://wiki.archlinux.org/title/Xrdp),或者[Rdesktop](https://wiki.archlinux.org/title/Rdesktop)即可。
如需链接 Linux 服务器,大多数场景使用 ssh 即可。
@@ -216,3 +217,7 @@ sudo pacman -S flameshot
```bash
sudo systemctl enable --now teamviewerd
```
+
+## 病毒防护
+
+人们往往认为 Linux 由于其完美的设计和开源特性不易感染病毒,从而不用安装防毒软件,这其实是不正确的。随着 Linux 的普及,更多针对 Linux 的病毒在陆续涌现。除此之外,随着 Wine 以及 Proton 越来越多的应用,Windows 系统上病毒的威胁性也在 Linux 系统中持续提高。在 Arch Linux 中,可以使用[ClamAV](https://wiki.archlinux.org/title/ClamAV)对系统进行扫描,进而删除存在的病毒文件。根据 wiki 说明,添加更多病毒特征库后会可以进行更加完善的病毒扫描,注意,如果你的文件系统非常巨大,扫描过程可能长达数十小时。如果你有意使用付费闭源软件,根据我们的调查,目前针对个人 Linux PC 端,仍在更新且较为完善的软件是[Dr.Web](https://products.drweb.cn/home/linux/),俗称大蜘蛛,你可自行决定是否使用。
diff --git a/docs/play&office/play.md b/docs/play&office/play.md
index 9bffc9a..7b17e70 100644
--- a/docs/play&office/play.md
+++ b/docs/play&office/play.md
@@ -13,7 +13,7 @@
Arch Linux 官方仓库和 AUR 中存在一些原生支持的游戏,列举如下
- [shattered-pixel-dungeon](https://aur.archlinux.org/packages/shattered-pixel-dungeon/) 破碎像素地牢 生存游戏
-- [0ad](https://archlinux.org/packages/community/x86_64/0ad/) 被誉为开源帝国时代
+- [0ad](https://archlinux.org/packages/extra/x86_64/0ad/) 被誉为开源帝国时代
- [openra](https://archlinux.org/packages/community/any/openra/) 红警 1 的开源实现
## Steam
@@ -74,16 +74,27 @@ Lutris 基于 Wine,提供了大量游戏在 Linux 下的解决方案。其为
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)
```
-在按照 Wiki 安装好各个插件后,错误可能依然存在,这是因为大多 Galgame 需要 32 位兼容库,而目前 arch linux 官方 Multilib 仓库中的 gst32 位兼容库并不完整,如目前缺失`lib32-gst-plugins-ugly`这个包,此包目前只存在于 AUR 中,但是已经落后。ASF 存在于此包中,因此缺失导致此报错。
+在按照 Wiki 安装好各个插件后,错误可能依然存在,这是因为大多 Galgame 需要 32 位兼容库,而目前 arch linux 官方 Multilib 仓库中的 gst32 位兼容库并不完整,如目前缺失`lib32-gst-plugins-ugly`这个包,此包目前只存在于 AUR 中,但是目前其 PKGBUILD 存在诸多问题导致无法直接安装成功。ASF 存在于此包中,因此缺失导致此报错。解决方式如下:
+
+首先,`lib32-gst-plugins-ugly`的依赖之一`lib32-lv2`存在构建拼写检查问题。将`lib32-lv2`仓库 clone 到本地后,修改其 PKGBUILD 文件,将其中的 check 部分删除,然后使用`makepkg -si`手动安装即可。
+
+接下来,`lib32-gst-plugins-ugly`依赖了另一个包`lib32-shaderc`,这个包的构建同样存在错误,并且它并不是必要的,所以直接在`lib32-gst-plugins-ugly`的 PKGBUILD 中将其删除,然后手动安装即可。
+
+最后,通过 ldd 命令查询,目前`lib32-gst-plugins-ugly`中的 libgstlibav.so 所使用的 libvpx.so.8 无法找到,原因是因为目前`lib32-libvpx`包中的 libvpx.so 已经更新为 libvpx.so.9。由此在/usr/lib32 文件夹中创建指向 libvpx.so.9.0.0 的名为 libvpx.so.8 的符号链接即可解决。后续由于版本不匹配的类似问题均可依次类比解决。
Ref:
- https://bbs.archlinux.org/viewtopic.php?id=249982
- https://archlinux.org/packages/?q=gst
- https://aur.archlinux.org/packages/lib32-gst-plugins-ugly
+- https://docs.usebottles.com/faq/video-gstreamer-problems
## 性能提升
+关闭 KDE 的合成器(Compositor)能显著提升游戏性能,解决画面撕裂不稳定等问题。
+
+ref: https://linux-gaming.kwindu.eu/index.php?title=Improving_performance
+
在进行某些游戏时,如《Total War: THREE KINGDOMS》,如遇到性能问题,可尝试调节 cpu 频率调节器[[1]](https://support.feralinteractive.com/docs/zh_cn/threekingdomstw/1.0.15/linux/faqs/?access=zooevrj6xb&utm_source=game_linux&utm_medium=link&utm_campaign=game_linux_threekingdomstw_support#i_linux_cpu_governor)。
[GameMode](https://github.com/FeralInteractive/gamemode) 是一款综合性的游戏性能调整软件,其提供了多种游戏性能优化功能。如有需要可以查询 github 页面查看详情。
@@ -112,24 +123,59 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
## 游戏手柄
-一般情况下手柄通过数据线连接计算机即可直接使用。支持无线的手柄(DUALSHOCK® 3、DUALSHOCK® 4、Xbox 360、Xbox One、8BitDo 等)也可以通过蓝牙直接连接,无需额外操作。
+在 Arch Linux 中兼容性最好的手柄是 Xbox 手柄,其余手柄不建议使用。如果你使用无线适配器连接,安装使用[xone](https://github.com/medusalix/xone)。如果你使用蓝牙连接,安装使用[xpadneo](https://aur.archlinux.org/packages/xpadneo-dkms)。对于蓝牙连接,需要进行额外配置。
+
+1. 首先需要启用 UserspaceHID,如果不这样做,手柄将无法正常连接,并开始循环连接和断开连接,并且 Xbox 按钮将不断闪烁。编辑配置文件:
+
+```bash
+vim /etc/bluetooth/input.conf
+```
+
+去掉`UserspaceHID`的注释并将值改为 true。
+
+2. 接下来在主蓝牙配置文件中进行一些设置,以便 xpadneo 能够按预期工作,还需要解决输入延迟问题。编辑主文件:
+
+```bash
+vim /etc/bluetooth/main.conf
+```
+
+将以下参数改为以下值
+
+```bash
+[General]
+Privacy = device
+JustWorksRepairing = always
+Class = 0x000100
+FastConnectable = true
+
+[LE]
+MinConnectionInterval=7
+MaxConnectionInterval=9
+ConnectionLatency=0
+```
-虽然无线手柄一般情况下可以通过蓝牙直连,但是通常这样会有较大的延迟。使用 [Xbox 无线适配器](https://www.microsoftstore.com.cn/accessories/microsoft-xbox-wireless-adapter) 以获得近乎有线的低延迟体验。
+最后重启电脑,进行连接即可。
-为了在 Arch Linux 下使用 Xbox 无线适配器,需要安装第三方开源驱动 [xow](https://github.com/medusalix/xow)。
+ref: https://www.reddit.com/r/linux_gaming/comments/smxqm2/how_to_use_xpadneo_with_an_xbox_series_controller/
-1. 安装 [xow](https://aur.archlinux.org/packages/xow-git/)AUR:
+## Gamescope
- ```sh
- yay -S xow
- ```
+Gamescope 是 Valve 支持的专门针对游戏开发的独立合成器,其可以解决一些游戏的显示问题,如部分游戏在开启虚拟桌面时,虽然能全屏窗口化,但是依旧不能达到全屏展开的程度(依旧是原来游戏的低分辨率)。Gamescope 可在 lutris 中配合使用。目前 Gamescope 仍处于早期阶段。
-2. 启动 `xcow` 服务:
+注意英伟达显卡使用 Gamescope 必须使用英伟达闭源驱动,nvidia-open 开源驱动不受支持。除此之外必须添加内核参数`nvidia-drm.modeset=1`。
- ```sh
- sudo systemctl enable xow.service
- ```
+Gamescope 的前任是 Xephyr,现已处于停滞状态。
+
+详情查阅 Gamescope 文档:https://wiki.archlinux.org/title/Gamescope
+
+## protonhax
+
+有时,需要在 Proton 容器中运行游戏以外的其他程序,如修改器等。目前 Proton 默认无法满足此需求。这里使用 [protonhax](https://github.com/aoleg94/protonhax) 来完成在与游戏同一 Proton 容器这种运行其他程序。
+
+```bash
+yay -S protonhax
+```
-3. 重启计算机,插入 Xbox 无线适配器并和 Xbox 手柄配对即可
+在游戏运行参数中设置`protonhax init %COMMAND%`,随后执行`protonhax ls`获取正在运行的游戏 appid。最后使用` protonhax run `在目标容器中运行其他程序。更多用法可参考项目仓库页面。
-实际体验和 Windows 下并无差异。对延迟敏感的音游(如 [喵斯快跑](https://store.steampowered.com/app/774171/Muse_Dash/))在游戏设置中微调偏移值即可。
+Ref: https://www.reddit.com/r/linux_gaming/comments/pxs5es/running_a_second_program_inside_a_proton_prefix/?rdt=44318
diff --git a/docs/res/yay-bin-12.3.3-1-x86_64.pkg.tar.zst b/docs/res/yay-bin-12.3.3-1-x86_64.pkg.tar.zst
new file mode 100644
index 0000000..32e6d22
Binary files /dev/null and b/docs/res/yay-bin-12.3.3-1-x86_64.pkg.tar.zst differ
diff --git a/docs/rookie/DE&App.md b/docs/rookie/DE&App.md
index bebc8f7..8656b70 100644
--- a/docs/rookie/DE&App.md
+++ b/docs/rookie/DE&App.md
@@ -155,11 +155,9 @@ sudo chattr +i /etc/resolv.conf
## 9.设置系统为中文
-打开 _System Settings_> _Regional Settings_> _Language_ -> _Add languages_ 中选择中文加入,再拖拽到第一位,Apply。
+打开 _System Settings_> \_Regional Settings 在语言中添加中文加入,应用即可。
-再将此页面中的其余设置项中的值设为`中文-简体中文(zh_CN)`,最后重新登陆即可。
-
-> 很多人会错误的更改设置项中的值为中文蒙古(mn_CN),默认,或者其他值,这会导致系统中一半英文一半中文。这里的值要保持默认的 en_US 或 zh_CN,或者改为你在 locale.gen 中添加的任意一种语言。
+接下来编辑 `~/.config/plasma-localerc` ,将其中的 LANG 值更改为 zh_CN.UTF-8
## 10.安装 yay
@@ -170,8 +168,8 @@ AUR 为 archlinux user repository。任何用户都可以上传自己制作的 A
执行如下命令安装 yay。
```bash
-wget https://raw.githubusercontent.com/ArchLinuxStudio/ArchLinuxTutorial/master/docs/res/yay-bin-11.1.2-1-x86_64.pkg.tar.zst
-sudo pacman -U yay-bin-11.1.2-1-x86_64.pkg.tar.zst
+wget https://raw.githubusercontent.com/ArchLinuxStudio/ArchLinuxTutorial/master/docs/res/yay-bin-12.3.3-1-x86_64.pkg.tar.zst
+sudo pacman -U yay-bin-12.3.3-1-x86_64.pkg.tar.zst
```
> github.io 与 raw.githubusercontent.com 也被中国大陆政府封锁,只是封锁力度暂时还没有很大。如你在下载过程中卡住,可以尝试 ctrl+c 终止命令后重新尝试下载,也可尝试更换手机热点的网络环境再次进行下载,后文安装 Qv2ray 时同理。当你配置好全局代理后,你将不再需要担心任何网络封锁问题。我们将持续为本书读者提供突破互联网审查的可靠流程。
@@ -229,23 +227,18 @@ export EDITOR='vim'
这样就不用在每次执行命令时都指定一遍 `EDITOR=vim` 了。
-## 13.启用蓝牙(若有)
-
-如果你有蓝牙设备,需要安装蓝牙软件包并启用蓝牙服务。随后在系统设置中进行添加设备与连接即可。
+## 13.启用蓝牙相关功能
-```bash
-sudo pacman -S bluez bluez-utils
-sudo systemctl enable --now bluetooth
-```
+对于蓝牙及无线网卡,在 Linux 下推荐使用英特尔产品。博通以及瑞昱产品在兼容性,稳定性方面在 Linux 中表现很差,会带来很多不必要的麻烦,如在驱动,BLE 方面的支持很差或者没有。
-如果要连接蓝牙音频设备,需要安装 `pulseaudio-bluetooth` 并重启 `pulseaudio`。
+如果你有蓝牙设备,需要安装蓝牙软件包并启用蓝牙服务。随后在系统设置中进行添加设备与连接即可。注意,文件传输功能现在需要额外安装包`bluez-obex`,其功能与 2024 年已从 `bluez` 包中分离出来。
```bash
-sudo pacman -S pulseaudio-bluetooth
-pulseaudio -k
+sudo pacman -S bluez bluez-utils bluez-obex
+sudo systemctl enable --now bluetooth
```
-设置开机自动启用蓝牙设备,编辑`/etc/bluetooth/main.conf`文件,将`AutoEnable`设置为 true 即可。
+设置开机自动启用蓝牙设备,编辑`/etc/bluetooth/main.conf`文件,将`AutoEnable`设置为 true 即可。如果一些设备依然无法实现开机自动连接,尝试继续将`Experimental`以及`KernelExperimental`两项的值设置为 true。
博通(Broadcom)网卡在 Linux 下的支持度很差,无论是无线还是蓝牙模块。对于无线功能来说,一般直接安装 broadcom-wl 包即可。
diff --git a/docs/rookie/basic_install.md b/docs/rookie/basic_install.md
index 3f2a3cb..9a87382 100644
--- a/docs/rookie/basic_install.md
+++ b/docs/rookie/basic_install.md
@@ -276,6 +276,8 @@ grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
vim /etc/default/grub
```
+使用 N 卡的用户需要注意,KDE6 默认使用 wayland session 为默认,如果你需要使用 wayland,则需开启 DRM。同样编辑/etc/default/grub 文件,在`GRUB_CMDLINE_LINUX_DEFAULT`一行中最后的加入参数:nvidia_drm.modeset=1
+
最后生成 GRUB 所需的配置文件
```bash
diff --git a/docs/rookie/graphic_driver.md b/docs/rookie/graphic_driver.md
index b35432a..6096353 100644
--- a/docs/rookie/graphic_driver.md
+++ b/docs/rookie/graphic_driver.md
@@ -64,14 +64,6 @@ yay -S nvidia-390xx-dkms nvidia-settings lib32-nvidia-390xx-utils linux-headers
sudo pacman -S mesa lib32-mesa xf86-video-nouveau
```
-#### 注意事项
-
-- 如果安装驱动后内核冲突,把 kms 从 `/etc/mkinitcpio.conf` 里的 HOOKS 数组中移除,并重新生成 initramfs。 这能防止 initramfs 包含 nouveau 模块,以确保内核在早启动阶段不会加载它。
-
-```
-mkinitcpio -p linux
-```
-
---
**在同时拥有核芯显卡和英伟达独立显卡的笔记本上安装驱动是大多数人关注的事情,这里着重讲述。**
diff --git a/docs/uk/README.md b/docs/uk/README.md
index 213e6ee..29bfad4 100644
--- a/docs/uk/README.md
+++ b/docs/uk/README.md
@@ -49,7 +49,4 @@ If this book has been helpful to you, please recommend it to your friends who ne
We would be very grateful if receive digital currency donations. With your support, the ArchLinuxStudio community will become even more enriched and active.
-- Donate with Bitcoin: `1Lth3oca4WnMnTnwHBcDLkEqniA2pBxkeC`
-- Donate with Ethereum: `0x5A218a8d570d9947f42e0a4916ece7a60A181c2d`
-- Donate with Litecoin: `LdJXzaSzzrAxfKJdj5effRLcC7k1TbuXJ8`
- Donate with Monero: `43KJJZztPtBC7k8ZjJpuw7bThW1mUH6N947TeNxvsSHD7DywRN365WZ7qpSxVopSd7cg4PFjMuUewjfvATUtTKGQLMboU36`
diff --git a/docs/uk/advanced/beauty.md b/docs/uk/advanced/beauty.md
index fbf78f9..001a407 100644
--- a/docs/uk/advanced/beauty.md
+++ b/docs/uk/advanced/beauty.md
@@ -42,7 +42,6 @@ The welcome screen after the login interface can be beautified. _System Settings
Right-click an empty space on the taskbar, select Edit Panel, and add widgets.
- Netspeed widget network speed component, this is very practical
-- simple system monitor system information
- todolist task component
Then you can pin the software you often use to the taskbar.
diff --git a/docs/uk/play&office/office.md b/docs/uk/play&office/office.md
index c050673..dbb25e9 100644
--- a/docs/uk/play&office/office.md
+++ b/docs/uk/play&office/office.md
@@ -80,12 +80,12 @@ sudo pacman -S weechat
### Screen sharing
-In addition to the above software, you can try to use [scrcpy](https://archlinux.org/packages/community/x86_64/scrcpy/) for screen projection of other mobile communication software on the computer.
+In addition to the above software, you can try to use [scrcpy](https://archlinux.org/packages/extra/x86_64/scrcpy/) for screen projection of other mobile communication software on the computer.
You can also use [KDE Connect](https://archlinux.org/packages/extra/x86_64/kdeconnect/) to get Android notifications on your computer.
## Office kit
-The main two options are [LibreOffice](https://wiki.archlinux.org/index.php/LibreOffice) and [onlyoffice]() AUR. We recommend that you use the open source LibreOffice and onlyoffice, rather than the proprietary software WPS, the first two of which are currently very easy to install.
+The main two options are [LibreOffice](https://wiki.archlinux.org/index.php/LibreOffice) and [onlyoffice](https://aur.archlinux.org/packages/onlyoffice-bin/) AUR. We recommend that you use the open source LibreOffice and onlyoffice, rather than the proprietary software WPS, the first two of which are currently very easy to install.
```bash
sudo pacman -S libreoffice-still #stable
@@ -104,6 +104,7 @@ sudo pacman -S kchmviewer
For daily office, a printer is very necessary. In addition, we recommend readers to maintain a paper password, including that you can print out the private key in your cryptocurrency wallet and save it, which is a very good solution. For the brand of printer, we recommend using HP printers. Its support for Linux is very comprehensive, you can go to its [website](https://hplipopensource.com/) to check the supported devices and other details. On Arch Linux, install the packages hplip and cups and use them after starting the service.
```bash
+sudo pacman -S system-config-printer
sudo pacman -S hplip
sudo pacman -S cups
sudo systemctl enable --now cups.service
@@ -127,7 +128,7 @@ yay -S trilium-server-bin
## eBooks
-The pdf can be opened directly with a browser, or other dedicated reading software, such as [okular](https://archlinux.org/packages/extra/x86_64/okular/) or [calibre](https://archlinux.org/packages/community/x86_64/calibre/). okular can be very laggy when opening large epubs, and the pictures are blurry, [Foliate](https://archlinux.org/packages/community/x86_64/foliate/) is a better choice for reading epubs.
+The pdf can be opened directly with a browser, or other dedicated reading software, such as [okular](https://archlinux.org/packages/extra/x86_64/okular/) or [calibre](https://archlinux.org/packages/extra/x86_64/calibre/). okular can be very laggy when opening large epubs, and the pictures are blurry, [Foliate](https://archlinux.org/packages/extra/x86_64/foliate/) is a better choice for reading epubs.
## RSS reader
@@ -178,7 +179,7 @@ The command for the shortcut key is `flameshot gui`, which can be added to the K
[gwenview](https://archlinux.org/packages/extra/x86_64/gwenview/) has been installed in the section on desktop environment and necessary applications, which can basically meet the needs of daily picture viewing. If you need another quick viewing software, you can try the following software.
- [feh](https://www.archlinux.org/packages/extra/x86_64/feh/)
-- [nomacs](https://www.archlinux.org/packages/community/x86_64/nomacs/)
+- [nomacs](https://aur.archlinux.org/packages/nomacs)
## Common System Components
@@ -191,7 +192,7 @@ There are many implementations of various gadgets needed in daily office work, a
## Remote Assistance
-To connect to a Windows remote machine, you can use the open source [freerdp](https://archlinux.org/packages/community/x86_64/freerdp/) protocol, in conjunction with the open source implementation [Xrdp](https://wiki.archlinux.org/title/Xrdp), or [Rdesktop](https://wiki.archlinux.org/title/Rdesktop).
+To connect to a Windows remote machine, you can use the open source [freerdp](https://archlinux.org/packages/extra/x86_64/freerdp/) protocol, in conjunction with the open source implementation [Xrdp](https://wiki.archlinux.org/title/Xrdp), or [Rdesktop](https://wiki.archlinux.org/title/Rdesktop).
To connect to a Linux server, ssh is sufficient for most scenarios.
diff --git a/docs/uk/play&office/play.md b/docs/uk/play&office/play.md
index 278c1e3..f0dd2b9 100644
--- a/docs/uk/play&office/play.md
+++ b/docs/uk/play&office/play.md
@@ -13,7 +13,7 @@ For playing online games on Linux, network acceleration has always been a proble
There are some natively supported games in Arch Linux official repository and AUR, listed below
- [shattered-pixel-dungeon](https://aur.archlinux.org/packages/shattered-pixel-dungeon/) Shattered Pixel Dungeon Survival Game
-- [0ad](https://archlinux.org/packages/community/x86_64/0ad/) Known as the Age of Open Source Empires
+- [0ad](https://archlinux.org/packages/extra/x86_64/0ad/) Known as the Age of Open Source Empires
- [openra](https://archlinux.org/packages/community/any/openra/) Open source implementation of Red Alert 1
## Steam
@@ -74,16 +74,25 @@ Running games with Wine may have issues with missing [GStreamer](https://wiki.ar
Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf)
```
-After installing each plug-in according to the Wiki, the error may still exist, this is because most Galgame requires 32-bit compatible library, and the gst32-bit compatible library in the official Multilib repository of arch linux is not complete, such as the missing `lib32-gst- plugins-ugly` this package, this package currently only exists in the AUR, but has fallen behind. ASF is present in this package, so the absence causes this error.
+After installing each plug-in according to the Wiki, the error may still exist. This is because most Galgames require 32-bit compatibility libraries, and the current gst32-bit compatibility library in the official Arch Linux Multilib warehouse is not complete. For example, `lib32-gst- The plugins-ugly` package currently only exists in the AUR, but its PKGBUILD currently has many problems that prevent it from being successfully installed directly. ASF exists in this package, so its absence causes this error. The solution is as follows:
+
+First, one of the dependencies of lib32-gst-plugins-ugly, lib32-lv2, has a build spell check problem. After cloning the `lib32-lv2` warehouse locally, modify its PKGBUILD file, delete the check part, and then use `makepkg -si` to install it manually.
+
+Next, `lib32-gst-plugins-ugly` depends on another package `lib32-shaderc`. There is also an error in the construction of this package, and it is not necessary, so directly in `lib32-gst-plugins-ugly` Delete it from the PKGBUILD and then install it manually.
Ref:
- https://bbs.archlinux.org/viewtopic.php?id=249982
- https://archlinux.org/packages/?q=gst
- https://aur.archlinux.org/packages/lib32-gst-plugins-ugly
+- https://docs.usebottles.com/faq/video-gstreamer-problems
## Performance improvement
+Turning off KDE's Compositor can significantly improve game performance and solve problems such as unstable screen tearing.
+
+ref: https://linux-gaming.kwindu.eu/index.php?title=Improving_performance
+
When playing some games, such as "Total War: THREE KINGDOMS", if you encounter performance problems, you can try to adjust the cpu frequency regulator[[1]](https://support.feralinteractive.com/docs/zh_cn/threekingdomstw/1.0.15/linux/faqs/?access=zooevrj6xb&utm_source=game_linux&utm_medium=link&utm_campaign=game_linux_threekingdomstw_support#i_linux_cpu_governor).
[GameMode](https://github.com/FeralInteractive/gamemode) is a comprehensive game performance adjustment software, which provides a variety of game performance optimization functions. If necessary, you can check the github page for details.
@@ -112,24 +121,60 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
## Gamepad
-Under normal circumstances, the handle can be used directly by connecting to the computer through a data cable. Handles that support wireless (DUALSHOCK® 3, DUALSHOCK® 4, Xbox 360, Xbox One, 8BitDo, etc.) can also be connected directly via Bluetooth without additional operation.
+The most compatible controller in Arch Linux is the Xbox controller, and the use of other controllers is not recommended. If you are using a wireless adapter to connect, install it using [xone](https://github.com/medusalix/xone). If you use a Bluetooth connection, install it using [xpadneo](https://aur.archlinux.org/packages/xpadneo-dkms). For Bluetooth connectivity, additional configuration is required.
+
+1. First you need to enable UserspaceHID, if you don't do this, the controller will not connect properly and will start to cycle connecting and disconnecting, and the Xbox button will keep flashing. Edit configuration file:
+
+```bash
+vim /etc/bluetooth/input.conf
+
+```
+
+Uncomment `UserspaceHID` and change the value to true.
+
+2. Next make some settings in the main bluetooth profile so xpadneo can work as expected, also need to resolve the input lag issue. Edit the main file:
+
+```bash
+vim /etc/bluetooth/main.conf
+```
+
+Change the following parameters to the following values
+
+```bash
+[General]
+Privacy=device
+JustWorksRepairing = always
+Class = 0x000100
+FastConnectable = true
+
+[LE]
+MinConnectionInterval=7
+MaxConnectionInterval=9
+ConnectionLatency=0
+```
-Although wireless controllers can generally be directly connected via Bluetooth, there is usually a large delay in doing so. Use the [Xbox Wireless Adapter](https://www.microsoftstore.com.cn/accessories/microsoft-xbox-wireless-adapter) for a near-wired low-latency experience.
+Finally, restart the computer and connect.
-In order to use the Xbox Wireless Adapter under Arch Linux, a third-party open source driver [xow](https://github.com/medusalix/xow) needs to be installed.
+ref: https://www.reddit.com/r/linux_gaming/comments/smxqm2/how_to_use_xpadneo_with_an_xbox_series_controller/
-1. Install [xow](https://aur.archlinux.org/packages/xow-git/)AUR:
+## Gamescope
- ```sh
- yay -S xow
- ```
+Gamescope is an independent compositor supported by Valve specifically for game development. It can solve the display problems of some games. For example, when some games open the virtual desktop, although they can be windowed into full screen, they still cannot expand to full screen (still the original low resolution of the game). Gamescope works with lutris. It's still early days for Gamescope.
-2. Start the `xcow` service:
+Note that NVIDIA graphics cards must use NVIDIA closed source drivers when using Gamescope, and nvidia-open open source drivers are not supported. In addition, the kernel parameter `nvidia-drm.modeset=1` must be added.
- ```sh
- sudo systemctl enable xow.service
- ```
+Gamescope's predecessor was Xephyr, which is now on hold.
+
+See the Gamescope documentation for details: https://wiki.archlinux.org/title/Gamescope
+
+## protonhax
+
+Sometimes, you need to run other programs besides the game in the Proton container, such as cheat engine, etc. Currently Proton cannot meet this requirement. [protonhax](https://github.com/aoleg94/protonhax) is used here to run other programs in the same Proton container as the game.
+
+```bash
+yay -S protonhax
+```
-3. Restart the computer, insert the Xbox wireless adapter and pair with the Xbox controller
+Set `protonhax init %COMMAND%` in the game running parameters, and then execute `protonhax ls` to obtain the running game appid. Finally use `protonhax run ` to run other programs in the target container. For more usage, please refer to the project warehouse page.
-The actual experience is no different from that under Windows. Latency-sensitive audio games (such as [Meow Run](https://store.steampowered.com/app/774171/Muse_Dash/)) can fine-tune the offset value in the game settings.
+Ref: https://www.reddit.com/r/linux_gaming/comments/pxs5es/running_a_second_program_inside_a_proton_prefix/?rdt=44318
diff --git a/docs/uk/rookie/DE&App.md b/docs/uk/rookie/DE&App.md
index 9ee99d1..923207a 100644
--- a/docs/uk/rookie/DE&App.md
+++ b/docs/uk/rookie/DE&App.md
@@ -178,7 +178,9 @@ export EDITOR='vim'
This eliminates the need to specify `EDITOR=vim` every time you execute a command.
-## 11. Enable Bluetooth (if any)
+## 11. Enable Bluetooth
+
+For Bluetooth and wireless network cards, Intel products are recommended under Linux. Broadcom and Realtek products perform very poorly in Linux in terms of compatibility and stability, which will cause a lot of unnecessary troubles, such as poor or no support for drivers and BLE.
If you have a bluetooth device, you need to install the bluetooth package and enable the bluetooth service. Then you can add devices and connections in the system settings.
@@ -187,13 +189,6 @@ sudo pacman -S bluez bluez-utils
sudo systemctl enable --now bluetooth
```
-If you want to connect a bluetooth audio device, you need to install `pulseaudio-bluetooth` and restart `pulseaudio`.
-
-```bash
-sudo pacman -S pulseaudio-bluetooth
-pulseaudio -k
-```
-
To set the bluetooth device to automatically start at boot, edit the `/etc/bluetooth/main.conf` file and set `AutoEnable` to true.
Broadcom network cards are poorly supported under Linux, both wireless and bluetooth modules. For the wireless function, generally install the broadcom-wl package directly.
diff --git a/docs/uk/rookie/basic_install.md b/docs/uk/rookie/basic_install.md
index 0db2a34..d6c925b 100644
--- a/docs/uk/rookie/basic_install.md
+++ b/docs/uk/rookie/basic_install.md
@@ -278,6 +278,8 @@ vim /etc/default/grub
Finally generate the configuration files required by GRUB
+Users using Nvidia cards need to note that KDE6 uses wayland session by default. If you need to use wayland, you need to enable DRM. Also edit the /etc/default/grub file and add the last parameter in the `GRUB_CMDLINE_LINUX_DEFAULT` line: nvidia_drm.modeset=1
+
```bash
grub-mkconfig -o /boot/grub/grub.cfg
```
diff --git a/yarn.lock b/yarn.lock
index 7e032af..8beb402 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1029,9 +1029,9 @@ semver-diff@^3.1.1:
semver "^6.3.0"
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
- version "6.3.0"
- resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
- integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
+ version "6.3.1"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
+ integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
send@0.17.1:
version "0.17.1"