Skip to main content

Final Tweaks

  •  In System Settings app:
    • Uncheck Suspend Session in Power Management, Energy Savings (I've had back luck with corrupted suspends that cause boot failure)
    •  Turn on numlock in Input Devices, Keyboard
    •  Turn on night color in Display and Monitor, Night Color

  • In right-click Display Settings, set up random slide show with preferred wallpapers

  • sudo su and then EDITOR=micro visudo  to get rid of update password timeout
    Defaults passwd_timeout=0 
  • sudo micro  /boot/loader/loader.conf  to set longer time for boot menu
  • Set up Printer.  HP is easy using HPlip.  
Set up Printer:
  • For Brother Laser printer: download linux deb package from Brother
  • yay -S dpkg
  • sudo dpkg -i --force-architecture hll2480dwpdrv-4.1.0-1.i386.deb
    Then set up in KDE add printer; manually point to ppd file at /usr/share/ppd/brother/XXXXX.ppd

    socket://192.168.4.174
  • and https://support.cc.gatech.edu/support-tools/howto/direct-ip-printing-unix 
    • yay -S brother-hll2370dw
    • Set up in KDE System Settings, Printer
      • Select AppSocket/HP JetDirect, input ip address of printer, and manually add ppd file from /opt/brother/Printers/HLL2370DW/cupswrapper/brother-HLL2370DW-cups-en.ppd
crontab:
yay -S cronie
sudo systemctl enable cronie.service && sudo systemctl start cronie.service

paccache cleaner:
yay -S pacman-contrib
sudo systemctl enable paccache.timer && sudo systemctl start paccache.timer

In cachyos-hello:  check Ananicy Cpp enabled, Bpftune enabled and Sysemd-oomd enabled

# For zen kernel 
sudo pacman -S linux-zen linux-zen-headers

copy linux.conf entry in /boot/loader/entries to linux-zen.conf and edit accordingly

sudo mkinitcpio -P

# For firewall (laptop)
yay -S firewalld ipset ebtables
sudo systemctl enable --now firewalld
sudo firewall-cmd --add-service libvirt --zone=libvirt --permanent
for config: firewall-config
 
for Topgrade to not choke on oh-my-zsh update:
put export ZSH="$HOME/.oh-my-zsh" in your .zshrc file

Comments

Popular posts from this blog

Install Windows 11 on Virt-Manager

 Virt-Manager will have been installed in base install.  But to enable it (make sure SVM, or whatever virtualization is called in your BIOS is enabled). From https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjar/ sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode ip tables libguestfs edk2-ovmf swtpm Then enable and start libritd.service sudo systemctl enable libvirtd.service sudo systemctl start libvirtd.service sudo micro /etc/libvirt/libvirtd.conf Set the UNIX domain socket group ownership to libvirt, (around line 85 ) unix_sock_group = "libvirt" Set the UNIX socket permissions for the R/W socket (around line 102 ) unix_sock_rw_perms = "0770" Add your user account to libvirt group.   sudo usermod -a -G libvirt $(whoami) newgrp libvirt Restart libvirt daemon. sudo systemctl restart libvirtd.service Section below is quoted directly from https://linustechtips.com/topic/1379063-windows-11-in-virt-mana...

Getting rtcwake working on Bluefin

#!/bin/bash # User systemd setup for auto suspend/wake on Bluefin #Please run these two commands manually: #1. First, create the sudo rule: echo "$( whoami ) ALL=(ALL) NOPASSWD: /usr/bin/rtcwake" | sudo tee /etc/sudoers.d/rtcwake-nopasswd #bash #2. Then set the correct permissions: sudo chmod 440 /etc/sudoers.d/rtcwake-nopasswd #bash #After you've run those commands, we can test if passwordless sudo works: sudo rtcwake -m show #❯ sudo rtcwake -m show #alarm: off # Create user service directory mkdir -p ~/.config/systemd/user # Create helper script for suspend + rtcwake mkdir -p ~/bin cat > ~/bin/rtc-suspend.sh << 'EOF' #!/bin/bash # Helper script to suspend and set RTC wake time # Usage: rtc-suspend.sh "wake_time_description" if [ $# -ne 1 ]; then echo "Usage: $0 'wake_time_description'" echo "Example: $0 '15:00 today'" exit 1 fi wake_time="$1" wake_timestamp=$(date -d ...

Base Install

This blog is for my notes on setting up Arch from scratch to my liking. I use KDE Plasma as my desktop and my computers have a NVIDIA GPU (my Asus laptop also has an additional integrated GPU). I am not going to cover downloading the ISO, putting it on a USB, booting from the USB or running the Archinstall installer (selecting the Plasma desktop). Get WIFI running iwctl station wlan0 connect xxxxxxx May need:  sudo mkfs -t ext4 /dev/nvme1n1 if you have btrfs on old installation When running the arch installer: 1. Don't have a /home partition added!  2. Don't forget desktop! 3. Install both linux and linux-zen kernels 4. Add additional packages:  wget git micro duf base-devel kde-applications to log in the first time it may be helpful to create /usr/lib/modprobe.d/nvidia.conf with "options nvidia_drm modeset=1 fbdev=1"   (although cachyos-settings will overwrite later) Apparmor  Add the following kernel parameters to your Boot Manager, see  Boot Manage...