Skip to content

Commit b7da06d

Browse files
committed
update chromium wrapper to pass ozone when wayland is detected
1 parent 463a9d8 commit b7da06d

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

README.md

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

617617
## Versions
618618

619+
* **21.03.26:** - Use Wayland ozone platform for chromium fixes scaling and acceleration.
619620
* **28.12.25:** - Add Wayland init logic.
620621
* **22.09.25:** - Rebase to Debian Trixie.
621622
* **28.07.25:** - Fix CPU usage bug by disabling fake udev.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ init_diagram: |
110110
"digikam:latest" <- Base Images
111111
# changelog
112112
changelogs:
113+
- {date: "21.03.26:", desc: "Use Wayland ozone platform for chromium fixes scaling and acceleration."}
113114
- {date: "28.12.25:", desc: "Add Wayland init logic."}
114115
- {date: "22.09.25:", desc: "Rebase to Debian Trixie."}
115116
- {date: "28.07.25:", desc: "Fix CPU usage bug by disabling fake udev."}

root/usr/bin/chromium

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ 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-first-run \
1217
--no-sandbox \
@@ -15,4 +20,5 @@ ${BIN} \
1520
--start-maximized \
1621
--test-type \
1722
--user-data-dir \
23+
${WAYLAND} \
1824
"$@" > /dev/null 2>&1

0 commit comments

Comments
 (0)