# /etc/modprobe.d/blacklist.conf
blacklist radeon # nvidia, i915, depends on hardware specs
blacklist iTCO_wdt # who wants watchdog on desktop tbh? (except shutdown might not work properly xD)
blacklist iTCO_vendor_support # watchdog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua5.4 | |
--[[ | |
NOTE: | |
- execp() needs 'lua-posix' package | |
- bitwise operands for tag mappings need Lua version >= 5.3 | |
--]] |