Skip to content

Commit 3c989d8

Browse files
committed
add wayland init logic
1 parent 3ce1fe7 commit 3c989d8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

root/defaults/startwm_wayland.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Disable compositing
4+
setterm blank 0
5+
setterm powerdown 0
6+
gsettings set org.mate.Marco.general compositing-manager false
7+
8+
# Start DE
9+
WAYLAND_DISPLAY=wayland-1 Xwayland :1 &
10+
sleep 2
11+
exec dbus-launch --exit-with-session /usr/bin/mate-session > /dev/null 2>&1

0 commit comments

Comments
 (0)