mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 17:41:32 -05:00
Compare commits
No commits in common. "d2f32c7d3d7274d7f3f34aa610c87c7532a08481" and "2c0754a7bc88b84774f448050bab4b4f705e53b7" have entirely different histories.
d2f32c7d3d
...
2c0754a7bc
@ -80,8 +80,6 @@ unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
# Setup dconf
|
||||
umask 022
|
||||
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/automount-disable | sudo tee /etc/dconf/db/local.d/automount-disable
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/locks/automount-disable | sudo tee /etc/dconf/db/local.d/locks/automount-disable
|
||||
|
||||
@ -89,9 +87,8 @@ unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/m
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/adw-gtk3-dark | sudo tee /etc/dconf/db/local.d/adw-gtk3-dark
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/button-layout | sudo tee /etc/dconf/db/local.d/button-layout
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/touchpad | sudo tee /etc/dconf/db/local.d/touchpad
|
||||
|
||||
sudo chmod 644 /etc/dconf/db/local.d/*
|
||||
sudo dconf update
|
||||
umask 077
|
||||
|
||||
# Setup ZRAM
|
||||
echo -e '[zram0]\nzram-fraction = 1\nmax-zram-size = 8192\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf
|
||||
|
@ -91,8 +91,6 @@ sudo mkdir -p /etc/systemd/system/irqbalance.service.d
|
||||
unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/irqbalance.service.d/99-brace.conf | sudo tee /etc/systemd/system/irqbalance.service.d/99-brace.conf
|
||||
|
||||
# Setup dconf
|
||||
umask 022
|
||||
|
||||
sudo mkdir -p /etc/dconf/db/local.d/locks
|
||||
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/automount-disable | sudo tee /etc/dconf/db/local.d/automount-disable
|
||||
@ -102,9 +100,8 @@ unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/m
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/locks/apport-disable | sudo tee /etc/dconf/db/local.d/locks/apport-disable
|
||||
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/dconf/db/local.d/touchpad | sudo tee /etc/dconf/db/local.d/touchpad
|
||||
|
||||
sudo chmod 644 /etc/dconf/db/local.d/*
|
||||
sudo dconf update
|
||||
umask 077
|
||||
|
||||
ubuntu-report -f send no
|
||||
sudo systemctl stop apport.service
|
||||
@ -123,7 +120,7 @@ sudo fwupdmgr get-updates -y
|
||||
sudo fwupdmgr update -y
|
||||
|
||||
# Remove unneeded packages
|
||||
sudo apt purge -y apport baobab cups* eog gedit firefox* gnome-calculator gnome-characters* gnome-clocks gnome-font-viewer gnome-logs gnome-power-manager gnome-shell-extension-prefs libreoffice* seahorse tcpdump whoopsie
|
||||
sudo apt purge -y cups* eog gedit firefox* gnome-calculator gnome-characters* gnome-font-viewer gnome-logs gnome-power-manager gnome-shell-extension-prefs seahorse tcpdump whoopsie
|
||||
sudo apt autoremove -y
|
||||
sudo snap remove firefox
|
||||
|
||||
@ -136,7 +133,7 @@ sudo snap install gnome-text-editor loupe
|
||||
# Rosetta setup
|
||||
if [ -f /media/psf/RosettaLinux/rosetta ]; then
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/rosetta-sources.list | sudo tee /etc/apt/sources.list
|
||||
rm -rf /etc/apt/sources.list.d/proposed.list
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/sources.list.d/rosetta-proposed.list | sudo tee /etc/apt/sources.list.d/proposed.list
|
||||
fi
|
||||
|
||||
sudo dpkg --add-architecture amd64
|
@ -1,60 +1,57 @@
|
||||
# deb cdrom:[Ubuntu 22.04.3 LTS _mantic Jellyfish_ - Release arm64 (20240119)]/ mantic main restricted
|
||||
# deb cdrom:[Ubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release arm64 (20240119)]/ jammy main restricted
|
||||
|
||||
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
|
||||
# newer versions of the distribution.
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic main restricted
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic main restricted
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy main restricted
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy main restricted
|
||||
|
||||
## Major bug fix updates produced after the final release of the
|
||||
## distribution.
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates main restricted
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic-updates main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates main restricted
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates main restricted
|
||||
|
||||
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
|
||||
## team. Also, please note that software in universe WILL NOT receive any
|
||||
## review or updates from the Ubuntu security team.
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic universe
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic universe
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates universe
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic-updates universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates universe
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy universe
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy universe
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates universe
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates universe
|
||||
|
||||
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
|
||||
## team, and may not be under a free licence. Please satisfy yourself as to
|
||||
## your rights to use the software. Also, please note that software in
|
||||
## multiverse WILL NOT receive any review or updates from the Ubuntu
|
||||
## security team.
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic multiverse
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic multiverse
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates multiverse
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic-updates multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic-updates multiverse
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy multiverse
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy multiverse
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates multiverse
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy-updates multiverse
|
||||
|
||||
## N.B. software from this repository may not have been tested as
|
||||
## extensively as that contained in the main release, although it includes
|
||||
## newer versions of some applications which may provide useful features.
|
||||
## Also, please note that software in backports WILL NOT receive any review
|
||||
## or updates from the Ubuntu security team.
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-backports main restricted universe multiverse
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ mantic-backports main restricted universe multiverse
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
|
||||
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-security main restricted
|
||||
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ mantic-security main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports mantic-security main restricted
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-security universe
|
||||
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ mantic-security universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports mantic-security universe
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-security multiverse
|
||||
deb [arch=amd64] http://security.ubuntu.com/ubuntu/ mantic-security multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports mantic-security multiverse
|
||||
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ mantic-proposed main restricted
|
||||
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ mantic-proposed main restricted
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-security main restricted
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security main restricted
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports jammy-security main restricted
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-security universe
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security universe
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports jammy-security universe
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-security multiverse
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security multiverse
|
||||
# deb-src http://us.ports.ubuntu.com/ubuntu-ports jammy-security multiverse
|
||||
|
||||
# This system was installed using small removable media
|
||||
# (e.g. netinst, live or single CD). The matching "deb cdrom"
|
||||
|
2
etc/apt/sources.list.d/rosetta-proposed.list
Normal file
2
etc/apt/sources.list.d/rosetta-proposed.list
Normal file
@ -0,0 +1,2 @@
|
||||
deb [arch=arm64] http://us.ports.ubuntu.com/ubuntu-ports/ jammy-proposed main restricted
|
||||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted
|
Loading…
Reference in New Issue
Block a user