Skip to content

Instantly share code, notes, and snippets.

@pathologicalhandwaving
Last active October 8, 2019 05:18
Show Gist options
  • Save pathologicalhandwaving/242819a7f50684a5e110f589024ad555 to your computer and use it in GitHub Desktop.
Save pathologicalhandwaving/242819a7f50684a5e110f589024ad555 to your computer and use it in GitHub Desktop.

Arch Install (Part II)

Start Ethernet Connection

su
dhcpcd
dhcpcd #Run again if first run failed 
ip link #check ethernet interface status
ping 8.8.8.8 #checking connection

Update Arch

pacman -Syu

Check Kernel Versions

uname -a
pacman -Q linux

REBOOT

Install Yay

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

X-server

pacman -S xorg 
pacman -S xorg-xinit 
pacman -S xorg-server-utils mesa
pacman -S xrandr
pacman -S xorg-twm xorg-xclock
pacman -S xscreensaver
pacman -S xss-lock

Lock Screen on Suspend/Hibernate

xss-lock -- /usr/bin/xscreensaver-command -lock &

Disable LID Wakeups

  sudo vim etc/tmpfiles.d/disable-lid0-wake.conf

# w /proc/acpi/wakeup - - - - LID0

Lock

xscreensaver-command --lock

Mac Specific Settings

Backlight

kbdlight max

Fix tilda and f-keys

  sudo vim /etc/modprobe.d/hid_apple.conf
# options hid_apple iso_layout=0
# options hid_apple fnmode=2

Fix Touchpad

pacman -S xf86-input-synaptics

Natural Scrolling

xinput set-button-map 12 1 2 3 5 4 7 6

Audio

Pulse Audio

pacman -S pulseaudio pulseaudio-bluetooth pulseaudio-alsa paprefs
pacman -S pasystray

Alsa Control

pacman -S alsa-utils

Install Media Codecs

pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv wavpack x264 xvidcore gstreamer0.10-plugins

Volume Applet

pacman -S pasystray

Bluetooth

pacman -S bluez bluez-utils

Start on Boot

systemctl enable bluetooth
systemctl start bluetooth

Applets

pacman -S blueman blueman-applet
blueman-applet

Networking

pacman -S broadcom-wl

Start WiFi

sudo wifi-menu

Network Manager

pacman -S networkmanager
pacman -S network-manager-applet
pacman -S networkmanager-openvpn

Start on Boot

systemctl enable NetworkManager
systemctl start NetworkManager
nm-applet --sm-disable

SSH

pacman -S openssh
systemctl enable sshd
systemctl start sshd

Enable MBP Fan Usage

yay -S mbpfan-git
systemctl enable mbpfan
systemctl start mbpfan

Enable Automated Power Management

yay -S thermald
systemctl enable thermald
systemctl start thermald

Powertop

yay -S powertop
vim /etc/systemd/system/powertop.service

#[Unit]
#Description=Powertop tunings

#[Service]
#Type=oneshot
#ExecStart=/usr/bin/powertop --auto-tune

#[Install]
#WantedBy=multi-user.target

systemctl enable powertop

Htop

yay -S htop-solarized

Graphics Utils

yay -S ghostscript
yay -S imagemagick-full

CUPS

pacman -S cups ghostscript gsfonts hplip
pacman -S libcups

Enable CUPS

systemctl enable org.cups.cupsd.service
systemctl start org.cups.cupsd.service
systemctl enable org.cups.cupsd-browsed.service
systemctl start org.cups.cupsd-browsed.service

Install Desktop Environment

sudo pacman -S lxqt

Start LXQT on Boot

systemctl enable sddm.service

Install Display Manager

sudo pacman -S sddm
yay -S archlinux-themes-sddm

Loading Display Manager

Enable systemd service unit

systemctl enable sddm.service

Set a symlink for display-manager.service in /etc/systemd/system

file /etc/systemd/system/display-manager.service

Check the status of user session

loginctl show-session $XDG_SESSION_ID

Session Configuration Read from /usr/share/xsessions/

Add desktop entry to session manager login list

[Desktop Entry]
Name=LxQT
Comment=Login using LXQT window manager without a session manager
Exec=/usr/bin/lxqt-session
Icon=lxqt.png
Type=Application

Compositor

pacman -S compton
compton -b

Install Window Manager

pacman -S exwm

Install LTS Kernel

uname -r
pacman -S linux-lts
pacman -S linux-lts-headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment