Skip to content

aura, brightnessctl: add Chinese translation #6554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pages.zh/linux/aura.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# aura

> Aura 包管理器:一个安全且支持多语言的 Arch Linux 和 AUR 的包管理器。
> 更多信息:<https://github.com/fosskers/aura>.

- 从官方仓库和 AUR 检索包:

`aura --aursync --both --search {{包名|正则}}`

- 从 AUR 安装一个软件包:

`aura --aursync {{包名}}`

- 以详细模式升级所有的 AUR 包并移除所有的编译依赖:

`aura --aursync --diff --sysupgrade --delmakedeps --unsuppress`

- 从官方仓库安装一个软件包:

`aura --sync {{包名}}`

- 同步并更新官方仓库的所有软件包:

`aura --sync --refresh --sysupgrade`

- 使用包缓存降级一个软件包:

`aura --downgrade {{包名}}`

- 移除一个软件包及其依赖:

`aura --remove --recursive --unneeded {{包名}}`

- 移除孤儿包(作为依赖安装但现在不被任何包依赖):

`aura --orphans --abandon`
24 changes: 24 additions & 0 deletions pages.zh/linux/brightnessctl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# brightnessctl

> GUN/Linux 操作系统上用来读取和控制设备亮度的实用工具。
> 更多信息:<https://github.com/Hummer12007/brightnessctl>.

- 列出亮度可变的设备:

`brightnessctl --list`

- 打印显示器当前亮度:

`brightnessctl get`

- 将显示器背光的亮度设置为指定的百分比:

`brightnessctl set {{50%}}`

- 按指定的增量增加亮度:

`brightnessctl set {{+10%}}`

- 将亮度降低指定的递减量:

`brightnessctl set {{-10%}}`