Fix install ubuntu
This commit is contained in:
parent
7697e31788
commit
1c5ac00543
|
@ -1,3 +1,7 @@
|
|||
|
||||
# ubuntu hangs if network interface is not optional
|
||||
sudo sed -i '/dhcp4/a\ optional: yes' /etc/netplan/00-installer-config-wifi.yaml
|
||||
sudo sed -i '/dhcp4/a\ optional: yes' /etc/netplan/00-installer-config.yaml
|
||||
# Add firefox repo
|
||||
echo "deb [trusted=yes] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
|
||||
# By default ubuntu installs firefox from snap, so I want to disable it
|
||||
|
@ -29,22 +33,27 @@ firefox
|
|||
|
||||
# remove snap cause I hate it
|
||||
sudo systemctl disable --now snapd
|
||||
sudo apt purge snapd
|
||||
sudo apt purge snapd -y
|
||||
|
||||
|
||||
if [ ! -d ~/gui ]
|
||||
then
|
||||
git clone https://git.digitalstudium.com/digitalstudium/ubuntu-gui ~/gui
|
||||
fi
|
||||
|
||||
# compiling dwm
|
||||
if ! command -v dwm &> /dev/null
|
||||
then
|
||||
cd gui/dwm
|
||||
cd ~/gui/dwm
|
||||
sudo make install clean
|
||||
cd -
|
||||
echo dwm > .xinitrc # for starting dwm when startx
|
||||
echo dwm > ~/.xinitrc # for starting dwm when startx
|
||||
fi
|
||||
|
||||
# compiling st
|
||||
if ! command -v st &> /dev/null
|
||||
then
|
||||
cd gui/st
|
||||
cd ~/gui/st
|
||||
sudo make install clean
|
||||
cd -
|
||||
fi
|
||||
|
@ -52,7 +61,7 @@ fi
|
|||
# compiling sent
|
||||
if ! command -v sent &> /dev/null
|
||||
then
|
||||
cd gui/sent
|
||||
cd ~/gui/sent
|
||||
sudo make install clean
|
||||
cd -
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue