This guide is supposed to serve as a guide for me, so that I can quickly setup a system anytime I need to do so. I should probably turn all this into an shell install script so it will automatically set that up for me. Or maybe use smth like NixOS. But until I figure all that out, here are the instructions. Here I'm setting up a Pop_OS system. Even though I love the dark side of linux (Arch, manjaro, etc). I need the 'debian' stability for development.
- Install a Pop_OS iso image from a usb stick. I pretty much always have a bootable Pop_OS usb on hand.
- Download all available updates
- Download the following from Pop Shop:
- Spotify
- VSCode
- Kitty terminal
- Install the snap store:
sudo apt install snapd
- Install Brave browser from snap store
sudo snap install brave
- Install zsh shell with:
sudo apt install zsh
- Change default shell to zsh
chsh -s $(which zsh)
- Install Powerlevel10k for cool looks
- Install Github CLI with these instructions:
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
You'll need to do a one time auth setup. To do that run and follow the next steps.
gh auth login
Also set your Git config stuff:
git config --global user.name "Krona Emmanuel"
git config --global user.email "kronaemmanuel@gmail.com"
- Install
z
to jump around in the/builds
directory
mkdir builds && cd builds
gh repo clone rupa/z
Now go to your .zshrc
and put this the end if its not already there:
# Add z to jump around
. ~/builds/z/z.sh
- Get your dotfiles
gh repo clone kronaemmanuel/dotfiles
Also get stow
to put these dotfiles to use
sudo apt install stow
- Fix the hissing noise in headphones by doing the following:
sudo vi /etc/modprobe.d/alsa-base.conf
After vi opens, put the following lines at the end:
# Turn off power save mode (causes hissing in headphones)
options snd-hda-intel power_save=0
The issue should be fixed on system restart, for temporary fix do this:
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
- Change default terminal to kitty by going into:
sudo update-alternatives --config x-terminal-emulator
It will give an interactive prompt where you can choose your default terminal. Now Super + T will bring up kitty 14. Install neovim from snap
sudo snap install --edge nvim --classic
- Install vim plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- Install Slack from snap
sudo snap install slack --classic