Skip to content

marco-parillo/Arch-Notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch-Notes

Missed Installation Steps

  1. Make Partition Bootable
  2. Add dhcpcd
  3. Add grub
  4. Add efibootmgr
  5. Add XDG user directories

Make the text bigger.

setfont -d

Install most commonly-used packages.

pacstrap /mnt base linux linux-firmware intel-ucode vim sudo grub plasma-meta kde-applications-meta plasma-wayland-session

Do I need to set the local hostname and localhost by configuring the hosts(5) file?

vim /etc/hosts
127.0.0.1        localhost
::1              localhost
127.0.1.1        myhostname

Grub

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

After reboot, enable wired networking and SDDM

systemctl enable NetworkManager.service
systemctl enable sddm.service

Wireless (WPA/WPA2 Personal):

T410:

Device-2: Intel Centrino Advanced-N 6200 driver: iwlwifi 
IF: wlp3s0 state: up mac: 

EliteBook 8440p (Garuda and Anarchy)

Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi
IF: wlo1 state: up mac: 

EliteBook 8460p (Manjaro)

Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi 
IF: wlo1 state: up mac: 
useradd -m mparillo
passwd mparillo
EDITOR=vim visudo
usermod –aG wheel mparillo

If after updating your ArchLinux your Plasma/X11 looks YUGE add

sudo vim /etc/sddm.conf
[X11]  
ServerArguments=-nolisten tcp -dpi 96

If youtube videos do not play

sudo pacman -S pipewire-pulse

and let it replace PulseAudio. Hat Tip.

Sync System Clock

System Settings > Regional Settings > Date and Time > Set date and time automatically

REISUB

$ echo kernel.sysrq=1 | sudo tee /etc/sysctl.d/99-sysctl.conf

Spell-checking

$ sudo pacman -S hunspell-en_us

Note hunspell was already installed as a dependency.

Building AUR Packages

$ sudo pacman -S git
$ sudo pacman -S base-devel --needed

Fonts

atkinson-hyperlegible-font

Virtualization

KVM (the built-in Linux hypervisor) with libvirt via virt-manager.

Dual-Booting

If it takes another OS a while to update GRUB, install lsb-release

$ sudo pacman -S lsb-release

Edit /etc/default/grub by manually adding the line:

GRUB_DISABLE_OS_PROBER=false

ThinkPad Touch Pad

$ sudo pacman -S xorg-xinput 

ThinkPad Fan

Install from the AUR thinkfan.

$ sudo pacman -S acpi_call-dkms
$ sudo pacman -S tp_smapi

Maybe tp_smapi-dkms but tp_smapi-dkms and tp_smapi are in conflict

CPU Overheating

Install and enable Thermald?

Turn off Hibernation

Use Polkit

sudo vim /etc/polkit-1/rules.d/10-disable-suspend.rules
i
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.suspend" ||
        action.id == "org.freedesktop.login1.suspend-multiple-sessions" ||
        action.id == "org.freedesktop.login1.hibernate" ||
        action.id == "org.freedesktop.login1.hibernate-multiple-sessions")
    {
        return polkit.Result.NO;
    }
});
escape :wq

Pacman Bad GPG Keys

If updating the archlinux-keyring does not work, delete any .sig or .sig.part files for the official repos you have in /var/lib/pacman/sync/

Plasma 6

with sddm-qt6 and alpha packages from kde-unstable everything is good on arch

Printing

Try this first

$ sudo pacman -S python-pyqt5 cups hplip
$ systemctl enable cups.service
Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.
$ systemctl start cups.service
$ hp-setup -u

Full List

Optional dependencies for imagemagick
    ghostscript: PS/PDF support [installed]
    libheif: HEIF support
    libraw: DNG support [installed]
    librsvg: SVG support [installed]
    libwebp: WEBP support [installed]
    libwmf: WMF support
    libxml2: Magick Scripting Language [installed]
    ocl-icd: OpenCL support
    openexr: OpenEXR support [installed]
    openjpeg2: JPEG2000 support [installed]
    djvulibre: DJVU support [installed]
    pango: Text rendering [installed]
    imagemagick-doc: manual and API docs


Optional dependencies for cups-filters
    ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images [installed]
    foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly
    foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly [pending]
    foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly
    antiword: to convert MS Word documents
    docx2txt: to convert Microsoft OOXML text from DOCX files


Optional dependencies for hplip
    cups: for printing support
    sane: for scanner support [installed]
    xsane: sane scanner frontend
    python-pillow: for commandline scanning support
    python-reportlab: for pdf output in hp-scan
    rpcbind: for network support
    python-pyqt5: for running GUI and hp-toolbox
    libusb: for advanced usb support [installed]
    wget: for network support [installed]
    
    
$ sudo pacman -S python-pyqt5
$ sudo pacman -S cups
$ sudo pacman -S print-manager
$ sudo pacman -S system-config-printer
# was $ systemctl enable org.cups.cupsd.service
# was $ systemctl start org.cups.cupsd.service
$ systemctl enable cups.service
Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.
Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.
$ systemctl start cups.service
$ hp-setup -u

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published