CachyOS install with Hyprland, ML4W


CachyOS Download and place on USB

https://cachyos.org/download/

direct link:

https://cdn77.cachyos.org/ISO/desktop/251209/cachyos-desktop-linux-251209.iso


On Windows...

https://rufus.ie/downloads/

https://etcher.balena.io/


On Linux find drive name...

# The USB drive could be identified e.g: /dev/sda, by disk model and size.

sudo fdisk -l


On MacOS find drive name...

# USB drives are identified as "/dev/diskY" where "Y" could be 0,1 etc.

diskutil list


Format the drive with the right .iso and drive name

sudo dd bs=4M if=full_iso_name.iso of=/dev/<usbdrive> status=progress oflag=sync


Bios and boot order

Reboot, pressing Delete or F10 or F2 or F3 to get to bios

Disable secure boot

If you need secure boot for some reason (gpu drivers?)...

https://wiki.cachyos.org/configuration/secure_boot_setup/

change usb drive to boot first (boot order)


Boot cachyOS USB

Logon to wifi/hook up ethernet

Install with GUI installer, if not manually partitioning and install fails, reboot the cachyOS USB so it unmounts properly before trying again. 


Install with GRUB bootloader option


pick Hyprland as window manager, install CUPS printer drivers as well


Post cachy install

mod(windows key) + Q

sudo pacman -Syu

sudo micro /etc/conf.d/wireless-regdom

*Uncomment your region and save with Ctrl+s Ctrl+q*


sudo pacman -S appmenu-gtk-module libdbusmenu-glib


*Optional for faster boot*

sudo micro /etc/default/grub

GRUB_TIMEOUT='0'

GRUB_TIMEOUT_STYLE=hidden

sudo grub-mkconfig -o /boot/grub/grub.cfg




sudo pacman -S cachyos-gaming-meta flatpak


ML4W Install

firefox & disown

flatpak install flathub com.ml4w.dotfilesinstaller

flatpak run com.ml4w.dotfilesinstaller

 *Copy this in as installation target*

https://raw.githubusercontent.com/mylinuxforwork/dotfiles/main/hyprland-dotfiles.dotinst

And the rest.

sudo nvim /etc/pacman.d/mirrorlist

sudo nvim /etc/pacman.conf


yay package manager

sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si


Other apps

yay -S neomutt waybar syncthing google-chrome emacs yazi zoxide fzf signal-desktop


Neomutt email setup w/gmail

Substitute XXXXX for user and email


yay -S isync msmtp pass ca-certificates gettext goimapnotify pam-gnupg notmuch


yay -S neomutt lynx abook urlview cronie

git clone https://github.com/LukeSmithxyz/mutt-wizard;

cd mutt-wizard;

sudo make install

mw -a XXXXX@gmail.com

pass init XXXXX@gmail.com

gpg --full-generate-key

mw -a XXXXX@gmail.com

mbsync -a

mw -t 5

neomutt

yay -S zathura zathura-pdf-poppler

neomutt


AI deepseek window script contents

$(cat ~/.config/ml4w/settings/browser.sh) --new-window https://chat.deepseek.com/

Replace Caps Lock with ctrl

nvim /home/XXXXX/.config/hypr/conf/keyboard.conf

 -> kb_options = ctrl:nocaps