From 9c33c97200132c71f68988b780e1082750592802 Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Wed, 15 Oct 2025 17:07:11 -0500 Subject: [PATCH] Misc: shells, setup, mac-fnmode, sshd - shells: tune ab-av1 parameters - setup: alacritty -> ptyxis and remove thunderbird-wayland - mac-fnmode: regenerate initramfs to fix fnmode-persistent-fedora - sshd: AcceptEnv NO_COLOR --- auto/shells/bash | 4 ++-- auto/shells/fish | 4 ++-- setup/fedora-system-setup.md | 14 +++++++------- setup/fedora-user-setup.md | 4 ++-- system/mac-fnmode/fnmode-persistent-fedora | 1 + system/sshd/sshd_config-debian | 2 +- system/sshd/sshd_config-rhel | 2 +- 7 files changed, 16 insertions(+), 15 deletions(-) diff --git a/auto/shells/bash b/auto/shells/bash index 7fb8d36..77f6d41 100755 --- a/auto/shells/bash +++ b/auto/shells/bash @@ -26,8 +26,8 @@ alias ls='ls --color' alias mosh='mosh -o' alias cargo='cargo auditable' alias md='pulldown-cmark -TFSLH' -alias av1-auto='nice ab-av1 auto-encode --min-samples 3 --keyint 2s --scd true' -alias av1-search='nice ab-av1 crf-search --min-samples 3 --keyint 2s --scd true' +alias av1-auto='ab-av1 auto-encode --min-samples 3 --thorough --keyint 2s' +alias av1-search='ab-av1 crf-search --min-samples 3 --thorough --keyint 2s' # Shows a oneline preview of all files under the folder after changing directory. diff --git a/auto/shells/fish b/auto/shells/fish index 6423740..18f12b1 100755 --- a/auto/shells/fish +++ b/auto/shells/fish @@ -62,8 +62,8 @@ export PATH="$HOME/.local/bin:$PATH:/usr/lib/llvm-15/bin" alias md='pulldown-cmark -TFSLH' alias mosh='mosh -o' alias cargo='cargo auditable' -alias av1-auto='nice ab-av1 auto-encode --min-samples 3 --keyint 2s --scd true' -alias av1-search='nice ab-av1 crf-search --min-samples 3 --keyint 2s --scd true' +alias av1-auto='ab-av1 auto-encode --min-samples 3 --thorough --keyint 2s' +alias av1-search='ab-av1 crf-search --min-samples 3 --thorough --keyint 2s' set -x PATH "$HOME/.cargo/bin" $PATH EOF diff --git a/setup/fedora-system-setup.md b/setup/fedora-system-setup.md index 4be1ab1..aceee55 100644 --- a/setup/fedora-system-setup.md +++ b/setup/fedora-system-setup.md @@ -18,18 +18,18 @@ Limit the battery charge to 95%. Your first `dnf` install would probably ask you to confirm the Fedora GPG key, which you may find the fingerprint of at . -`dnf install vim-enhanced mosh keepassxc thunderbird-wayland mpv obs-studio -wl-clipboard qrencode xournalpp gstreamer1-plugins-bad-free-extras -gnome-extensions-app gnome-shell-extension-gsconnect nautilus-gsconnect -kernel-tools mozilla-openh264 gstreamer1-plugin-openh264 trash-cli ripgrep -gnome-tweaks goldendict-ng gcc-c++ gimp alacritty clang clang-tools-extra bat -helix fish kdiskmark kiwix-desktop libjxl-utils` +`dnf install vim-enhanced mosh keepassxc thunderbird mpv obs-studio wl-clipboard +qrencode xournalpp gstreamer1-plugins-bad-free-extras gnome-extensions-app +gnome-shell-extension-gsconnect nautilus-gsconnect kernel-tools mozilla-openh264 +gstreamer1-plugin-openh264 trash-cli ripgrep gnome-tweaks goldendict-ng gcc-c++ +gimp ptyxis clang clang-tools-extra bat helix fish kdiskmark kiwix-desktop +libjxl-utils torbrowser-launcher` ### As needed `dnf install gnome-usage install rlwrap mediainfo nmap xeyes progress duperemove memtest86+ lm_sensors efitools quearcode qpdf kdenlive stress tokei -f3 exiftool datediff qalculate` +f3 exiftool datediff qalculate-gtk syncplay` ## AMD diff --git a/setup/fedora-user-setup.md b/setup/fedora-user-setup.md index 73996bc..69e868a 100644 --- a/setup/fedora-user-setup.md +++ b/setup/fedora-user-setup.md @@ -54,7 +54,7 @@ In Settings -> Keyboard -> Custom Shortcuts: | ---- | -------- | ------- | | Launch Calculator | `Super` + `C` | `gnome-calculator` | | Launch Dictionary | `Super` + `D` | `goldendict-ng` | -| Launch Terminal | `Super` + `T` | `alacritty` | +| Launch Terminal | `Super` + `T` | `ptyxis --new-window` | | Swap Esc with Caps Lock | `Ctrl` + `Super` + `S` | `gsettings set org.gnome.desktop.input-sources xkb-options "['caps:swapescape']"` | | Disable Caps Lock | `Ctrl` + `Super` + `D`| `gsettings set org.gnome.desktop.input-sources xkb-options "['caps:none']"` | | Clear key mappings | `Ctrl` + `Super` + `C` | `gsettings set org.gnome.desktop.input-sources xkb-options "[]"` | @@ -73,7 +73,7 @@ Reset SELinux labels: ## App settings -- Terminal: Monospace 15 +- Terminal: Ubuntu Mono Nerd Font 15, gray theme - Text Editor - Monospace 15 - Using the top right settings icon: diff --git a/system/mac-fnmode/fnmode-persistent-fedora b/system/mac-fnmode/fnmode-persistent-fedora index f5b2589..7b26c8d 100755 --- a/system/mac-fnmode/fnmode-persistent-fedora +++ b/system/mac-fnmode/fnmode-persistent-fedora @@ -1,2 +1,3 @@ #!/bin/sh echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf +sudo dracut --regenerate-all diff --git a/system/sshd/sshd_config-debian b/system/sshd/sshd_config-debian index 90a57e8..31e11c6 100644 --- a/system/sshd/sshd_config-debian +++ b/system/sshd/sshd_config-debian @@ -9,5 +9,5 @@ KbdInteractiveAuthentication no UsePAM yes AllowTcpForwarding yes X11Forwarding no -AcceptEnv LANG LC_* COLORTERM +AcceptEnv LANG LC_* COLORTERM NO_COLOR Subsystem sftp /usr/lib/openssh/sftp-server diff --git a/system/sshd/sshd_config-rhel b/system/sshd/sshd_config-rhel index 1095423..fe88a84 100644 --- a/system/sshd/sshd_config-rhel +++ b/system/sshd/sshd_config-rhel @@ -9,5 +9,5 @@ KbdInteractiveAuthentication no UsePAM yes AllowTcpForwarding yes X11Forwarding no -AcceptEnv LANG LC_* COLORTERM +AcceptEnv LANG LC_* COLORTERM NO_COLOR Subsystem sftp /usr/libexec/openssh/sftp-server