Change the desktop file to an X session and add supporting files.

pull/1/head
Aaron Rainbolt 2 years ago
parent 4293c7a681
commit 9f9f7118eb

@ -32,5 +32,6 @@ qt_finalize_executable(lubuntu-installer-prompt)
install(TARGETS lubuntu-installer-prompt DESTINATION bin) install(TARGETS lubuntu-installer-prompt DESTINATION bin)
install(PROGRAMS "scripts/lubuntu-installer" DESTINATION libexec) install(PROGRAMS "scripts/lubuntu-installer" DESTINATION libexec)
install(PROGRAMS "scripts/start-lubuntu-live-env" DESTINATION bin)
install(FILES "img/background.png" DESTINATION share/lubuntu/installer-prompt) install(FILES "img/background.png" DESTINATION share/lubuntu/installer-prompt)
install(FILES "lubuntu-installer-prompt.desktop" DESTINATION /etc/xdg/xdg-Lubuntu/autostart) install(FILES "lubuntu-live-environment.desktop" DESTINATION share/xsessions)

@ -1,6 +0,0 @@
[Desktop Entry]
Exec=/usr/bin/lubuntu-installer-prompt
Name=Lubuntu Installer Prompt
Type=Application
Version=0.3.0
X-LXQt-Need-Tray=true

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

@ -0,0 +1,8 @@
#!/bin/bash
# Starts the Lubuntu Live Environment.
openbox &
lubuntu-installer-prompt # This is intentionally *not* backgrounded.
# If it exits...
killall openbox
startlxqt
Loading…
Cancel
Save