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
# https://www.svgrepo.com/svg/21377/cogwheel-outline | |
experimental :menu_main_15505_icon :/mnt/onboard/.adds/cogwheel.svg | |
experimental :menu_main_15505_icon_active :/mnt/onboard/.adds/cogwheel.svg | |
menu_item :main :KOReader :cmd_spawn :quiet:exec /mnt/onboard/.adds/koreader/koreader.sh | |
menu_item :main :Plato :cmd_spawn :quiet:exec /mnt/onboard/.adds/plato/plato.sh | |
menu_item :main :Browser :nickel_browser : | |
menu_item :main :Browser (popup) :nickel_browser :modal | |
menu_item :main :Rescan books :nickel_misc :rescan_books_full | |
menu_item :main :USB Connect :nickel_misc :force_usb_connection |
#!/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}" |