|
| 1 | +--- |
| 2 | +title: Debian Linux scripting |
| 3 | +date: |
| 4 | + created: 2026-02-16 |
| 5 | + updated: 2026-02-17 |
| 6 | +authors: |
| 7 | + - practicalli |
| 8 | +categories: |
| 9 | + - practicalli |
| 10 | +tags: |
| 11 | + - clojure |
| 12 | +draft: false |
| 13 | +--- |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +<!-- more --> |
| 18 | + |
| 19 | + |
| 20 | +## TUI |
| 21 | + |
| 22 | + |
| 23 | +### Lychee hyperlink checker |
| 24 | + |
| 25 | +A Command line tool to check the hyperlinks in a website. |
| 26 | + |
| 27 | +Installed via DRA. |
| 28 | + |
| 29 | +Added to `dev-tools-install.sh` file in the Debian Linux post install scripts. |
| 30 | + |
| 31 | +!!! NOTE "Test Practicalli Cycling with Lychee CLI" |
| 32 | + ```shell |
| 33 | + lychee https://practical.li/cycling |
| 34 | + ``` |
| 35 | + |
| 36 | +??? EXAMPLE "Lychee test of Practicalli Cycling website" |
| 37 | + ```shell |
| 38 | + ❯ lychee https://practical.li/cycling |
| 39 | + 47/47 ━━━━━━━━━━━━━━━━━━━━ Finished extracting links Issues found in 1 input. Find details below. |
| 40 | + |
| 41 | + [https://practical.li/cycling]: |
| 42 | + [404] https://practical.li/assets/stylesheets/modern/main.1e989742.min.css | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 43 | + [404] https://practical.li/assets/stylesheets/modern/palette.dfe2e883.min.css | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 44 | + [404] https://practical.li/components/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 45 | + [404] https://practical.li/computers-sensors/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 46 | + [404] https://practical.li/docs/experiences/#ride-of-the-falling-leaves | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 47 | + [404] https://practical.li/experiences/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 48 | + [404] https://practical.li/experiences/#audax | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 49 | + [404] https://practical.li/experiences/#charity-rides | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 50 | + [404] https://practical.li/experiences/#kent-tour-de-france-sportive | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 51 | + [404] https://practical.li/experiences/#lands-end-to-john-ogroats | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 52 | + [404] https://practical.li/experiences/#oasts-and-coasts-300 | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 53 | + [404] https://practical.li/first-aid/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 54 | + [404] https://practical.li/hills/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 55 | + [404] https://practical.li/kit/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 56 | + [404] https://practical.li/lights/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 57 | + [404] https://practical.li/maintenance/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 58 | + [404] https://practical.li/route-planning/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 59 | + [404] https://practical.li/routes/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 60 | + [404] https://practical.li/toolbag/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 61 | + [404] https://practical.li/training-plan/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 62 | + [404] https://practical.li/training/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 63 | + [404] https://practical.li/zensical-tips/ | Rejected status code: 404 Not Found (configurable with "accept" option) |
| 64 | + |
| 65 | + 🔍 47 Total (in 2s) ✅ 12 OK 🚫 23 Errors ⛔ 12 Unsupported |
| 66 | + ``` |
| 67 | + |
| 68 | + |
| 69 | +## Debian Linux |
| 70 | + |
| 71 | +Its a good time for a package upgrade as I am not doing anything critical and I think everything is backed up or pushed to the cloud. I have Debian Live on a USB stick if something should go badly wrong. |
| 72 | + |
| 73 | +I created the Debian Live stick after a certain opinionated Arch Linux based distro went badly wrong after an update. |
| 74 | + |
| 75 | +### Regolith desktop |
| 76 | + |
| 77 | +I use Regolith desktop as it provides an excellent tiling desktop environment. Regolith uses the i3 window manager and packages configuration to make the window manager and tooling really simple to work with. |
| 78 | + |
| 79 | +Now that Debian Linux Trixie has been released, I checked the Apt sources definition and I was still using the `testing` release. |
| 80 | + |
| 81 | +The [Debian Linux instructions for Regolith](https://regolith-desktop.com/docs/using-regolith/install/#debian) use a stable URL, with trixie 3.4 as the release name. |
| 82 | + |
| 83 | +The Apt sources on the `rogueone` computer uses the newer sources format: |
| 84 | + |
| 85 | +!!! NOTE "Regolith apt sources for Debian Linux Trixie - new list format" |
| 86 | + ```config |
| 87 | + deb [arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://archive.regolith-desktop.com/debian/stable trixie v3.4 main |
| 88 | + ``` |
| 89 | + |
| 90 | +### Apt upgrade |
| 91 | + |
| 92 | +```shell |
| 93 | +apt update && apt upgrade |
| 94 | +``` |
| 95 | + |
| 96 | +??? EXAMPLE "Packages to be upgraded" |
| 97 | + ```shell-output |
| 98 | + # apt upgrade |
| 99 | + Upgrading: |
| 100 | + 1password libgimp-3.0-0 regolith-i3-i3xrocks regolith-sway-kbd-layout |
| 101 | + arc-icon-theme libimage-magick-perl regolith-i3-ilia regolith-sway-media-keys |
| 102 | + ayu-theme libimage-magick-q16-perl regolith-i3-root-config regolith-sway-next-workspace |
| 103 | + bind9-dnsutils libmagickcore-7.q16-10 regolith-i3-session regolith-sway-polkit |
| 104 | + bind9-host libmagickcore-7.q16-10-extra regolith-i3-unclutter regolith-sway-root-config |
| 105 | + bind9-libs libmagickwand-7.q16-10 regolith-i3xrocks-config regolith-sway-screensharing |
| 106 | + childe libpq5 regolith-inputd regolith-sway-session |
| 107 | + firefox-esr libssl3t64 regolith-look-ayu-dark regolith-sway-touchpad-gestures |
| 108 | + firefox-esr-l10n-en-gb libtrawldb regolith-look-default regolith-sway-unclutter |
| 109 | + fonts-nerd-font-bitstreamverasansmono linux-image-amd64 regolith-look-default-loader regolith-unclutter-xfixes |
| 110 | + fonts-nerd-font-cousine linux-libc-dev regolith-look-gruvbox regolith-wm-base-launchers |
| 111 | + fonts-nerd-font-hack openjdk-21-jdk regolith-powerd regolith-wm-config |
| 112 | + gimp openjdk-21-jdk-headless regolith-rofication regolith-wm-ftue |
| 113 | + gimp-data openjdk-21-jre regolith-session-common regolith-wm-navigation |
| 114 | + gir1.2-gimp-3.0 openjdk-21-jre-headless regolith-session-flashback regolith-wm-networkmanager |
| 115 | + google-chrome-stable openssl regolith-session-flashback-ext regolith-wm-resize |
| 116 | + gruvbox-gtk openssl-provider-legacy regolith-session-sway regolith-wm-rofication-ilia |
| 117 | + i3-next-workspace python3-urllib3 regolith-sway-background regolith-wm-swap-focus |
| 118 | + i3-swap-focus regolith-avizo regolith-sway-clamshell regolith-wm-workspace-config |
| 119 | + i3xrocks regolith-compositor-picom-glx regolith-sway-control-center-gnome sway-audio-idle-inhibit |
| 120 | + i3xrocks-cpu-usage regolith-default-settings regolith-sway-dbus-activation sway-regolith |
| 121 | + i3xrocks-net-traffic regolith-desktop regolith-sway-default-style trawlcat |
| 122 | + i3xrocks-time regolith-displayd regolith-sway-gaps usbmuxd |
| 123 | + ilia regolith-ftue regolith-sway-grimshot xdg-desktop-portal-regolith-wayland-config |
| 124 | + imagemagick regolith-i3-compositor regolith-sway-gsd xdg-desktop-portal-regolith-x11-config |
| 125 | + imagemagick-7-common regolith-i3-dbus-activation regolith-sway-gtklock xrescat |
| 126 | + imagemagick-7.q16 regolith-i3-default-style regolith-sway-i3status-rs |
| 127 | + inetutils-telnet regolith-i3-gaps regolith-sway-ilia |
| 128 | + |
| 129 | + Installing dependencies: |
| 130 | + linux-image-6.12.69+deb13-amd64 |
| 131 | + |
| 132 | + Suggested packages: |
| 133 | + firmware-linux-free linux-doc-6.12 debian-kernel-handbook |
| 134 | + |
| 135 | + Summary: |
| 136 | + Upgrading: 110, Installing: 1, Removing: 0, Not Upgrading: 0 |
| 137 | + Download size: 0 B / 633 MB |
| 138 | + Space needed: 198 MB / 203 MB available |
| 139 | + |
| 140 | + Continue? [Y/n] |
| 141 | + ``` |
| 142 | + |
| 143 | + |
| 144 | +--- |
| 145 | +Thank you. |
| 146 | + |
| 147 | +[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button} |
| 148 | + |
| 149 | +[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button} |
| 150 | +[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button} |
| 151 | + |
| 152 | +[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button} |
| 153 | +[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){target=_blank .md-button} |
0 commit comments