đģ Arch Linux (BTW)
Notes created before 2020. Check the Arch Wiki for up to date documentation
gpg \--keyserver pgp.mit.edu \--keyserver-options auto-key-retrieve \--verify archlinux-xxxx.xx.xx-x86_64.iso.sig archlinux-xxxx.xx.xx-x86_64.isomd5sum archlinux-xxxx.xx.xx-x86_64.iso
cp /etc/netctl/examples/wireless-wpa /etc/netctl/<essid name>vi /etc/netctl/<essid name>Change: Interface (
ip linkto find), ESSID, and Keynetctl start <essid name>
mount /dev/sd<Arch> /mntmount /dev/sd<Grub> /mnt/bootcd /mntmount -t proc proc /mnt/procmount -t sysfs sys /mnt/sysmount -o bind /dev /mnt/devmount -t devpts pts /mnt/dev/ptschroot /mnt
pac -Syu
sudov /etc/resolv.confnameserver 8.8.8.8
fdisk /dev/sdXXfdisk -l
nnew
wwrite
mkfs.ext4 -O "^has_journal" /dev/sdXXNo journal logging for USB drives (frees up read/write cycles)
mkfs.ext4 /dev/sdXX
vi /boot/grub/grub.conf- Add
nomodeset
- Add
mkdir /etc/systemd/journald.conf.dvi /etc/systemd/journald.conf.d/usbstick.conf[Journal] Storage=volatile RunTimeMaxUse=30M
pac -S libeatmydata- append “eatmydata” before calling a program
.e.g.
vi ~/.config/i3/configexec --no-startup-id eatmydata firefox
mount /dev/sXX /mnt
pacstrap /mnt base linux linux-headers linux-firmware bash man-db man-pages texinfo wireless_tools wpa_supplicant wireless-regdb sudo ntfs-3g e2fsprogs dhcpcd grub vim netctl which xorg-xinit xorg-twm xterm git fakeroot binutils make gcc network-manger network-manager-applet
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
vim /etc/pacman.d/mirrorlist
mkdir /etc/localtimeprobably needed
ls -sf /usr/share/zoneinfo/America/New_York /etc/localtimehwclock --systohc
Make Unicode work good
sudov /etc/locale.gen-- #en_US.UTF-8 UTF-8 ++ en_US.UTF-8 UTF-8locale-genvim /etc/locale.confContinue to make Unicoce work good
++ LANG=en_US.UTF-8
vim /etc/hostname++ myhostnamevim /etc/hosts++ 127.0.0.1 localhost ++ ::1 localhost ++ 127.0.1.1 myhostname.localdomain myhostname
mkinitcpio -P
passwd
grub-install \--target=i386-pc /dev/sdXgrub-mkconfig -o /boot/grub/grub.cfg
systemctl enable dhcpcdsystemctl start dhcpcdexitumount /mntreboot
pacman -S base base-devel linux linux-headers linux-firmware bash man-db man-pages texinfo wireless_tools wpa_supplicant wireless-regdb sudo ntfs-3g e2fsprogs
pacman -S archlinux-keyring networkmanager network-manager-applet gvim xorg xorg-apps xf86-video-ati ranger htop neofetch i3-gaps powerline i3lock i3status tmux plasma-meta xfce4 xfce4-goodies volumeicon pulseaudio alsa-utils pulseaudio-alsa feh okular nitrogen w3m sxiv xsel zsh git wget subversion make fakeroot sddm/lightdm lightdm-gtk-greeter firefox adapta-gtk-theme papirus-icon-theme archlinux-wallpaper xdg-user-dirs rxvt-unicode urxvt-perls mpv youtube-dl mpd ncmpcpp libsidplay xarchiver engrampa ttf-hack mlocate mutt pavucontrol cowsay fortune-mod awesome bspwm sxhkd dmenu rofi lxappearance redshift imagemagick gimp inkscape gpick espeak net-tools blueman bluez bluez-libs pulseaudio-bluetooth meson ninja vala grub gtk-engine-murrine gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly java-runtime-common java-environment-common jre-openjdk dolphin ffmpegthumbs dolphin-plugins mpd gparted konsole arandr hwinfo ttf-roboto noto-fonts accountsservice xf86-video-fbdev xf86-video-vesa xf86-video-intel (vm: virtualbox-host-modules-arch or virtualbox-guest-dkms virtualbox-guest-iso xf86-video-vmware) kde-gtk-config qemu dnsmasq
pacman -S amd-ucode intel-ucode
groupadd usbvbox, etc.useradd -m -G wheel,audio,optical,storage,video,games,power,scanner -s /bin/zsh chrispasswd chrisvi /etc/sudoers-- # %wheel ALL=(ALL) ALL ++ %wheel ALL=(ALL) ALL
systemctl enable sddm.servicesystemctl enable NetworkManager.servicereboot
git clone https://aur.archlinux.org/trizen.gitcd trizenmakepkg -sitrizen -S breeze-adapta-theme-git archlinux-themes-sddm fortune-mod-hitchhiker fbterm-git dwm-git pamac-aur pamac-tray-appindicator stardict task-spooler yank clipit yad mate-tweak simplenote-electron-bin ttf-ms-fonts gamemode cantata adwaita-dark highlight perl-json-xs
vim /etc/sudoers++ chris ALL=NOPASSWD: /sbin/restart, /sbin/poweroff
- Settings -> Desktop Behavior -> Workspace -> Click Behavior (Plasma 5.16.4 | 2019)
systemctl enable vboxservice.service
cd /etc/fonts/conf.d/sudo rm /etc/fonts/conf.d/10* && sudo rm -rf ./70-no-bitmaps.conf && sudo ln -s ../conf.avail/70-yes-bitmaps.confmkdir ~/.local/share/fonts && cd ~/.local/share/fontswget https://raw.githubusercontent.com/NerdyPepper/scientifica/master/regular/scientifica-11.bdfwget https://raw.githubusercontent.com/NerdyPepper/curie/master/regular/curieMedium-12.bdfwget https://raw.githubusercontent.com/NerdyPepper/curie/master/bold/curieBold-12.bdfwget https://raw.githubusercontent.com/NerdyPepper/curie/master/italic/curieItalic-12.bdffc-cache -f
xdg-user-dirs-update
pac -S cupsand drivers: ArchWiki: CUPS
sudo systemctl enable org.cups.cupsd.serviceManage with: http://localhost:631
I’m sure there is a perfectly good reason I did this back in 2017…
pacman -S read-edidmkdir /usr/lib/firmware/edidget-edid -m 0 > /usr/lib/firmware/edid/800x600.binAs root
vi /etc/mkinitcpio.conf++ MODULES=(radeon) ++ FILES=(/usr/lib/firmware/edid/800x600.bin)mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.imggrub-mkconfig -o /boot/grub/grub.cfgvi /etc/modprobe.d/modprobe.conf++ options drm_kms_helper poll=0
SpamDM: Very Display Manger, much TMUX, very fix the thing. You know, that one thing.
touch ~/.scripts/urxvt_fortune.txttouch ~/.xinitrcvim ~/.profile++ ~/.SpamDMsudo systemctl disable [current display manager]
echo "exec i3" > ~/.xinitrcsudoc ~/.SpamDMsudoc ~/.xinitrcsudoc -R ~/.scripts/*apti tmuxreboot
Keep Arch pkg i3lock
git clone https://github.com/shikherverma/i3lock-multimonitor.gitcp -r i3lock-multimonitor ~/.i3chmod +x ~/.i3/i3lock-multimonitor/lockswap /i3lock-multimonitor/img/background.png with your image choice
git clone https://github.com/Lixxia/i3lock.gitcd i3lockautoreconf -fimkdir -p build && cd build../configuremake && sudo make install
setcap 'cap_sys_tty_config+ep' $(command -v fbterm)usermod -aG video USERNAMELogout to take affect
umount /sdXtune2fs -O "^has_journal" /dev/sdXX
vim /etc/systemd/journald.conf.d/usbstick.conf++ [Journal] ++ Storage=volatile ++ RuntimeMaxUse=30M
vim /etc/rc.conf-- rc_logger="YES" ++ # rc_logger="YES"
vim ~/.bashrc++ export PS1="\[\e[33m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\] [\[\e[36m\]\w\[\e[m\]] [\[\e[35m\]\d\[\e[m\] \[\e[35m\]\@\[\e[m\]]\[\e[36m\]\\$\\n-> "
sudo sh -c 'echo N > /sys/module/drm_kms_helper/parameters/poll'Test
sudo sh -c 'echo "options drm_kms_helper poll=0" >> /etc/modprobe.d/local.conf'If test succeeded than make persistent with the command above
sudo update-initramfs -uvim /etc/default/grubAppen to kernel paramater
++ i8042.nomux=1grub-mkconfig -o /boot/grub/grub.cfg
example:
pacman -U https://archive.archlinux.org/packages/l/libnfs/libnfs-3.0.0-2-x86_64.pkg.tar.xzWait until affected package breaks.. then upgrade again..
or perhaps use downgrader(AUR) if you don’t want to access archive.archlinux.org
- downgrade
… follow the prompts
- downgrade
pacman -S net-tools arch-auditsudo netstat -tulpnarch-auditarch-audit --upgradable --quiet
First mentioned: https://bbs.archlinux.org/viewtopic.php?id=252888
netctl wifi guide at the top of this document..
pac -U https://archive.archlinux.org/packages/m/mesa/mesa-19.3.3-1-x86_64.pkg.tar.zstsudov /etc/pacman.conf++ IgnorePkg = mesa
git clone https://github.com/lahwaacz/arch-wiki-docsDependencies?
python-simplemediawikipython-cssselectpython-lxml
./arch-wiki-docs.py --output-directory "/dir/output_directory"LARGE file size (gigabytes)
trizen -S <package> --clone-dir=/home/$USER/tmp/Trizen_tmp
pacman -Qqen > /home/$USER/targetdir/pkglist.txtFull pkg backup! (all the packages)
pacman -Sp kde > /home/$USER/targetdir/pkglistSingle pkg backup (one package)
Download packages using pkglist.txt
wget -nv -i /home/$USER/targetdir/pkglist.txtGreat for rebuilding a system
pac -S kwallet-pamDisable: “Close when last application stops using it” in KDE Wallet settings
Does not work with fingerprint reader login
If all else fails and one just needs WiFi at login: Change KDE Wallet password to a blank password
Open with your favorie archive browser (Ark, ggrandpa, file-roller, etc.)
Distribute files (pcmanfm can be opened as admin–ex: sudo pcmanfm)
Or.. make a pkgbuild