-
Notifications
You must be signed in to change notification settings - Fork 102
docs: add dragon q6a vnc login #1340
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other comments (3)
-
docs/common/radxa-os/remote-login/_vnc.mdx (246-246)
Using `sudo` to change permissions for a file in the user's home directory is unnecessary and could cause permission issues.
chmod +x ~/.vnc/xstartup -
i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/remote-login/_vnc.mdx (196-196)
Using `sudo` to edit a file in the user's home directory is unnecessary and could cause permission issues. Since `~/.vnc/xstartup` is in the user's home directory, it should be edited without sudo:
vi ~/.vnc/xstartup -
i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/remote-login/_vnc.mdx (246-246)
Using `sudo` to change permissions for a file in the user's home directory is unnecessary and could cause permission issues:
chmod +x ~/.vnc/xstartup
💡 To request another review, post a new comment with "/windsurf-review".
i18n/en/docusaurus-plugin-content-docs/current/common/radxa-os/remote-login/_vnc.mdx
Outdated
Show resolved
Hide resolved
|
/windsurf-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 To request another review, post a new comment with "/windsurf-review".
|
/windsurf-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other comments (4)
-
docs/common/radxa-os/remote-login/_vnc.mdx (194-194)
Using `sudo` to edit a file in the user's home directory is unnecessary and could cause permission issues. The user should already have write permissions to their own ~/.vnc directory:
vi ~/.vnc/xstartup -
docs/common/radxa-os/remote-login/_vnc.mdx (244-244)
Using `sudo` to change permissions on a file in the user's home directory is unnecessary:
chmod +x ~/.vnc/xstartup - docs/common/accessories/_wareshare-spi-lcd-3-5.mdx (78-78) The `fbi` command example uses `logo.bmp` without specifying its path. Consider adding information about where this image should be located or use a more explicit path example to avoid confusion.
- docs/dragon/q6a/accessories/camera-8m-219.md (126-126) There's an inconsistency between adding `libgles2-mesa-dev` as a dependency while removing the `--renderer=gles` parameter from the qcam command. If GLES rendering is no longer being used, consider removing the dependency. If it's still needed, the parameter might need to be kept.
💡 To request another review, post a new comment with "/windsurf-review".
| @@ -0,0 +1,111 @@ | |||
| Use the Waveshare 3.5-inch Raspberry Pi LCD (Waveshare 3.5" RPi LCD (B)) on {props.product}. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a typo in the filename: '_wareshare-spi-lcd-3-5.mdx' should be '_waveshare-spi-lcd-3-5.mdx' to match the product name mentioned throughout the document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
| @@ -0,0 +1,111 @@ | |||
| 在 {props.product} 上使用微雪 3.5 寸树莓派显示屏(WareShare 3.5" RPi LCD (B))。 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a typo in the filename and document title. The correct name should be 'Waveshare' instead of 'WareShare'.
| /> | ||
| </div> | ||
| <Image | ||
| src="/img/common/radxa-os/system-config/vnc-#desktop#-succ.webp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The image source contains a placeholder #desktop# that won't be properly replaced. Consider using template literals or string interpolation:
| src="/img/common/radxa-os/system-config/vnc-#desktop#-succ.webp" | |
| src={`/img/common/radxa-os/system-config/vnc-${props.desktop}-succ.webp`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以正常显示
PR 说明