Skip to content

Commit 0f4a781

Browse files
authored
Merge pull request #18 from linuxserver/ozone
update to pass ozone when wayland is detected
2 parents 3d63d11 + 57f1a9c commit 0f4a781

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

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

621621
## Versions
622622

623+
* **21.03.26:** - Use Wayland ozone platform fixes scaling and acceleration.
623624
* **28.12.25:** - Add Wayland init logic.
624625
* **22.09.25:** - Rebase to Debian Trixie.
625626
* **24.07.25:** - Swap from thunar to caja for filebrowser.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ init_diagram: |
110110
"vscodium:latest" <- Base Images
111111
# changelog
112112
changelogs:
113+
- {date: "21.03.26:", desc: "Use Wayland ozone platform 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: "24.07.25:", desc: "Swap from thunar to caja for filebrowser."}

root/usr/bin/chromium

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

10-
${BIN} --password-store=basic --no-sandbox --test-type "$@"
10+
# Wayland check
11+
if pgrep labwc > /dev/null 2>&1; then
12+
WAYLAND="--ozone-platform=wayland"
13+
fi
14+
15+
${BIN} --password-store=basic ${WAYLAND} --no-sandbox --test-type "$@"

root/usr/bin/codium

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
BIN=/usr/share/codium/bin/codium
44

5+
# Wayland check
6+
if pgrep labwc > /dev/null 2>&1; then
7+
WAYLAND="--ozone-platform=wayland"
8+
fi
9+
510
dbus-launch ${BIN} \
611
--no-sandbox \
12+
${WAYLAND} \
713
"$@"

0 commit comments

Comments
 (0)