Skip to content

Commit 9ac792b

Browse files
fix: apply suggestions from code review
Co-authored-by: ZHANG Yuntian <[email protected]>
1 parent 16bbe81 commit 9ac792b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/common/radxa-os/_wayland.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
Wayland 是 X11 窗口系统协议和架构的替代品,往往有着更良好的图形性能表现。但是由于 Rockchip Debian SDK 并没有提供相应的支持,因此 Radxa OS 默认也关闭了 GDM 的 Wayland 模式。如果您想使用 Wayland 运行图形软件/桌面可以按照以下步骤进行操作
1+
Wayland 是 X11 窗口系统协议和架构的替代品,往往有着更良好的图形性能表现。但是由于 Rockchip Debian SDK 并没有提供相应的支持,因此 Radxa OS 默认也关闭了 GDM 的 Wayland 模式。如果您想使用 Wayland 运行图形软件/桌面,可以按照以下步骤进行操作
22

33
:::warning
4-
某些 Rockchip 提供的视频/图形软件栈未对 Wayland 进行适配,可能会出现性能下降/图形错乱等意料外的结果
4+
某些 Rockchip 提供的视频/图形软件栈未对 Wayland 进行适配,开启 Wayland 后可能会出现性能下降/图形错乱等意料之外的现象
55
:::
66

7-
1. 编辑 `/etc/gdm3/daemon.conf` `WaylandEnable` 取消注释并设置为 `true`
7+
1. 编辑 `/etc/gdm3/daemon.conf`并将 `WaylandEnable` 取消注释后设置为 `true`
88

99
```bash
1010
sudo nano /etc/gdm3/daemon.conf
1111
```
1212

13-
`/etc/gdm3/daemon.conf` 部分文档修改内容摘要
13+
`/etc/gdm3/daemon.conf` 修改后应包含以下内容
1414

1515
```
1616
[daemon]
1717
# Uncomment the line below to force the login screen to use Xorg
1818
WaylandEnable=true
1919
```
2020

21-
2. 重启系统以使用新配置
21+
2. 重启系统以应用新配置
2222

2323
```bash
2424
sudo reboot

i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/_wayland.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Wayland is a replacement for the X11 window system protocol and architecture, Wayland is a replacement for the X11 window system protocol and architecture, and often has better graphics performance. However, since Rockchip Debian SDK does not provide corresponding support, Radxa OS also disables GDM's Wayland mode by default. If you want to use Wayland to run graphics software/desktop, you can follow the steps below:
22

33
:::warning
4-
Some Rockchip video/graphic software stacks are not compatible with Wayland, which may cause unexpected results such as performance degradation/graphical distortion.
4+
Some Rockchip video/graphic software stacks are not compatible with Wayland, enabling Wayland may result in unexpected phenomena such as performance degradation or graphical glitches.
55
:::
66

7-
1. Edit `/etc/gdm3/daemon.conf`, uncomment `WaylandEnable` and set it to `true`:
7+
1. Edit `/etc/gdm3/daemon.conf`, and set `WaylandEnable` to `true` after uncommenting:
88

99
```bash
1010
sudo nano /etc/gdm3/daemon.conf
1111
```
1212

13-
Summary of partial changes to `/etc/gdm3/daemon.conf`:
13+
`/etc/gdm3/daemon.conf` should contain the following content after modification:
1414

1515
```
1616
[daemon]

0 commit comments

Comments
 (0)