mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2026-03-16 00:00:48 +08:00
add wayland init logic
This commit is contained in:
parent
3ce1fe7230
commit
3c989d8830
11
root/defaults/startwm_wayland.sh
Executable file
11
root/defaults/startwm_wayland.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Disable compositing
|
||||
setterm blank 0
|
||||
setterm powerdown 0
|
||||
gsettings set org.mate.Marco.general compositing-manager false
|
||||
|
||||
# Start DE
|
||||
WAYLAND_DISPLAY=wayland-1 Xwayland :1 &
|
||||
sleep 2
|
||||
exec dbus-launch --exit-with-session /usr/bin/mate-session > /dev/null 2>&1
|
||||
Loading…
x
Reference in New Issue
Block a user