2023-02-06 16:22:55 -06:00
|
|
|
#!/bin/bash
|
|
|
|
# Starts the Lubuntu Live Environment.
|
|
|
|
|
2023-12-23 16:07:37 -06:00
|
|
|
# This is pretty overkill, but don't remove anything without testing
|
2024-04-11 20:46:08 +00:00
|
|
|
export XDG_CONFIG_DIRS="/etc/xdg/xdg-lubuntu-live-environment:/etc/xdg/xdg-Lubuntu:"$XDG_CONFIG_DIRS
|
2023-12-09 14:48:46 -06:00
|
|
|
export XDG_DATA_DIRS="/usr/share/Lubuntu:"$XDG_DATA_DIRS
|
2023-12-23 16:07:37 -06:00
|
|
|
export XDG_SESSION_CLASS="user"
|
|
|
|
export XDG_SESSION_DESKTOP="Lubuntu"
|
2023-12-09 14:48:46 -06:00
|
|
|
export DESKTOP_SESSION="Lubuntu"
|
2023-12-23 16:07:37 -06:00
|
|
|
export QT_STYLE_OVERRIDE="Breeze"
|
|
|
|
export QT_QPA_PLATFORMTHEME="lxqt"
|
|
|
|
|
2023-12-14 22:05:30 -06:00
|
|
|
openbox &
|
2024-02-27 15:31:30 -06:00
|
|
|
picom &
|
2024-04-26 17:03:44 -05:00
|
|
|
if [[ $(cat /proc/cmdline) =~ "oem-config/enable=true" ]]; then
|
|
|
|
sudo -E /usr/bin/calamares-launch-oem;
|
|
|
|
else
|
|
|
|
lubuntu-installer-prompt;
|
|
|
|
fi
|
2023-12-14 22:05:30 -06:00
|
|
|
# If it exits...
|
2024-02-27 15:31:30 -06:00
|
|
|
killall picom
|
2023-02-06 16:22:55 -06:00
|
|
|
killall openbox
|
|
|
|
startlxqt
|