Misc tips
Setting up screenlock¶
FDE protects our data when powered off and secure boot gives us some degree of confidence that the files in our unencrypted boot partition have not been tampered with. Given that we've configured these two, it would be ironic if our device gets hacked owing to the lack of a simple screenlock
/etc/X11/xorg.conf.d/screenlock.conf
Section "ServerFlags"
Option "DontVTSwitch" "True"
Option "DontZap" "True"
EndSection
Always execute slock if you're leaving your computer powered on.
TODOs:¶
- make console loadkeys automatic
(XIII) Setting my archlinux desktop¶
- suckless software
- dunst
- xmodmap
- ranger
- ffmpegthumbnailer
- mkdocs-material
- picom
- wpa_supplicant
- sxiv
- mpv
- xpdf
- qxmledit
- xbindkeys.
Tips¶
makepkg and PKGBUILD¶
Set default apps¶
Skip annoying gpg checks¶
Steps to add a custom repository in archlinux¶
Create the repository root in /home owned by the current user¶
Create a signed repository database¶
- Note that the name I specified in pacman.conf was
custom-testing
. - The database file pacman expects in the root directory is
custom-testing.db
. - When adding the database through
repo-add -s
, I specifiy the samecustom-testing.db
but in compressed formcustom-testing.db.tar.gz
.
Edit /etc/pacman.conf to add a new entry for our repository¶
# sudo vim /etc/pacman.conf