Commands that I would be use in the future
Updated in 4Â weeks ago.
Everytime I distrohopping, there's always some notes I would leave and simply gone because I don't backup that file. So, it would be great if I turn that into slash page.
Windows
Fix wifi
netsh int ip reset
netsh winsock reset
ipconfig /flushdns
# Check the wifi interface
netsh wlan show interfaces
Any linux distros
Sober (+max fps)
flatpak install flathub org.vinegarhq.Sober
sudo nano ~/.var/app/org.vinegarhq.Sober/config/sober/config.json
"fflags": {
"DFIntTaskSchedulerTargetFps": "999",
"FFlagExample": true,
"FIntTargetRefreshRate": "1000"
},
Arch Linux
It is always recommended to run sudo pacman -Syu before doing these commands.
All commands already tested in my PC > Arch Linux x86_64 with kernel Linux 6.12.62-1-lts
Install yay
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
Install flatpak to install Flathub apps
sudo pacman -S flatpak
Install extra fonts
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra
yay -S ttf-ms-fonts ttf-vista-fonts
fc-cache -fv
HP printer drivers
sudo pacman -S python-pyqt5 dbus python-pillow python-reportlab cups hplip
sudo systemctl enable --now cups
hp-setup
hp-info -i
Librewolf
yay -S librewolf-bin
# Check "Enable Firefox sync"
# Uncheck "Enable ResistFingerprinting"
Libreoffice
sudo pacman -S libreoffice-still
# Use libreoffice-fresh to the latest features
Install wine
sudo pacman -S wine wine-mono wine-gecko
wine --version
wine winecfg
Install qemu
lsmod | grep kvm
# If "kvm" doesn't appears, you should enable hardware virtualization in your BIOS settings.
sudo pacman -S qemu-full qemu-img libvirt virt-install virt-manager virt-viewer edk2-ovmf swtpm guestfs-tools libosinfo tuned dnsmasq bridge-utils
sudo systemctl enable --now libvirtd.service
sudo systemctl enable --now tuned.service
sudo tuned-adm profile virtual-host
sudo virsh net-list --all
sudo virsh net-start default
sudo virsh net-autostart default
sudo usermod -aG libvirt $(whoami)
Use Niri wip branch (for blur)
git clone https://github.com/niri-wm/niri.git
cd niri
git checkout wip/branch
cargo build --release
sudo cp ~/niri/target/release/niri /usr/local/bin/niri
niri msg version
# Both Compositor and CLI version should be the same, e.g.
# Compositor version: 25.11 (v25.11-135-g5393902d)
# CLI version: 25.11 (v25.11-135-g5393902d)
# If it's not the same, do reload (Mod+Shift+E), and maybe this:
systemctl --user edit niri.service --force
# Write this:
# [Service]
# ExecStart=
# ExecStart=/usr/local/bin/niri --session