Skip to content

Instantly share code, notes, and snippets.

@airbreather
Last active March 10, 2024 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save airbreather/a5d29e4e2b2b87e56232b8fc79f1db35 to your computer and use it in GitHub Desktop.
Save airbreather/a5d29e4e2b2b87e56232b8fc79f1db35 to your computer and use it in GitHub Desktop.
Reminder of things to set up after installing a new Arch-like
assumes a basic desktop environment has been configured.
------------------------------------------------
if there's an applicable backup of my /home, restore:
this file
.zsh_history
.zshrc WITH A RENAME
.gitconfig
.emacs BUT DOUBLE-CHECK NO LOCAL PACKAGE CRAP IS HARDCODED
.gnupg
.ssh
.oh-my-zsh/custom
Audio
cert I THINK
Documents
Downloads
Games
Music
Pictures
Videos
secret-discord-config.json PROBABLY
from .config:
htop
libreoffice
mpv
picmi
from Desktop:
CHECK MANUALLY
from src:
ANYTHING NOT ON VCS (probably nothing)
------------------------------------------------
install zsh
add oh-my-zsh
install terminator
install emacs-nox
(setq make-backup-files nil)
install bat
install meld (probably)
deal with .zshrc now
if not copying, important bits are:
ZSH_THEME="strug"
HYPHEN_INSENSITIVE="true"
COMPLETION_WAITING_DOTS="true"
# things I've moved to .oh-my-zsh/custom:
export EDITOR=/usr/bin/emacs
export DIFFPROG=/usr/bin/meld
export ZSTD_CLEVEL=9
export ZSTD_NBTHREADS=24
setopt appendhistory
setopt INC_APPEND_HISTORY
install ccache
edit makepkg.conf
CFLAGS: -march=native
CFLAGS: -fomit-frame-pointer
MAKEFLAGS: -j24
RUSTFLAGS: -C target-cpu=native
BUILDFLAGS: ccache
OPTIONS: lto
COMPRESSXZ: --threads=24
COMPRESSZST: --threads=24
install paru
install reflector
EndeavourOS's Welcome app supersedes this
20 latest, country USA, only HTTPS, sort by rate
install authy and:
have your phone handy.
run it once to get it all situated.
install + finish configuring firefox
install android messages
set up /nas automount
options are: rw,uid=1000,gid=1000,username=joe,auto,vers=3.0,credentials=/home/joe/.smbcredentials,x-systemd.automount,_netdev
in .smbcredentials:
username=joe
password=nope
check out the CUPS page on ArchWiki for installing the printer
at the time of writing, Connection Interfaces > Network has important links
sudo -E visudo
uncomment the "Defaults env_keep" line for LANG.
if you're actively being targeted by the Mossad:
why are you here?
else:
uncomment the "Defaults env_keep" line for HOME.
uncomment the "Defaults env_keep" line for XDG_SESSION_COOKIE.
Defaults env_keep += "EDITOR"
Defaults passwd_timeout=0
uncomment the line for %wheel
if you need me to say it's the one without NOPASSWD:
delete this file. relearn it all. this is a memory aid, not a thinking substitute.
double-check Ctrl-Shift-U... you probably need to do something from https://wiki.archlinux.org/title/IBus if it's not working.
------------------------------------------------
specific to EndeavourOS (maybe others):
FirewallD is preinstalled... I don't mind this, but it does need configuration:
wired connection should be "home" zone
"home" zone should permit kdeconnect (don't forget Configuration: Permanent)
------------------------------------------------
specific to KDE Plasma:
Appearance > global theme, dark
Workspace > Workspace Behavior > General Behavior > clicking files or folders SELECTS them
Workspace > Workspace Behavior > Screen Edges > disable crap
Workspace > Workspace Behavior > Screen Locking > pay attention to this page in particular, is all
Workspace > Window Management > Task Switcher > Main + Alternative > Content > Sort order should be "Recently used" (why is this not the default)
Workspace > Shortcuts > Terminator should be Ctrl+Alt+T
Workspace > Startup and Shutdown > Desktop Session > When logging in: Start with an empty session
Personalization > Applications > File Associations > (probably just cry at how much you lost and will have to regain, because this is a nightmare)
Personalization > Applications > Default Applications > pay attention to this page in particular, is all
Hardware > Input Devices > Keyboard > Hardware > Delay: 200 ms
Hardware > Input Devices > Keyboard > Advanced > Position of Compose key > Scroll Lock
Hardware > Power Management > Energy Saving > pay attention to this page in particular, is all
Hardware > Printers > find it
Right-click Application Launcher > Configure Application Launcher... > Keyboard Shortcuts > Meta+F1 (in KDE Plasma 5.25 at least, this is enough to make bare "Meta" key work)
`/etc/environment` needs `KWIN_WAYLAND_NO_PERMISSION_CHECKS=1` until I can figure out how to do this properly.
------------------------------------------------
you should be able to take care of the rest from here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment