Skip to content

Commit dfdd5fc

Browse files
committed
🐛 fix: Fix Cinnamon live session to use startcinnamon-community wrapper
Replace direct cinnamon-session-cinnamon call with startcinnamon-community wrapper, matching the GNOME session startup pattern. This ensures proper GPU detection, Qt/GTK theme sync, dconf/mimeapps loading, and systemd sync services are initialized during live session boot.
1 parent 2c80e27 commit dfdd5fc

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

biglinux-livecd/usr/bin/startbiglive

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,11 @@ elif [[ -e /usr/share/xsessions/xfce.desktop ]]; then
165165
export XDG_CURRENT_DESKTOP=XFCE
166166
startxfce4
167167

168-
elif [[ -e /usr/bin/cinnamon-session-cinnamon ]]; then
169-
# Cinnamon
170-
export DESKTOP_SESSION=cinnamon
171-
export XDG_SESSION_DESKTOP=cinnamon
172-
export XDG_CURRENT_DESKTOP=X-Cinnamon
173-
export GDMSESSION=cinnamon
174-
cinnamon-session-cinnamon
168+
elif [[ -e /usr/bin/startcinnamon-community ]]; then
169+
# Cinnamon: Clean up and start cinnamon-session
170+
rm -f "$HOME/Empty Bash" "$HOME/Empty Desktop File.desktop" "$HOME/Empty File"
171+
xdg-user-dirs-update
172+
startcinnamon-community
175173
fi
176174

177175
# Restart display manager to apply changes

biglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Application Information
1010
APP_NAME = "BigLinux Calamares Config"
1111
APP_ID = "com.biglinux.calamares-config"
12-
APP_VERSION = "1.0.10"
12+
APP_VERSION = "1.0.11"
1313

1414
# Paths and Directories
1515
BASE_DIR = Path(__file__).parent.parent.parent

0 commit comments

Comments
 (0)