Insure any x depends pulled in during image creation before install gui.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
|
# be sure there is no Xorg interference
|
||||||
|
yay -Runcds --noconfirm libx11
|
||||||
|
|
||||||
packages="$1"
|
packages="$1"
|
||||||
packages="${packages//lxqt/lxqt lxterminal oxygen-icons ratpoison network-manager-applet}"
|
packages="${packages//lxqt/lxqt lxterminal oxygen-icons ratpoison network-manager-applet}"
|
||||||
packages="${packages//mate/mate mate-extra network-manager-applet}"
|
packages="${packages//mate/mate mate-extra network-manager-applet}"
|
||||||
@@ -16,15 +19,8 @@ esac
|
|||||||
|
|
||||||
./.includes/toggle-screen.sh -n
|
./.includes/toggle-screen.sh -n
|
||||||
|
|
||||||
# Install X11Libre
|
# Install X11Libre and GUI packages
|
||||||
if ! install_xlibre; then
|
install_package ${packages} brave-bin nodm-dgw orca speech-dispatcher xclip xlibre-server xlibre-input-libinput xlibre-video-fbdev xlibre-video-dummy-with-vt
|
||||||
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
|
|
||||||
|
|
||||||
# GUI bluetooth manager
|
# GUI bluetooth manager
|
||||||
if [[ "${architecture}" == "aarch64" ]]; then
|
if [[ "${architecture}" == "aarch64" ]]; then
|
||||||
@@ -69,7 +65,7 @@ if [[ "$1" == "i3" ]]; then
|
|||||||
gitDir="$(mktemp -d)"
|
gitDir="$(mktemp -d)"
|
||||||
echo "Loading I38, please wait..."
|
echo "Loading I38, please wait..."
|
||||||
git clone -q https://git.stormux.org/storm/I38 "$gitDir"
|
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.
|
# Play a sound to let the user know the next part is interactive.
|
||||||
attention
|
attention
|
||||||
./i38.sh -x
|
./i38.sh -x
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Configure Stormux
|
# Configure Stormux
|
||||||
# A script to configure the system for new users.
|
# A script to configure the system for new users.
|
||||||
#
|
#
|
||||||
@@ -73,7 +73,7 @@ fi
|
|||||||
while [[ "$choice" != "Exit" ]]; do
|
while [[ "$choice" != "Exit" ]]; do
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
"Change username")
|
"Change username")
|
||||||
./.includes/chuser.sh $(inputbox "Please enter the new username, letters, dashes, and underscores only.")
|
./.includes/chuser.sh "$(inputbox "Please enter the new username, letters, dashes, and underscores only.")"
|
||||||
restart
|
restart
|
||||||
;;
|
;;
|
||||||
"Configure Fenrir")
|
"Configure Fenrir")
|
||||||
@@ -121,6 +121,9 @@ while [[ "$choice" != "Exit" ]]; do
|
|||||||
"Convert to Server")
|
"Convert to Server")
|
||||||
source .includes/convert-to-server.sh
|
source .includes/convert-to-server.sh
|
||||||
;;
|
;;
|
||||||
|
"Configure StormUX Repository")
|
||||||
|
add_stormux_repo
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
options=(
|
options=(
|
||||||
"Change username"
|
"Change username"
|
||||||
@@ -145,6 +148,7 @@ while [[ "$choice" != "Exit" ]]; do
|
|||||||
"Get help on IRC"
|
"Get help on IRC"
|
||||||
"Update configure-stormux"
|
"Update configure-stormux"
|
||||||
"Convert to Server"
|
"Convert to Server"
|
||||||
|
"Configure StormUX Repository"
|
||||||
)
|
)
|
||||||
choice="$(menulist "${options[@]}")" || break
|
choice="$(menulist "${options[@]}")" || break
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user