Last active
February 23, 2024 23:51
-
-
Save HackingGate/3dbcf2264ccf7dbb7465560ca1cf9edc to your computer and use it in GitHub Desktop.
My Ubuntu Desktop Setup
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
# Make Ubuntu use local time (Fix Windows 10 dual boot different time issue) | |
timedatectl set-local-rtc 1 --adjust-system-clock | |
# Check current settings | |
timedatectl | |
# Install packages | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install emacs vim curl wget git build-essential -y | |
# Install Tor | |
sudo sh -c 'echo "deb [arch=amd64] https://deb.torproject.org/torproject.org $(lsb_release -sc) main" >> /etc/apt/sources.list.d/tor-project.list' | |
# Download Keyring | |
# https://deb.torproject.org/torproject.org/pool/main/d/deb.torproject.org-keyring/ | |
sudo apt install ~/Downloads/deb.torproject.org-keyring*.deb | |
sudo apt update | |
sudo apt install tor | |
tor --version | |
systemctl status tor | |
sudo apt install torbrowser-launcher |
ohmyzsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
starship
FiraCode Nerd Font
mkdir ~/Downloads/FiraCode
cd ~/Downloads/FiraCode
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
unzip FiraCode.zip
mkdir ~/.local/share/fonts
cp *.otf ~/.local/share/fonts
cd ..
rm -rf FiraCode
Install through snapcraft
sudo snap install starship
Setup your shell to use Starship
echo '
eval "$(starship init zsh)"
' >> ~/.zshrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reboot into Windows only for one time
Edit the
/etc/default/grub
and replaceGRUB_DEFAULT=0
withGRUB_DEFAULT=saved
From: https://unix.stackexchange.com/a/112284/267632