Skip to content

Commit aded292

Browse files
committed
update wrappers to pass ozone when wayland is detected
1 parent b9d52e9 commit aded292

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

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

613613
## Versions
614614

615+
* **20.03.26:** - Use Wayland ozone platform fixes scaling and acceleration.
615616
* **28.12.25:** - Add Wayland init logic.
616617
* **21.09.25:** - Rebase to Debian Trixie.
617618
* **12.07.25:** - Rebase to Selkies add no sandbox to launcher, HTTPS IS NOW REQUIRED.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ init_diagram: |
109109
"obsidian:latest" <- Base Images
110110
# changelog
111111
changelogs:
112+
- {date: "20.03.26:", desc: "Use Wayland ozone platform fixes scaling and acceleration."}
112113
- {date: "28.12.25:", desc: "Add Wayland init logic."}
113114
- {date: "21.09.25:", desc: "Rebase to Debian Trixie."}
114115
- {date: "12.07.25:", desc: "Rebase to Selkies add no sandbox to launcher, HTTPS IS NOW REQUIRED."}

root/usr/bin/chromium

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ 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 \
1318
--password-store=basic \
1419
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
1520
--test-type \
1621
--user-data-dir \
22+
${WAYLAND} \
1723
"$@" > /dev/null 2>&1

root/usr/bin/obsidian

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

33
BIN=/opt/obsidian/obsidian
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
"$@" > /dev/null 2>&1

0 commit comments

Comments
 (0)