Skip to content

Commit 2e80760

Browse files
committed
add wayland init
1 parent a97c54f commit 2e80760

4 files changed

Lines changed: 35 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
8888

8989
| Variable | Description |
9090
| :----: | --- |
91+
| PIXELFLUX_WAYLAND | **Experimental** If set to true the container will initialize in Wayland mode running [Smithay](https://github.com/Smithay/smithay) and Labwc while enabling zero copy encoding with a GPU |
9192
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `3000` |
9293
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `3001` |
9394
| CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 |
@@ -142,6 +143,30 @@ To launch the desktop session in a different language, set the `LC_ALL` environm
142143
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
143144
* `-e LC_ALL=it_IT.UTF-8` - Italian
144145

146+
### SealSkin Compatibility
147+
148+
This container is compatible with [SealSkin](https://github.com/linuxserver/docker-sealskin).
149+
150+
SealSkin is a self-hosted, client-server platform that provides secure authentication and collaboration features while using a browser extension to intercept user actions such as clicking a link or downloading a file and redirect them to a secure, isolated application environment running on a remote server.
151+
152+
* **SealSkin Server:** [Get it Here](https://github.com/linuxserver/docker-sealskin)
153+
* **Browser Extension:** [Install Here](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk)
154+
155+
### All GPU Acceleration - use sane resolutions
156+
157+
When using 3d acceleration via Nvidia DRM or DRI3 it is important to clamp the virtual display to a reasonable max resolution. This can be achieved with the environment setting:
158+
159+
* `-e MAX_RESOLUTION=3840x2160`
160+
161+
This will set the total virtual framebuffer to 4K, you can also set a manual resolution to achieve this.
162+
By default the virtual monitor in the session is 16K to support large monitors and dual display configurations. Leaving it this large has no impact on CPU based performance but costs GPU memory usage and memory bandwidth when leveraging one for acceleration. If you have performance issues in an accelerated session, try clamping the resolution to 1080p and work up from there:
163+
164+
```
165+
-e SELKIES_MANUAL_WIDTH=1920
166+
-e SELKIES_MANUAL_HEIGHT=1080
167+
-e MAX_RESOLUTION=1920x1080
168+
```
169+
145170
### DRI3 GPU Acceleration
146171

147172
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
@@ -566,6 +591,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
566591

567592
## Versions
568593

594+
* **28.12.25:** - Add Wayland init logic.
569595
* **22.09.25:** - Rebase to Arch latest Appimage no longer working on Deb distros. Build for arm64 again.
570596
* **06.08.25:** - Fix cpu bug, disable gamepad by default.
571597
* **12.07.25:** - Rebase to Selkies and use official AppImage, HTTPS IS NOW REQUIRED. Remove arm64 support.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ init_diagram: |
103103
"kdenlive:latest" <- Base Images
104104
# changelog
105105
changelogs:
106+
- {date: "28.12.25:", desc: "Add Wayland init logic."}
106107
- {date: "22.09.25:", desc: "Rebase to Arch latest Appimage no longer working on Deb distros. Build for arm64 again."}
107108
- {date: "06.08.25:", desc: "Fix cpu bug, disable gamepad by default."}
108109
- {date: "12.07.25:", desc: "Rebase to Selkies and use official AppImage, HTTPS IS NOW REQUIRED. Remove arm64 support."}

root/defaults/autostart_wayland

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dbus-launch kdenlive

root/defaults/menu_wayland.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<openbox_menu xmlns="http://openbox.org/3.4/menu">
3+
<menu id="root-menu" label="MENU">
4+
<item label="Kdenlive" icon="/usr/share/icons/hicolor/32x32/apps/kdenlive.png"><action name="Execute"><command>dbus-launch /usr/bin/kdenlive</command></action></item>
5+
<item label="foot" icon="/usr/share/icons/hicolor/48x48/apps/foot.png"><action name="Execute"><command>/usr/bin/foot</command></action></item>
6+
</menu>
7+
</openbox_menu>

0 commit comments

Comments
 (0)