Skip to content

Latest commit

 

History

History
131 lines (91 loc) · 3.17 KB

POST_INSTALL.md

File metadata and controls

131 lines (91 loc) · 3.17 KB

Instructions

General

Brave setup

  • Switch to dark mode
  • Add extensions
  • Change the downloads folder
    • Open Settings
    • Search for downloads
  • Set the default font (e.g. Noto family fonts)
  • Change search engine
  • Disable Leo
  • Update "home" page

GitHub ssh setup

  1. Follow the GitHub instructions
  2. Manually switch the dotfiles repo to use SSH: dot remote set-url origin [email protected]:toh995/dotfiles.git

Neovim

Clone dotfiles:

cd ~/.config
git clone [email protected]:toh995/nvim.git

Then, open neovim to bootstrap/install packages

Password manager

Clone stuff to $XDG_DATA_HOME

Spotify setup

Run spotify_setup

Gnome

To load the gnome settings config, run:

dconf load / < $XDG_CONFIG_HOME/gnome-settings/config.ini

To save the gnome settings config, run:

dconf dump / >! $XDG_CONFIG_HOME/gnome-settings/config.ini

macOS

  • May need to log in to the apple account
  • When connecting a new keyboard, remap the command and option keys at System Preferences > Keyboard > Modifier Keys...

Arch Linux

Network Setup

Use nmtui

Video Drivers

See:

Power Saving

See: https://wiki.archlinux.org/title/Power_management#Power_saving

Hibernation

Add a swapfile

Reference: https://wiki.archlinux.org/title/Swap#Swap_file

  1. Check cat /sys/power/image_size, and modify it as necessary
  2. Create a swapfile, for example for 8GB swapfile:
sudo dd if=/dev/zero of=/swapfile bs=1000000 count=8000 status=progress
sudo chmod 0600 /swapfile
sudo mkswap -U clear /swapfile
sudo swapon /swapfile
  1. Add the new swapfile to /etc/fstab, as sudo:
/swapfile none swap defaults 0 0

Initramfs and Kernel Parameters

Reference: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation

  1. Add the following hook in /etc/mkinitcpio.conf as sudo
HOOKS=(base udev autodetect keyboard modconf block filesystems resume fsck)
  1. Regenerate the initramfs: sudo mkinitcpio -P
  2. Add the kernel params. See https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation_into_swap_file
    • For systemd-boot, update kernel params can go in: /boot/loader/entries/arch.conf

Configure suspend-then-hibernate on laptop lid close (Optional)

  1. Add to /etc/systemd/sleep.conf:
HibernateDelaySec=15min
  1. Add to /etc/systemd/logind.conf:
HandleLidSwitch=suspend-then-hibernate

Legacy

Firefox setup

  1. Open up firefox, then close it
  2. Run the script arkenfox_update
  3. Enable dark mode
  4. Add extensions