Last active
September 26, 2018 17:59
-
-
Save wesinator/cfc643f397117f4179f1a5c1d8627a65 to your computer and use it in GitHub Desktop.
Useful post-install scripts for Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Force linux to use 24-hour time everywhere, including login screen | |
sudo update-locale LC_TIME="C.UTF-8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS | |
sudo mokutil --disable-validation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install gnome-boxes correctly in Ubuntu 18.04 | |
sudo apt install gnome-boxes && sudo adduser $USER kvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove junk from Mint default installation (as of LM 18.2) | |
# Remove old intel driver pkg | |
sudo apt autoremove xserver-xorg-video-intel | |
# Remove mono runtime to avoid running Windows exes | |
sudo apt autoremove mono-runtime | |
# If physical install: | |
sudo apt autoremove virtualbox-guest* | |
# Remove old chromium folder (run for all users) | |
rm -r ~/.config/chromium/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ufw enable | |
# Prevent fw log garbage | |
sudo ufw deny in to 224.0.0.0/24 | |
sudo ufw deny in to ff02::1 | |
sudo ufw deny in 1900/udp | |
# Stop automatic printer detection and setup | |
sudo apt autoremove cups-browsed | |
sudo apt purge xul-ext-ubufox | |
sudo apt autoremove webbrowser-app # Remove Ubuntu browser and Amazon in 16.04 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment