Skip to content

Commit dc61872

Browse files
committed
use native xfce in wayland mode
1 parent 9112789 commit dc61872

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

root/defaults/startwm_wayland.sh

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
#!/usr/bin/with-contenv bash
2-
3-
# Default settings
4-
if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
5-
mkdir -p "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml
6-
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
7-
fi
1+
#!/bin/bash
82

93
# Start DE
10-
WAYLAND_DISPLAY=wayland-1 Xwayland :1 &
11-
sleep 2
12-
exec dbus-launch /usr/bin/xfce4-session > /dev/null 2>&1
4+
WAYLAND_DISPLAY=wayland-1 startxfce4 --wayland > /dev/null 2>&1

0 commit comments

Comments
 (0)