-`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++ooooooooooooo/`
./ooosssso++osssssso+`
.oossssso-````/ossssss+`
-osssssso. :ssssssso.
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+
.` `/
color.sh mako always on top notification from screenshots permissions to images waybar to show workspaces with windows on it
https://archlinux.org/download/
sha256sum -b yourfile.iso
gnome-disks
# https://etcher.balena.io/#download-etcherefivar -l
setfont ter-u20bip link
iwctl
help
device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect ¨AP 81 - 5G¨
exit
ping archlinux.org| Type | Size |
|---|---|
| EFI | +2G |
| SWAP | +16G |
| ROOT |
If disk is in use, might have to reboot right after creating partition
fdisk -l
fdisk /dev/nvme0n1
m
p
l
n
t
1 19 23
...
wmkfs.fat -F32 /dev/nvme0n1p5
mkswap /dev/nvme0n1p6
mkfs.ext4 /dev/nvme0n1p7# mount -o fmask=0077,dmask=0077 --mkdir /dev/nvme0n1p1 /mnt/boot
mount /dev/nvme0n1p7 /mnt
mount --mkdir /dev/nvme0n1p5 /mnt/boot
swapon /dev/nvme0n1p6sudo pacman -Sy archlinux-keyring pacman-contribvim /etc/pacman.conf
parallel 10
uncomment colorspacstrap -K /mnt base linux linux-firmwaregenfstab -U -p /mnt > /mnt/etc/fstab
cat /mnt/etc/fstabarch-chroot /mnt
mount --mkdir /dev/nvme0n1p2 /mnt/win #(windows EFI)
mount --mkdir /dev/nvme0n1p5 /mnt/boot/efi #(Arch EFI)pacman -Sy --needed neovim archlinux-keyring pacman-contribcp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
rankmirrors -n 10 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlistvim /etc/pacman.conf
color
parallel 15
/multilibpacman -Syu
pacman -S --needed sudo amd-ucode linux-headers networkmanager git base-devel stow openssh kitty wl-clipboard
intel-ucode
iucode-tool
dhcpcd nvim /etc/locale.gen
/en_US.UTF-8locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
ln -s /usr/share/zoneinfo/America/Sao_Paulo > /etc/localtime
hwclock --systohc --utchostname = machine name
echo arch-hostname > /etc/hostname
nvim /etc/hosts
127.0.0.1 localhost
127.0.0.1 arch-pcpasswd
useradd -m -g users -G wheel,storage,power,plugdev -s /bin/bash calvo
passwd calvo
EDITOR=nvim visudo
/%wheel # just to find it
# User privilege specification
root ALL=(ALL:ALL) ALL
calvo ALL=(ALL) ALL
G
Defaults rootpwpacman -S --needed grub efibootmgr os-prober
mount --mkdir /dev/nvme0n1p2 /mnt/win #(windows EFI)
mount --mkdir /dev/nvme0n1p5 /mnt/boot/efi #(Arch EFI)
grub-install --target=x86_64-efi --efi-directory=/mnt/win --bootloader-id=GRUB
grub-install --target=x86_64-efi --efi-directory=/mnt/boot/efi --bootloader-id=GRUB
nvim /etc/default/grub
GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_SUBMENU=y
GRUB_SAVEDEFAULT=true
GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/black"
GRUB_TIMEOUT=3
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet ipv6.disable=1 pcie_aspm=off"
GRUB_DEFAULT=saved
os-prober
grub-mkconfig -o /boot/grub/grub.cfg
cat /etc/fstabsudo pacman -S nvidia-open-dkms linux-headers nvidia-utils lib32-nvidia-utils egl-wayland libglvnd lib32-libglvnd opencl-nvidia lib32-opencl-nvidia nvidia-settingsnvim /etc/modprobe.d/nvidia.conf
option nvidia_drm modeset=1nvim /etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
HOOKS(= -kms)mkdir /etc/pacman.d/hooks
nvim /etc/pacman.d/hooks/nvidia.hook
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = nvidia
[Action]
Depends = mkinitcpio
When = PostTransaction
Exec = /usr/bin/mkinitcpio -Pnvim /etc/pacman.d/hooks/grub.hook
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = Updating grub configuration ...
When = PostTransaction
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfgmkinitcpio -Psudo systemctl enable fstrim.timer |
sudo systemctl enable NetworkManager.service |
sudo systemctl enable systemd-resolved |
sudo systemctl enable paccache.timerexit (until red)
umount -R /mnt
rebootnmtui
ping archlinux.org
ip link
sudo systemctl enable NetworkManager.service
sudo systemctl start NetworkManager.servicesudo pacman -S hyprland
Hyprland
super + q
super + csudo pacman -Syu
cd apps
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -siyay -S librewolf-bin
Settings
Enable Firefox Sync
Log in
Ask to save passwords
Remove Import Bookmarks
Save downloads folder
Always ask you where to save files
Search engine
Themecd
ssh-keygen -t rsa
cd /home/calvo/.ssh
cat id_rsa.pub
xclip -sel c id_rsa.pub
librewolf
clone linux
clone scriptssh ~/code/scripts/dirs.shsudo pacman -S --needed noto-fonts-cjk noto-fonts-emoji noto-fonts gnu-free-fonts \
ttf-jetbrains-mono ttf-liberation noto-fonts-emoji vulkan-icd-loader ttf-space-mono-nerd\
otf-font-awesome lib32-vulkan-icd-loader vulkan-tools ttf-nerd-fonts-symbols-mono fuse2 \
fuse3 libxkbcommon-x11 unrar p7zip clutter clutter-gtk inkscape xorg-xcursorgen ripgrep \
playerctl lm_sensors xdg-user-dirs-gtk gnome-backgrounds sox dosfstools composer unzip \
wget less python-pip dconf pipewire pipewire-audio pipewire-alsa pipewire-pulse wireplumber \
qt5-wayland qt6-wayland xdg-desktop-portal-hyprland xcur2png fd gvfs-mtp android-udev \
tesseract tesseract-data-engvulkan-intel
lib32-vulkan-intelsudo pacman -S --needed fastfetch qbittorrent screen nodejs npm \
calibre ffmpeg trash-cli xarchiver fish jq fzf tldr bat eza zoxide mpv \
stress glmark2 neovide fail2ban ufw imagemagick yazi pavucontrol\
python-weasyprint clipcat calcurse nautilus iftop figlet gnome-disk-utility \
progress evince docker lazygit ncdu drawing speedtest-cli wev hyprpicker \
wl-clipboard imv cliphist fuzzel gimp wofi man-db man-pages mako \
hyprpaper hyprsunset hyprcursor grim slurp sddm pandoc expackrita
steam
discord
taskwarrior-tuiyay -S polychromatic wezterm qdirstat-bin youtube-music-bin ttf-juliamono \
ttf-weather-icons ttf-kanjistrokeorders cava fish-done cheat-bin librewolf-bin \
ttf-joypixels sqlitebrowser masterpdfeditor###### Android
yay -S android-sdk-build-tools android-sdk-cmdline-tools-latest android-platform android-sdk-platform-tools android-sdk android-studio
sudo usermod -aG kvm $USERtetrio
vscodium
zoom
anki
ahk_x11-bin
chatgpt-shell-cli npm install -g codewhale@0.8.66https://github.com/pewdiepie-archdaemon/odysseus
#!/usr/bin/env fish
screen -d -m fish -c '
source venv/bin/activate.fish
python setup.py
python -m uvicorn app:app --host 127.0.0.1 --port 7000
'
while not nc -z 127.0.0.1 7000
sleep 0.2
end
xdg-open http://127.0.0.1:7000 >/dev/null 2>&1 &cd ~/apps/odysseus/
chmod +x run.sh
./run.shcurl -fsSL https://ollama.com/install.sh | sh
ollama --version
sudo systemctl enable ollama.service
ollama run gemma4:12b
ollama run deepseek-r1:7b
ollama run llama3.2sudo pacman -Sy
sudo pacman -S docker nvidia-container-toolkit --needed
sudo usermod -aG docker $USER
bash
newgrp docker
systemctl enable docker.service --now
reboot
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 -e ENABLE_RAG_WEB_SEARCH=true --name open-webui --restart always ghcr.io/open-webui/open-webui:main
docker ps -a
docker stop
Settings -> Admin Settings -> Web Search
Download web search toolsudo pacman -S qemu-full libvirt dnsmasq dmidecode lxqt-policykit virt-manager --needed
sudo systemctl enable libvirtd --now
sudo systemctl enable dnsmasq.service --now
sudo usermod -aG libvirt $USER
reboot
virt-manager
virsh net-list --all
sudo virsh net-start default
virsh net-autostart default
bashcat <<EOF | virsh net-define /dev/stdin
<network>
<name>default</name>
<uuid>$(uuidgen)</uuid>
<forward mode='nat'/>
<bridge name='virbr0'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>
EOFhttps://www.microsoft.com/en-us/software-download/windows10iso
https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers
https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso- add Channel (qemu-ga)
- vCPU = 4; Copy host CPU configuraion (host-passthrough); 1, 4, 1 (4 Cores)
- Video Virtio (no 3D acceleatarion)
- mount visio drivers img
- install it from inside VM
- reboot
wmic cpu get NumberOfCores,NumberOfLogicalProcessors
sudo pacman -S python-pandas python-numpy python-scipy python-matplotlib python-beautifulsoup4 \
python-openpyxl python-requests python-pyperclip python-opencv python-debugpy python-pywal \
python-virtualenv jupyter-notebook yt-dlp python-flask python-pillow python-numba \
cython mypy --neededyay -S python-pipreqs python-pyautogui python-translatepipx ensurepath
sudo rm /usr/lib/python3.12/EXTERNALLY-MANAGED
python-pipx
python-yarg
selenium https://www.onlyoffice.com/download-desktop.aspx
https://github.com/Nixola/VRRTest/releases/cd ~/apps
git clone https://github.com/aristocratos/btop.git
cd btop
make GPU_SUPPORT=true VERBOSE=true
sudo make installstow --target="/home/calvo" --dir="/home/calvo/code/linux/dotfiles" -v --simulate .
stow --target="/home/calvo" --dir="/home/calvo/code/linux/dotfiles" -v --adopt .
sh ~/code/scripts/define-links.sh
cd ~/code/linux/dotfiles/.config/
mkdir x
mv ~/.config/x/* ~/code/linux/dotfiles/x
stow --target="/home/calvo/.config/x" --dir="/home/calvo/code/linux/dotfiles/.config/x" -v --simulate .rm Pictures Music Videos Documents Downloads Templates Public Desktop
cp ~/code/linux/files/icons/* ~/images/icons/
sudoedit /etc/xdg/user-dirs.defaults
nvim ~/.config/user-dirs.dirsdconf write /system/locale/region "'en_GB.UTF-8'" |
git config --global user.email "igorcalvob@gmail.com" |
git config --global user.name "igorcalvo" |
systemctl --user enable --now hyprpolkitagent.service |
sudo locale-gen en_US.UTF-8 |
export LANG=en_US.UTF-8 |
xdg-mime default org.gnome.Nautilus.desktop inode/directorysystemctl --user enable --now pipewire.service pipewire-pulse.service wireplumber.service
pactl infoxdg-settings set default-web-browser firefox.desktoptimedatectl set-timezone America/Sao_Paulo |
timedatectl set-ntp true |
timedatectl statusrebootsudo modprobe razerkbd
sudo gpasswd -a $USER openrazer
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo sensors-detect
sudo pacman -S bluez
sudo systemctl enable bluetooth cd ~/.local/share/nvim/mason/
img ~/code/linux/mason.png
:MasonUpdate
cd ~/.local/share/nvim/lazy/markdown-preview.nvim
npm ifish_update_completions
mkdir ~/.config/fish/completions/
cp /usr/share/fish/completions/* ~/.config/fish/completions/
cp ~/.cache/fish/generated_completions/* ~/.config/fish/completions/
mv ~/.config/fish/completions/convert.fish ~/.config/fish/completions/magick.fish
sed -i 's/convert/magick/g' ~/.config/fish/completions/magick.fish
cat ~/.config/fish/completions/magick.fish | head -n 10pacman -Qq | grep '^haskell' | tr '\n' ' '
sudoedit /etc/pacman.conf
/ignore
IgnorePkg = haskell-aeson haskell-aeson-pretty haskell-ansi-terminal haskell-ansi-terminal-types haskell-ansi-wl-pprint haskell-appar haskell-asn1-encoding haskell-asn1-parse haskell-asn1-types haskell-assoc haskell-async haskell-attoparsec haskell-attoparsec-aeson haskell-attoparsec-iso8601 haskell-auto-update haskell-base-compat haskell-base-compat-batteries haskell-base-orphans haskell-base-unicode-symbols haskell-base16-bytestring haskell-base64-bytestring haskell-basement haskell-bifunctors
IgnorePkg = haskell-bitvec haskell-blaze-builder haskell-blaze-html haskell-blaze-markup haskell-boring haskell-bsb-http-chunked haskell-byteorder haskell-call-stack haskell-case-insensitive haskell-cassava haskell-cereal haskell-citeproc haskell-cmdargs haskell-colour haskell-commonmark haskell-commonmark-extensions haskell-commonmark-pandoc haskell-comonad haskell-conduit haskell-conduit-extra haskell-constraints haskell-contravariant haskell-cookie haskell-crypton haskell-crypton-connection
IgnorePkg = haskell-crypton-x509 haskell-crypton-x509-store haskell-crypton-x509-system haskell-crypton-x509-validation haskell-data-default haskell-data-default-class haskell-data-default-instances-containers haskell-data-default-instances-dlist haskell-data-default-instances-old-locale haskell-data-fix haskell-dec haskell-digest haskell-distributive haskell-djot haskell-dlist haskell-doclayout haskell-doctemplates haskell-easy-file haskell-emojis haskell-erf haskell-fast-logger haskell-file-embed
IgnorePkg = haskell-foldable1-classes-compat haskell-generically haskell-glob haskell-gridtables haskell-haddock-library haskell-hashable haskell-hourglass haskell-hslua haskell-hslua-aeson haskell-hslua-classes haskell-hslua-core haskell-hslua-list haskell-hslua-marshalling haskell-hslua-module-doclayout haskell-hslua-module-path haskell-hslua-module-system haskell-hslua-module-text haskell-hslua-module-version haskell-hslua-module-zip haskell-hslua-objectorientation haskell-hslua-packaging haskell-hslua-repl
IgnorePkg = haskell-hslua-typing haskell-http-api-data haskell-http-client haskell-http-client-tls haskell-http-date haskell-http-media haskell-http-types haskell-http2 haskell-hunit haskell-indexed-traversable haskell-indexed-traversable-instances haskell-integer-logarithms haskell-iproute haskell-ipynb haskell-isocline haskell-jira-wiki-markup haskell-juicypixels haskell-lexer haskell-libyaml haskell-lpeg haskell-lua haskell-memory haskell-mime-types haskell-mmorph haskell-monad-control
IgnorePkg = haskell-mono-traversable haskell-network haskell-network-byte-order haskell-network-uri haskell-old-locale haskell-old-time haskell-onetuple haskell-only haskell-optparse-applicative haskell-ordered-containers haskell-os-string haskell-pandoc haskell-pandoc-lua-engine haskell-pandoc-lua-marshal haskell-pandoc-server haskell-pandoc-types haskell-pem haskell-pretty-show haskell-prettyprinter haskell-primitive haskell-psqueues haskell-quickcheck haskell-random haskell-recv haskell-regex-base
IgnorePkg = haskell-regex-tdfa haskell-resourcet haskell-safe haskell-safe-exceptions haskell-scientific haskell-semialign haskell-semigroupoids haskell-servant haskell-servant-server haskell-sha haskell-simple-sendfile haskell-singleton-bool haskell-skylighting haskell-skylighting-core haskell-skylighting-format-ansi haskell-skylighting-format-blaze-html haskell-skylighting-format-context haskell-skylighting-format-latex haskell-socks haskell-some haskell-sop-core haskell-split haskell-splitmix
IgnorePkg = haskell-statevar haskell-streaming-commons haskell-strict haskell-syb haskell-tagged haskell-tagsoup haskell-tasty haskell-temporary haskell-texmath haskell-text-conversions haskell-text-icu haskell-text-short haskell-th-abstraction haskell-th-compat haskell-th-lift haskell-th-lift-instances haskell-these haskell-time-compat haskell-time-manager haskell-tls haskell-toml-parser haskell-transformers-base haskell-transformers-compat haskell-type-equality haskell-typed-process haskell-typst
IgnorePkg = haskell-typst-symbols haskell-unicode-collation haskell-unicode-data haskell-unicode-transforms haskell-uniplate haskell-unix-compat haskell-unix-time haskell-unliftio haskell-unliftio-core haskell-unordered-containers haskell-utf8-string haskell-uuid-types haskell-vault haskell-vector haskell-vector-algorithms haskell-vector-stream haskell-wai haskell-wai-app-static haskell-wai-cors haskell-wai-extra haskell-wai-logger haskell-warp haskell-witherable haskell-word8 haskell-xml
IgnorePkg = haskell-xml-conduit haskell-xml-types haskell-yaml haskell-zip-archive haskell-zlibstart krita
cp ~/code/linux/files/krita-workspace.kws ~/.local/share/krita/workspaces/
cp ~/code/linux/files/icons/* ~/images/icons/
MEGARazer
500 Dpi
Qbittorrent
Downloads
destination at ~/downloads/
disable popup
Behavior
confirm when deleting torrents false
Steam
Login
In Game
FPS Counter Top Right
High Contrat True
Notifications
Disable friend join game
Compatibility
Enable Steam Play for all other titles
Proton 9.0-2
cs2 launch options
-fullscreen -sdlaudiodriver pipewire
Discord
Login
Voice & Video Defaults
Keybindings
Toggle Mute
Push to Mute
Youtube Music
Login
LibreWolf
Download directory
Remove
Import bookmarks
Icons and Logins
Theme Catpuccin Teal
Search -> Brave
Extensions
Blocksite
chess.com
lichess.org
p
Unhook
Recommended
Youtube Enhancer
Dark theme
Place Controls Within the Player
1080
Momentum
New tab -> Name
Krita
Load workspace -> Last
Themes -> Krita Darker
Pavucontrol
Configuration
Disable what's necessary
Input Devices
150%
sudo ufw limit 22/tcp |
sudo ufw allow 80/tcp |
sudo ufw allow 443/tcp |
sudo ufw allow from 88.99.58.246 |
sudo ufw default deny incoming |
sudo ufw enable# https://www.networkworld.com/article/968526/linux-firewall-basics-with-ufw.html
iftop
anki
ping sync3.ankiweb.net
allow fromsudoedit /etc/fail2ban/jail.local
[DEFAULT]
ignoreip = 127.0.0.1/8 ::1
bantime = 3600
findtime = 600
maxretry = 5
[sshd]
enabled = truesudo systemctl enable fail2ban
sudo systemctl start fail2bansudo pacman -S linux-zen-headers linux-zen
# nvidia-ltshttps://github.com/Keyitdev/sddm-astronaut-theme/tree/master?tab=readme-ov-file
sudoedit /usr/share/sddm/themes/sddm-astronaut-theme/metadata.desktop
sudoedit /usr/share/sddm/scripts/Xsetup
xrandr --output HDMI-A-1 --mode 1920x1080@240 --pos 0x0 \
--output DP-1 --mode 1920x1080@240 --pos 1920x0Volantes Cursors Light https://github.com/varlesh/volantes-cursors https://www.gnome-look.org/p/1356095
cd apps
git clone git@github.com:varlesh/volantes-cursors.git
cd volantes-cursors
# Hyprland
sudo mkdir hypr
hyprcursor-util --extract volantes_light_cursors -o hypr
cd hypr
sudo nvim manigest.hl
name = VolantesLightHypr
description = Volantes Light Hyprcursor
:wq
sudo mkdir result
hyprcursor-util --create hypr -o result
sudo mv result ../VolantesLightHypr
# /usr/share/icons/VolantesLightHypr- Get it
- Hyprpaper
hyprctl monitors
preload = /home/calvo/images/wallpapers/2025-06/l.png
preload = /home/calvo/images/wallpapers/2025-06/r.png
wallpaper = HDMI-A-1, /home/calvo/images/wallpapers/2025-06/l.png
wallpaper = DP-1, /home/calvo/images/wallpapers/2025-06/r.pngedit ~/colors.sh
python ~/code/rice/load_colors.py
python ~/code/rice/offset_colors.py ~/.config/rofi/rounded-pink-dark.rasi 0.5
nvim ~/code/rice/wallpaper.shstowcp ~/code/linux/files/games/shipofharkinian.json ~/apps/appimages/soh/