Home Machine setup
Machine setup
Cancel

Machine setup

Safety first!

Lets make sure the ubuntu firewall ufw is enable and lets block everything

1
2
3
sudo ufw enable
sudo ufw default deny incoming
sudo ufw default allow outgoing

This script makes sure ufw is enabled and the default rules are applied, deny incoming, and allow outgoing.

Tools

After installing Ubuntu the first time need to be done is opening a terminal and enter the update en upgrade command:

Update & Upgrade

1
sudo apt update && sudo apt upgrade -y

Flatpak

1
2
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Setting up git

Git is not comming from the general apt repository

1
2
3
4
5
6
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git

git config --global user.name "Rick Neeft"
git config --global user.email "rick.neeft@outlook.com"

General Applications

1
sudo apt install gnome-shell-extension-manager gnome-tweaks nano dotnet-sdk-10.0
1
sudo snap install bruno cups discord kolourpaint pdfarranger spotify steam vivaldi
1
sudo snap install rider datagrip clion --classic
1
flatpak install flathub org.gnome.Boxes

VSCode

Proton Authenticator

Docker engine

Installing Godot with icon + App Menu

Download Godot and place it in the correct folder. For me that is in my home folder/apps.

Make the file executable.

1
chmod +x GODOT_APPLICATION_HERE
1
nano ~/.local/share/applications/godot.desktop

Add the following content

1
2
3
4
5
6
7
8
9
10
[Desktop Entry]
Version=1.0
Type=Application
Name=Godot Engine
Comment=Game Engine
Exec=/home/YOUR_USERNAME/apps/GODOT_APPLICATION_HERE
Icon=/home/YOUR_USERNAME/apps/godot.png
Terminal=false
Categories=Development;IDE;
StartupNotify=true

Make the file executable

1
sudo chmod +x ~/.local/share/applications/godot.desktop

You can now check whether Godot is available in the applications menu. If not you can check the following commands:

1
2
desktop-file-validate ~/.local/share/applications/godot.desktop
update-desktop-database ~/.local/share/applications

Oh my posh

Follow the instructions on the OhMyPos site

1
sudo apt install curl unzip realpath dirname
1
curl -s https://ohmyposh.dev/install.sh | bash -s
1
oh-my-posh font install meslo

Grub changes

1
sudo nano /etc/default/grub

Locate the GRUB_CMDLINE_LINUX_DEFAULT and change the line to GRUB_CMDLINE_LINUX_DEFAULT="" Save and then:

1
sudo update-grub