Modified rebuilt-machine script as the original setup of the icon theme will work correctly now.
This commit is contained in:
parent
a9a8f9a53b
commit
e6219792f0
@ -15,8 +15,8 @@ username=$(whoami)
|
|||||||
|
|
||||||
echo "${YELLOW} 🛠 UPDATING 🛠 UBUNTU AND INSTALLING REQUIRED SOFTWARE 📦 PACKAGES 📦 ${NC}\n"
|
echo "${YELLOW} 🛠 UPDATING 🛠 UBUNTU AND INSTALLING REQUIRED SOFTWARE 📦 PACKAGES 📦 ${NC}\n"
|
||||||
|
|
||||||
echo "${YELLOW} ⚙️ creating system folders that require admin permissions..."
|
echo "${YELLOW} ⚙️ creating system folders that require admin permissions... and disabling 'ubuntu pro' notices in terminal..."
|
||||||
|
sudo pro config set apt_news=false
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y upgrade
|
sudo apt -y upgrade
|
||||||
@ -245,40 +245,40 @@ echo "${CYAN} Adding CUSTOM QORTAL ICON THEME...${NC}\n"
|
|||||||
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/add-qortal-icon-theme.sh
|
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/add-qortal-icon-theme.sh
|
||||||
chmod +x add-qortal-icon-theme.sh
|
chmod +x add-qortal-icon-theme.sh
|
||||||
|
|
||||||
# Create autostart task to run it once after login
|
# # Create autostart task to run it once after login
|
||||||
cat > "${HOME}/.config/autostart/apply-qortal-icons.desktop" <<EOL
|
# cat > "${HOME}/.config/autostart/apply-qortal-icons.desktop" <<EOL
|
||||||
[Desktop Entry]
|
# [Desktop Entry]
|
||||||
Type=Application
|
# Type=Application
|
||||||
Exec=gnome-terminal -- ./apply-icon-theme-firstboot.sh
|
# Exec=gnome-terminal -- ./apply-icon-theme-firstboot.sh
|
||||||
Hidden=false
|
# Hidden=false
|
||||||
NoDisplay=false
|
# NoDisplay=false
|
||||||
X-GNOME-Autostart-enabled=true
|
# X-GNOME-Autostart-enabled=true
|
||||||
Name=Apply Qortal Icons
|
# Name=Apply Qortal Icons
|
||||||
Comment=Applies Qortal icon theme and removes itself
|
# Comment=Applies Qortal icon theme and removes itself
|
||||||
EOL
|
# EOL
|
||||||
|
|
||||||
cat > "$HOME/apply-icon-theme-firstboot.sh" <<'EOL'
|
# cat > "$HOME/apply-icon-theme-firstboot.sh" <<'EOL'
|
||||||
#!/bin/bash
|
# #!/bin/bash
|
||||||
sleep 10
|
# sleep 10
|
||||||
echo "APPLYING QORTAL ICON THEME..."
|
# echo "APPLYING QORTAL ICON THEME..."
|
||||||
echo
|
# echo
|
||||||
echo "NOTE: THE ICONS IN SOME CASES (SUCH AS MENU BUTTON) MAY NOT WORK IMMEDIATELY, MAY REQUIRE A REBOOT TO DISPLAY PROPERLY..."
|
# echo "NOTE: THE ICONS IN SOME CASES (SUCH AS MENU BUTTON) MAY NOT WORK IMMEDIATELY, MAY REQUIRE A REBOOT TO DISPLAY PROPERLY..."
|
||||||
sleep 10
|
# sleep 10
|
||||||
echo
|
# echo
|
||||||
echo "executing icon theme script..."
|
# echo "executing icon theme script..."
|
||||||
./add-qortal-icon-theme.sh
|
# ./add-qortal-icon-theme.sh
|
||||||
echo "COMPLETE. You now have 'qortal-hub' 'qortal' 'qortal-ui' and 'qortal-menu-button' through 'qortal-menu-button-4' icons usable throughout system on main account."
|
# echo "COMPLETE. You now have 'qortal-hub' 'qortal' 'qortal-ui' and 'qortal-menu-button' through 'qortal-menu-button-4' icons usable throughout system on main account."
|
||||||
echo
|
# echo
|
||||||
echo "(again, menu button icon may require a restart to display properly."
|
# echo "(again, menu button icon may require a restart to display properly."
|
||||||
sleep 5
|
# sleep 5
|
||||||
echo "removing startup script and closing in 5 seconds"
|
# echo "removing startup script and closing in 5 seconds"
|
||||||
sleep 4
|
# sleep 4
|
||||||
rm ".config/autostart/apply-qortal-icons.desktop"
|
# rm ".config/autostart/apply-qortal-icons.desktop"
|
||||||
exit
|
# exit
|
||||||
|
|
||||||
EOL
|
# EOL
|
||||||
|
|
||||||
chmod +x apply-icon-theme-first-boot.sh
|
# chmod +x apply-icon-theme-first-boot.sh
|
||||||
|
|
||||||
./add-qortal-icon-theme.sh
|
./add-qortal-icon-theme.sh
|
||||||
cd "${HOME}"
|
cd "${HOME}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user