Touch up the live session scripts, so it's actually started with our theming.

pull/3/head
Simon Quigley 1 year ago
parent 1042e7398e
commit d25b3c1f2f

@ -56,7 +56,7 @@ install(TARGETS lubuntu-installer-prompt
)
install(PROGRAMS "scripts/change-system-language" DESTINATION libexec)
install(PROGRAMS "scripts/lubuntu-installer" DESTINATION libexec)
install(PROGRAMS "scripts/start-lubuntu-live-env" DESTINATION bin)
install(PROGRAMS "scripts/start-lubuntu-live-env" DESTINATION libexec)
install(FILES "lubuntu-live-environment.desktop" DESTINATION share/xsessions)
if(QT_VERSION_MAJOR EQUAL 6)

@ -1,5 +1,5 @@
[Desktop Entry]
Exec=/usr/bin/start-lubuntu-live-env
Exec=/usr/libexec/start-lubuntu-live-env
Name=Lubuntu Live Environment
Comment=Starts the Lubuntu Live Environment
Type=Application

@ -1,11 +1,17 @@
#!/bin/bash
# Starts the Lubuntu Live Environment.
# This is pretty overkill, but don't remove anything without testing
export XDG_CONFIG_DIRS="/etc/xdg/xdg-Lubuntu:"$XDG_CONFIG_DIRS
export XDG_DATA_DIRS="/usr/share/Lubuntu:"$XDG_DATA_DIRS
export XDG_SESSION_CLASS="user"
export XDG_SESSION_DESKTOP="Lubuntu"
export DESKTOP_SESSION="Lubuntu"
export QT_STYLE_OVERRIDE="Breeze"
export QT_QPA_PLATFORMTHEME="lxqt"
openbox &
sudo lubuntu-installer-prompt # This is intentionally *not* backgrounded.
sudo -E lubuntu-installer-prompt # This is intentionally *not* backgrounded.
# If it exits...
killall openbox
startlxqt

Loading…
Cancel
Save