Skip to content

Commit bad9b69

Browse files
authored
Merge pull request #13 from linuxserver/ozone
update to pass ozone when wayland is detected
2 parents 600b3ef + f0f406c commit bad9b69

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

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 flag for apps fixes scaling and acceleration.
623624
* **28.12.25:** - Add Wayland init logic.
624625
* **22.09.25:** - Rebase to Debian Trixie.
625626
* **12.07.25:** - Rebase to Selkies, HTTPS IS NOW REQUIRED.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ init_diagram: |
107107
"github-desktop:latest" <- Base Images
108108
# changelog
109109
changelogs:
110+
- {date: "21.03.26:", desc: "Use Wayland ozone platform flag for apps fixes scaling and acceleration."}
110111
- {date: "28.12.25:", desc: "Add Wayland init logic."}
111112
- {date: "22.09.25:", desc: "Rebase to Debian Trixie."}
112113
- {date: "12.07.25:", desc: "Rebase to Selkies, HTTPS IS NOW REQUIRED."}

root/usr/bin/chromium

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ BIN=/usr/bin/chromium-real
66
if ! pgrep chromium > /dev/null;then
77
rm -f $HOME/.config/chromium/Singleton*
88
fi
9+
# Wayland check
10+
if pgrep labwc > /dev/null 2>&1; then
11+
WAYLAND="--ozone-platform=wayland"
12+
fi
913

10-
${BIN} --password-store=basic --no-sandbox --test-type "$@"
14+
${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
${BIN} \
611
--no-sandbox \
12+
${WAYLAND} \
713
"$@"

root/usr/bin/github-desktop

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
BIN=/usr/lib/github-desktop/github-desktop
44

5-
dbus-launch ${BIN} --password-store=basic --no-sandbox --test-type "$@"
5+
# Wayland check
6+
if pgrep labwc > /dev/null 2>&1; then
7+
WAYLAND="--ozone-platform=wayland"
8+
fi
9+
10+
dbus-launch ${BIN} --password-store=basic ${WAYLAND} --no-sandbox --test-type "$@"

0 commit comments

Comments
 (0)