In this guide you will find:
- btrfs with Zstandard compression
- LUKS-encrypted root and swapfile
- GRUB with UEFI
You will not find:
- Instructions for file systems other than btrfs
#!/usr/bin/lua5.4 | |
--[[ | |
NOTE: | |
- execp() needs 'lua-posix' package | |
- bitwise operands for tag mappings need Lua version >= 5.3 | |
--]] |
1) Install the pipewire package and this minimal set of required plugins: | |
libspa-alsa-0.3.17_1 # The alsa backend | |
libspa-audioconvert-0.3.17_1 | |
libspa-audiomixer-0.3.17_1 # For mixing multiple streams | |
(these should be eventually added as dependencies to pipewire, basic functionality doesn't work without them) | |
2) Start the pipewire server as user: | |
$ pipewire | |
This is enough to play audio with `pw-play song.wav` |
#!/bin/bash | |
# This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg | |
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) "${GNUPGHOME:-$HOME/.gnupg}/" | |
# Also correct the permissions and access rights on the directory | |
chmod 600 "${GNUPGHOME:-$HOME/.gnupg}/*" | |
chmod 700 "${GNUPGHOME:-$HOME/.gnupg}" |