Insure any x depends pulled in during image creation before install gui.

This commit is contained in:
Storm Dragon
2025-08-19 20:51:45 -04:00
parent 3e48abf598
commit cc91998a06
2 changed files with 13 additions and 13 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
# be sure there is no Xorg interference
yay -Runcds --noconfirm libx11
packages="$1"
packages="${packages//lxqt/lxqt lxterminal oxygen-icons ratpoison network-manager-applet}"
packages="${packages//mate/mate mate-extra network-manager-applet}"
@@ -16,15 +19,8 @@ esac
./.includes/toggle-screen.sh -n
# Install X11Libre
if ! install_xlibre; then
msgbox "X11Libre installation failed. Installation aborted."
return 1
fi
# X11Libre installed successfully, install remaining packages
# Note: nodm-dgw is now available from StormUX repository (added by install_xlibre)
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-xinit
# Install X11Libre and GUI packages
install_package ${packages} brave-bin nodm-dgw orca speech-dispatcher xclip xlibre-server xlibre-input-libinput xlibre-video-fbdev xlibre-video-dummy-with-vt
# GUI bluetooth manager
if [[ "${architecture}" == "aarch64" ]]; then
@@ -69,7 +65,7 @@ if [[ "$1" == "i3" ]]; then
gitDir="$(mktemp -d)"
echo "Loading I38, please wait..."
git clone -q https://git.stormux.org/storm/I38 "$gitDir"
cd "$gitDir"
cd "$gitDir" || return
# Play a sound to let the user know the next part is interactive.
attention
./i38.sh -x