- acquire Arch ISO file
- verify checksums
- copy image onto a USB stick (e.g, using Ventoy)
- obtain Ventoy from AUR
ventoy /dev/sdb(paste here your USB drive)mount /dev/sdb1 /mntcp image.iso /mnt
- load Arch (e.g, via UEFI boot manager)
- aperitif
rmmod pcspkrsetfont ter-132n
- disk layout
fdisk /dev/sda,g (GUID),n (new partition),w (write)mkfs.fat -F 32 /dev/sda1,mkfs.ext4 /dev/sda2,mount /dev/sda2 /mntmount -m /dev/sda1 /mnt/boot
- installing packages
iwctl- mirrors setup
reflector --latest 5 --sort rate --country "" --save /etc/pacman.d/mirrorlist
pacstrap -i /mnt linux linux-firmware-intel base base-devel grub efibootmgr networkmanager nvim fish git
- before chroot
genfstab -U /mnt > /mnt/etc/fstabcp {,/mnt}/usr/share/kbd/consolefonts/ter-132n.psf.gzecho blacklist pcspkr > /mnt/etc/modprobe.d/nobeep.confarch-chroot /mnt
- user birth
useradd -mG wheel -s $(which fish) ""passwd "",passwdEDITOR=nvim visudo
- grub
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/bootgrub-mkconfig -o /boot/grub/grub.cfg
- digestif
- exit from chroot
umount -R /mntshutdown now
systemctl enable --now NetworkManager,nmcli device wifi connect <> --asktimedatectl set-timezonegit clone https://github.com/elintendo/arch.git./zeze.sh- install paru-bin
paru google-chrome- setting up repo properly
pacman -S openssh github-clissh-keygen -t ed25519 -C ""gh auth logingit remote set-url origin git@github.com:elintendo/arch.gitgh ssh-key list/delete <old key>
- chrome
RU Adlist: Counters
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/asset-viewer.html?url=https%3A%2F%2Feasylist-downloads.adblockplus.org%2Fcntblock.txt&title=RU%20AdList%3A%20Counters&subscribe=1 - skip username prompt on login (still requires password)
sudo systemctl edit getty@tty1- add:
[Service] ExecStart= ExecStart=-/sbin/agetty -o '-p -f me' --noclear --skip-login --login-options me %I $TERM
- cursor setup
- breezex
mkdir ~/.local/share/icons/defaultln -sf /usr/share/icons/BreezeX-Black/cursors ~/.local/share/icons/defaultln -sf /usr/share/icons/BreezeX-Black/index.theme ~/.local/share/icons/default
- libinput-gestures
sudo gpasswd -a $USER inputrebootsudo pacman -S wmctrl xdotool- libinput-gestures
libinput-gestures-setup startlibinput-gestures-setup autostart
- bios/gpt setup: fdisk, partition 1 (+1M) is of type Bios (t to change partition type), do not create file system, do not mount. then, chroot and
grub-install --target=i386-pc /dev/sda, make config - fix pgp:
pacman-key --init,pacman-key --populate - after installing pipewire:
systemctl --user --now enable pipewire pipewire-pulse - audio switching with wpctl/pactl
- view devices:
wpctl status - if
wpctl set-default <id>doesn't work, change card profile first:pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic "HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker)"- then:
wpctl set-default <speaker-id>(laptop speakers)
- view devices:
- add ssh key to server
- `ssh-copy-id -i ~/.ssh/key.pub user@ip
ssh user@ip
- gpg
gpg --recv-key <key in makepkg>- gpg problems?
pacman-key -p
- cure sudo:
systemctl start systemd-homed dd if=/dev/zero of=/dev/sda bs=1k count=1024,mkfs.ext4 /dev/sda- connect peap using nmcli
- operation not possible due to RF-kill:
rfkill unblock wifi watch free -mgives info on memorypacman -S noto-fonts-cjkfor chinese characterspacman -S noto-fontsif any problems with fonts- toolkit.legacy for firefox's css
- install gnome-keyring for VScode copilot
timedatectl set-local-rtc 1 --adjust-system-clockto fix time shift (windows, linux dual boot)- org.bluez.Error.Failed br-connection-unknown?
git remote set-url origin git@github.com:elintendo/arch.git- feh, open window for ricing:
feh -x. /img - picom
- only
picom &in wm config xprop | grep "CLASS"
- only
pacman -S wireguard-tools openresolv,wg-quick up wg0pacman -S docker docker-compose,systemctl start docker,usermod -aG docker ""- install lutris with xdg-desktop-portal-wlr, no need for any other xdg-desktop-portal on x11
hostnamectlto find out laptop's nameset -Ux foo barfor fish global vars- telegram-desktop file picker workaround: set global var QT_QPA_PLATFORMTHEME=gtk3, run
telegram-desktopGTK_THEME=.. telegram-desktop git remote set-url originto change to ssh- cannot connect to peap? read this article
- install nvm
- install fisher
fisher install jorgebucaran/nvm.fish
- proper autorandr configuration:
autorandr --save laptopautorandr --default laptopautorandr --save docked- now plugging and unplugging HDMI will automatically choose the correct setup