Skip to content

Commit a148389

Browse files
authored
Merge pull request #5 from linuxserver/ozone
update to pass ozone when wayland is detected
2 parents 3fe5c35 + 85e3c3e commit a148389

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,5 +612,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
612612

613613
## Versions
614614

615+
* **21.03.26:** - Use Wayland ozone platform for chromium fixes scaling and acceleration.
615616
* **28.12.25:** - Add Wayland init logic.
616617
* **02.12.25:** - Initial Version.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,6 @@ init_diagram: |
103103
"telegram:latest" <- Base Images
104104
# changelog
105105
changelogs:
106+
- {date: "21.03.26:", desc: "Use Wayland ozone platform for chromium fixes scaling and acceleration."}
106107
- {date: "28.12.25:", desc: "Add Wayland init logic."}
107108
- {date: "02.12.25:", desc: "Initial Version."}

root/usr/bin/chromium

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ if ! pgrep chromium > /dev/null;then
77
rm -f $HOME/.config/chromium/Singleton*
88
fi
99

10+
# Wayland check
11+
if pgrep labwc > /dev/null 2>&1; then
12+
WAYLAND="--ozone-platform=wayland"
13+
fi
14+
1015
${BIN} \
1116
--no-sandbox \
1217
--test-type \
1318
--user-data-dir \
19+
${WAYLAND} \
1420
"$@" > /dev/null 2>&1

0 commit comments

Comments
 (0)