Skip to content

Commit 3c7066a

Browse files
committed
🐛 fix: fix: use startxfce-community for XFCE session in livecd
XFCE now launches via startxfce-community instead of startxfce4 directly, matching the Cinnamon pattern. Environment variables (XDG_MENU_PREFIX, DESKTOP_SESSION, etc.) are now handled by startxfce-community instead of being hardcoded in startbiglive. Added file cleanup and xdg-user-dirs-update before session start, consistent with GNOME and Cinnamon paths.
1 parent 63b0bfe commit 3c7066a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

biglinux-livecd/usr/bin/startbiglive

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -543,13 +543,10 @@ elif [[ "$display_manager" == "sddm" || "$display_manager" == "lxdm" ]]; then
543543
fi
544544

545545
elif [[ -e /usr/share/xsessions/xfce.desktop ]]; then
546-
# XFCE
547-
export XDG_MENU_PREFIX=xfce-
548-
export DESKTOP_SESSION=xfce
549-
export XDG_SESSION_DESKTOP=xfce
550-
export GDMSESSION=xfce
551-
export XDG_CURRENT_DESKTOP=XFCE
552-
exec startxfce4
546+
# XFCE: Clean up and start xfce session
547+
rm -f "$HOME/Empty Bash" "$HOME/Empty Desktop File.desktop" "$HOME/Empty File"
548+
xdg-user-dirs-update
549+
exec startxfce-community
553550

554551
elif [[ -e /usr/bin/startcinnamon-community ]]; then
555552
# Cinnamon: Clean up and start cinnamon-session

0 commit comments

Comments
 (0)