My task list after intalling Ubuntu 24.04
-
stuff
-
sudo ufw enable
enables firewall -
sudo ufw allow from 192.168.0.0/16
allow incomming traffic from lan -
sudo apt update
updates repositories -
sudo apt full-upgrade
upgrades packages to latest version -
sudo apt install ubuntu-restricted-extras $(check-language-support)
installs Microsoft fonts, extra media decoders and missing translations -
sudo apt install byobu curl gdebi-core gimp git git-cola kdiff3 lnav python3-pip python3-venv shutter vim
installs dependencies and software I use -
gsettings set org.gnome.desktop.calendar show-weekdate true
enables week numbers in calendar widget - "Settings" -> "Wif-Fi" -> "Disable"
- "Settings" -> "Bluetooth" -> "Disable"
- "Settings" -> "Displays" -> "Primary display" -> "Most right screen"
- "Settings" -> "Sound" -> "Volume Levels" -> "Press speaker of System Sounds to mute it"
- "Settings" -> "Multitasking" -> "Workspaces" -> "Fixed number of workspaces" -> "1"
- "Settings" -> "Multitasking" -> "Application Switching" -> "Include applications from each monitor only"
- "Settings" -> "Appearance" -> "Style" -> "Dark"
- "Settings" -> "Ubuntu Desktop" -> "Desktop Icons" -> "Show Personal folder" -> "Disable"
- "Settings" -> "Ubuntu Desktop" -> "Dock" -> "Show on" -> "All displays"
- "Settings" -> "Ubuntu Desktop" -> "Dock" -> "Configure dock behaviour" -> "Include Unmounted Volumes" -> "Disable" && "Show Trash" -> "Disable"
- "Settings" -> "Mouse & Touchpad" -> "Mouse" -> "Mouse Acceleration" -> ""Disable"
- Cleanup Start bar
-
-
Start firefox
- Install and Logon to LastPass
- login to firefox sync
- alt -> "View" -> "Toolbars" -> "Bookmarks toolbar" -> "Always show"
- menu -> "More tools" -> "Customize toolbar...". Do cleanup, add home button next to reload.
- extensions -> Pin the ones that are used allot
-
byobu
-
byobu-enable
enables byobu as login shell -
byobu
-> ctrl+a -> "(1) Screen mode (GNU Screen's default escape sequence)" starts byobu and sets the default escape sequence - use byobu as default shell -> ctrl+alt+t -> "preferences" -> "Unamed profile" -> "command" -> "Run custom command instead of my shell" ->
/usr/bin/byobu
-
-
zsh
-
sudo apt install zsh-antigen
installs zsh-antigen -
printf "set -g default-shell /usr/bin/zsh\nset -g default-command /usr/bin/zsh" > .config/byobu/.tmux.conf
enables zsh in byobu - add the following to
~/.zshrc
enables oh my zsh with robbyrussell theme as well as some auto-complete bundles
source /usr/share/zsh-antigen/antigen.zsh antigen use oh-my-zsh antigen bundle git antigen theme robbyrussell antigen apply
- close current terminal and start a new one. zsh should now be enabled
-
-
git
- generate ssh -> add ssh github, add ssh gitlab
-
git config --global user.name "Robbert Korving"
-
git config --global user.email "[email protected]"
-
git config --global core.editor vim
-
git config --global merge.tool kdiff3
-
git config --global fetch.prune true
-
git config --global rebase.autosquash true
-
misc
-
sudo snap install discord slack dbeaver-ce spotify
-
sudo snap install code --classic
- thefuck
python3 -m venv ~/venv --prompt "~/venv"
creates a virtual environment in your homesource ~/venv/bin/activate
in~/.zshrc
activates the venv in every terminal session, type deactivate to get out of itpip install "thefuck@git+https://github.com/nvbn/thefuck" setuptools
->eval $(thefuck --alias)
in~/.zshrc
- Yubico Authenticator
sudo apt install pcscd
- extract latest and run
./desktop_integration.sh -i
- OBS Studio -> https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
- virtualbox
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmor --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg
sudo apt update
sudo apt install virtualbox-7.0
- docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker.service
sudo systemctl enable containerd.service
- install vagrant
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/vagrant.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/vagrant.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/vagrant.list
sudo apt update
sudo apt install vagrant
- nodejs
- install latest LTS
sudo -H npm install npm@latest -g
updates global npm, without writing root owned files in current user's home dir
-