General guidelines and philosophy

I’ll try to keep this as simple as possible to increase maintainability and troubleshooting, and minimize unexpected behavior.

Also, if I can keep something in the user space using Flatpaks without affecting usability and security, I’ll prefer that to reduce system clutter and have newer versions.

Devices

PC Master Race

  • OS: Ubuntu 24.04 LTS
  • CPU: AMD Ryzen 5 3600
  • GPU: AMD Radeon RX 6800 16 GB
  • RAM: 32 GB (4 x Geil Super Luce 8 GB DDR4 3200MHz)
  • NVMe: 1 TB (2 x Adata XPG Spectrix S40G 512 GB)
  • Motherboard: ASUS TUF Gaming X570-PRO (Wi-Fi)
  • Mouse: Logitech G305
  • Keyboard: HyperX Alloy Origins Core (with Razer Pink PBT keycaps)
  • Headphones: Audio-Technica ATH-M50x (with a FiiO BTA10) and Sony Inzone H9

Raspberry Pi 4 Model B

Apple MacBook Air M1 2020

Samsung Galaxy S22 Ultra

BIOS config

  • Restore defaults
  • Set RAM to 3200MHz
  • Enable Resizable Bar
  • Enable virtualization
  • Enable Secure Boot
  • Disable CSM
  • Customize fans speed to maximize silence

Linux stuff

Ubuntu 24.04 LTS

  • Remove Snaps:
snap list
sudo snap remove --purge snap-store
sudo snap remove --purge *enter every package*
  • Install Nala:
sudo apt install nala
  • Install apps:
sudo nala install 7zip 7zip-rar 7zip-standalone alacritty android-sdk-platform-tools aria2 build-essential corectrl curl dconf-editor deborphan easyeffects file-roller flatpak gdebi git gnome-boxes gnome-browser-connector gnome-calendar gnome-disk-utility gnome-mines gnome-multi-writer gnome-shell-extension-manager gnome-shell-ubuntu-extensions gnome-software gnome-software-plugin-flatpak gnome-sushi gnome-tweaks gnome-weather gparted gufw htop libfuse2t64 libreoffice lm-sensors lutris mpv neofetch neovim net-tools protontricks qbittorrent shotwell simple-scan stacer steam-installer synaptic tmux tor torbrowser-launcher torsocks tree ubuntu-restricted-extras unzip util-linux virt-manager vlc wget yt-dlp zsh
  • Enable Flathub:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Flatpaks

flatpak install flathub com.calibre_ebook.calibre com.github.k4zmu2a.spacecadetpinball com.heroicgameslauncher.hgl com.obsproject.Studio com.stremio.Stremio com.usebottles.bottles net.davidotek.pupgui2 net.pcsx2.PCSX2 org.atheme.audacious org.audacityteam.Audacity org.duckstation.DuckStation org.gimp.GIMP org.kde.kdenlive org.scummvm.ScummVM org.signal.Signal org.telegram.desktop

Speedy encryption on NVMe Devices

sudo nvim /etc/crypttab
  • Add these flags:
discard,no-read-workqueue,no-write-workqueue
sudo dmsetup table

sudo cryptsetup --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue --persistent refresh luks-blablabla

XanMod Kernel

https://xanmod.org/

Liquorix Kernel

https://liquorix.net/

Steam tweaks

  • Enable Steam Play in Steam settings
  • Set launch options (per game) to:
gamemoderun %command%

CS2

  • Launch options:
-vulkan -novid -fullscreen

Sonic Adventure

https://gamebanana.com/tuts/16934

GTA IV

https://github.com/ThirteenAG/GTAIV.EFLC.FusionFix

  • Launch options:
WINEDLLOVERRIDES="dinput8=n,b" %command%

Git

git config --global color.ui true

git config --global user.name "astrovm"

git config --global user.email "[email protected]"

ssh-keygen -t ed25519 -C "[email protected]"

cat ~/.ssh/id_ed25519.pub
git config --global user.signingkey CC39C6D77BDF0053

git config --global commit.gpgsign true

GNOME extensions

Non Ubuntu:

NetworkManager randomize

sudo nvim /etc/NetworkManager/conf.d/99-randomize-mac-address.conf
[device-mac-randomization]
wifi.scan-rand-mac-address=yes

[connection-mac-randomization]
ethernet.cloned-mac-address=random
wifi.cloned-mac-address=random
sudo systemctl restart NetworkManager

Brave/Chromium extensions