Skip to content

Commit 0abe4b6

Browse files
authored
Merge pull request #4 from linuxserver/wayland-default
make wayland default
2 parents df66221 + 2362faa commit 0abe4b6

6 files changed

Lines changed: 22 additions & 3 deletions

File tree

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
1010
LABEL maintainer="thelamer"
1111

1212
# title
13-
ENV TITLE=Joplin
13+
ENV TITLE=Joplin \
14+
NO_GAMEPAD=true \
15+
PIXELFLUX_WAYLAND=true
1416

1517
RUN \
1618
echo "**** add icon ****" && \
@@ -28,6 +30,9 @@ RUN \
2830
"https://github.com/laurent22/joplin/releases/download/${JOPLIN_VERSION}/Joplin-$(echo ${JOPLIN_VERSION}| sed 's/^v//g').deb" && \
2931
apt-get install -y \
3032
/tmp/joplin.deb && \
33+
mv \
34+
/usr/bin/joplin \
35+
/usr/bin/joplin-real && \
3136
echo "**** cleanup ****" && \
3237
apt-get autoclean && \
3338
rm -rf \

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+
* **03.04.26:** - Make Wayland default disable with PIXELFLUX_WAYLAND=false.
615616
* **21.03.26:** - Use Wayland ozone platform fixes scaling and acceleration.
616617
* **28.12.25:** - Add Wayland init logic.
617618
* **19.08.25:** - Initial release.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ init_diagram: |
106106
"joplin:latest" <- Base Images
107107
# changelog
108108
changelogs:
109+
- {date: "03.04.26:", desc: "Make Wayland default disable with PIXELFLUX_WAYLAND=false."}
109110
- {date: "21.03.26:", desc: "Use Wayland ozone platform fixes scaling and acceleration."}
110111
- {date: "28.12.25:", desc: "Add Wayland init logic."}
111112
- {date: "19.08.25:", desc: "Initial release."}

root/defaults/autostart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
joplin --no-sandbox
1+
joplin

root/defaults/autostart_wayland

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
joplin --ozone-platform=wayland --no-sandbox
1+
joplin

root/usr/bin/joplin

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#! /bin/bash
2+
3+
BIN=/usr/bin/joplin-real
4+
5+
# Wayland check
6+
if ls -l /dev/dri/* > /dev/null 2>&1; then
7+
if pgrep labwc > /dev/null 2>&1; then
8+
WAYLAND="--ozone-platform=wayland"
9+
fi
10+
fi
11+
12+
${BIN} ${WAYLAND} --no-sandbox "$@"

0 commit comments

Comments
 (0)