INSTALL ALL IN TO ONE
This commit is contained in:
45
install-scripts/install-ma-dte-debian.sh
Normal file
45
install-scripts/install-ma-dte-debian.sh
Normal file
@@ -0,0 +1,45 @@
|
||||
#!/bin/bash
|
||||
cd ~/bspwm-install-ma-dte
|
||||
|
||||
#sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common"
|
||||
#sudo sh -c "echo 'Xcursor.size: 22' >> /etc/X11/Xresources/x11-common"
|
||||
|
||||
sudo sh -c "echo 'deb http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
|
||||
sudo sh -c "echo 'deb-src http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Run APT Update
|
||||
sudo apt update
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Do, mkdir, copy, copy, echo files.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-git-chmod-echo-files.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Add Software & Packages.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/apt-install-core-packages.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Add Pulseaudio to system startup as user.
|
||||
systemctl --user enable pulseaudio
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Last Software & Packages.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/apt-install-software-last-packages.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
|
||||
# Last step setup menu installing.
|
||||
#. ~/bspwm-install-ma-dte/last-step-setup-menu.sh
|
||||
37
install-scripts/install-ma-dte-fedora-test.sh
Normal file
37
install-scripts/install-ma-dte-fedora-test.sh
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
cd ~/bspwm-install-ma-dte
|
||||
|
||||
# Do, mkdir, copy, copy, echo files.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-git-chmod-echo-files.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Add Software & Packages.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/dnf-install-core-packages.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Add Pulseaudio to system startup as user.
|
||||
systemctl --user enable pulseaudio
|
||||
sudo systemctl enable sddm
|
||||
sudo systemctl set-default graphical.target
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Last Software & Packages.
|
||||
. ~/bspwm-install-ma-dte/install-scripts/dnf-install-software-last-packages.sh
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
#sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common"
|
||||
#sudo sh -c "echo 'Xcursor.size: 22' >> /etc/X11/Xresources/x11-common"
|
||||
|
||||
# Not for production version
|
||||
#read -p "Troubleshooting - Press a key to continue the installation."
|
||||
|
||||
# Last step setup menu installing.
|
||||
#. ~/bspwm-install-ma-dte/last-step-setup-menu.sh
|
||||
48
install-scripts/install-old.sh
Normal file
48
install-scripts/install-old.sh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
# APT Update + install
|
||||
sudo apt update && sudo apt install -y dialog git
|
||||
# Remember that this menu uses this apt package "dialog"
|
||||
|
||||
HEIGHT=35
|
||||
WIDTH=80
|
||||
CHOICE_HEIGHT=10
|
||||
BACKTITLE="The installation of Martin BSPwm DTE on Debian"
|
||||
TITLE="Martin DTE - BSPwm installation"
|
||||
MENU="Choose you system from the following:"
|
||||
|
||||
OPTIONS=(1 "AMD System"
|
||||
2 "AMD System + NVIDIA GPU"
|
||||
3 "Intel System"
|
||||
4 "Intel System + NVIDIA GPU"
|
||||
5 "Virtual Machine System - NO microcode & GPU Drivers"
|
||||
6 "Exit, Do nothing and Reboot")
|
||||
|
||||
CHOICE=$(dialog --clear \
|
||||
--backtitle "$BACKTITLE" \
|
||||
--title "$TITLE" \
|
||||
--menu "$MENU" \
|
||||
$HEIGHT $WIDTH $CHOICE_HEIGHT \
|
||||
"${OPTIONS[@]}" \
|
||||
2>&1 >/dev/tty)
|
||||
|
||||
clear
|
||||
case $CHOICE in
|
||||
1)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y amd64-microcode && sudo reboot
|
||||
;;
|
||||
2)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && sudo reboot
|
||||
;;
|
||||
3)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode && sudo reboot
|
||||
;;
|
||||
4)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode nvidia-detect nvidia-driver && sudo reboot
|
||||
;;
|
||||
5)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo reboot
|
||||
;;
|
||||
6)
|
||||
systemctl reboot
|
||||
;;
|
||||
esac
|
||||
46
install-scripts/last-step-setup-menu.sh
Normal file
46
install-scripts/last-step-setup-menu.sh
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/bin/bash
|
||||
# Remember that this menu uses this apt package "dialog"
|
||||
|
||||
HEIGHT=35
|
||||
WIDTH=80
|
||||
CHOICE_HEIGHT=5
|
||||
BACKTITLE="Martin BSPwm DTE - The last step of the installation"
|
||||
TITLE="The last step of the installation"
|
||||
MENU="Choose one of the following options:"
|
||||
|
||||
OPTIONS=(1 "Install AMD Driver"
|
||||
2 "Install AMD Driver + NVIDIA"
|
||||
3 "Install Intel Driver"
|
||||
4 "Install Intel + NVIDIA Driver"
|
||||
5 "Virtual Machine - New SUPER KEY to ALT KEY"
|
||||
6 "Do nothing and Reboot")
|
||||
|
||||
CHOICE=$(dialog --clear \
|
||||
--backtitle "$BACKTITLE" \
|
||||
--title "$TITLE" \
|
||||
--menu "$MENU" \
|
||||
$HEIGHT $WIDTH $CHOICE_HEIGHT \
|
||||
"${OPTIONS[@]}" \
|
||||
2>&1 >/dev/tty)
|
||||
|
||||
clear
|
||||
case $CHOICE in
|
||||
1)
|
||||
sudo apt install -y amd64-microcode && systemctl reboot
|
||||
;;
|
||||
2)
|
||||
sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && systemctl reboot
|
||||
;;
|
||||
3)
|
||||
sudo apt install -y intel-microcode && systemctl reboot
|
||||
;;
|
||||
4)
|
||||
sudo apt install -y intel-microcode nvidia-detect nvidia-driver && systemctl reboot
|
||||
;;
|
||||
5)
|
||||
. ~/bspwm-install-ma-dte/install-scripts/vm-install-mics.sh && systemctl reboot
|
||||
;;
|
||||
6)
|
||||
systemctl reboot
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user