add wayland init logic

This commit is contained in:
thelamer 2025-12-28 09:14:09 -05:00
parent 3ce1fe7230
commit 3c989d8830
No known key found for this signature in database

View 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