Pop!_OS Setup
This is how I setup Pop!_OS for software development and personal use.
For reference, I primarily use this setup on a Lenovo ThinkPad T14 Gen 1 (AMD) laptop.
Notes
Current Version for this setup: Pop!_OS 22.04 LTS
Certain commands are catered to the hardware of my laptop. Please modify the commands to your needs.
- e.g. Installing Brave:
arch=amd64
All settings are more of a personal preference and some are only applicable for a laptop.
If you are new to Linux, I recommend reading through the commands and understanding what each command does before running them. The Linux community is very helpful, so if you have any questions, please ask!
General Settings
- Tile windows
- Enable night light
- Change device name
- Manage installed languages
- Remove unwanted languages
- Turn off file history
- Enable automatic trash & temporary file cleanup
- Disable sleep & display timeout
- Show seconds in system clock
gsettings set org.gnome.desktop.interface clock-show-seconds true
- Show week numbers in calendar
gsettings set org.gnome.desktop.calendar show-weekdate true
- Laptop Only
- Touchpad
- Enable natural scrolling
- Disable tap to click
- Disable while typing
- Show battery percentage
- Disable suspend when lid is closed
cd /etc/systemd/
sudo nano logind.conf
- Uncomment and set
HandleLidSwitch=ignore
- Touchpad
Install & Configure Software
-
Update system
sudo apt update && sudo apt upgrade -y
sudo apt autoremove -y
sudo apt autoclean
sudo reboot now
-
- Download from Pop!_Shop
- Download
.yml
from GitHub mkdir ~/.config/alacritty
mv ~/Downloads/alacritty.yml ~/.config/alacritty/alacritty.yml
-
sudo apt install zsh
chsh -s $(which zsh)
sudo apt reboot now
- Open new terminal
0
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Restart terminal
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
sudo nano ~/.zshrc
plugins=(git zsh-autosuggestions)
-
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
- Set Brave as default browser in Settings
-
- Download .deb file
- Install with Eddy
-
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch master
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
- Copy key and paste into GitHub SSH Key settings
ssh -T [email protected]
yes
-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
1
- Restart terminal
-
sudo apt install python3-pip
sudo apt install python3-venv
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- Restart terminal
nvm install v20.11.0
- Check install
node --version
npm --version
-
sudo apt install ninja-build gettext cmake unzip
git clone https://github.com/neovim/neovim
cd neovim
git checkout v0.9.5
make CMAKE_BUILD_TYPE=RelWithDebInfo
cd build
cpack -G DEB
sudo dpkg -i nvim-0.9.5-Linux.deb
-
Nerd Fonts (I use JetBrainsMono Nerd Font)
- Download
.zip
from website cd ~/Downloads
unzip JetBrainsMono.zip -d 3270
cd 3270
sudo mv -vf *.ttf /usr/local/share/fonts/
cd ..
rm -rf *
nano ~/.config/alacritty/alacritty.yml
font:
normal:
family: JetBrainsMono Nerd Font
style: Regular
bold:
family: JetBrainsMono Nerd Font
style: Bold
- Download
-
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
nvim
-
sudo apt install neofetch
-
sudo apt install gimp
-
sudo apt install ffmpeg obs-studio
-
- Download .deb file
- Install with Eddy
Finishing Touches
sudo apt update && sudo apt upgrade -y
sudo apt autoremove -y
sudo apt autoclean
sudo reboot now