Adom Hydrogen (Linux)
Public Made by Adomby adom
The Linux platform layer for Adom Hydrogen: Ubuntu, Debian and Fedora, the workspace and the computer.
d8a45ab
name: hydrogen-linux-bootstrap description: What Adom Hydrogen needs on a Linux computer and in its workspace, and how to check or fix it (H.264 playback, AppImages, Flatpak/KiCad, the GNOME tray, portals, Dictate audio, fonts, ffmpeg). Use when a video will not play in Hydrogen on Linux, an AppImage will not start, KiCad is missing, there is no tray icon, or the doctor reports a Linux host item.
Hydrogen on Linux: host and workspace setup
Hydrogen runs host/hydrogen-host-setup.sh from this package on the computer:
S=~/.local/share/adom/hydrogen-linux-bootstrap/host/hydrogen-host-setup.sh # in the workspace
bash hydrogen-host-setup.sh check # on the computer: one line per item, changes nothing
bash hydrogen-host-setup.sh check --json # the same for scripts (Hydrogen Doctor reads this)
pkexec bash hydrogen-host-setup.sh apply-system --user "$USER" --desktop "$XDG_CURRENT_DESKTOP" --session "$XDG_SESSION_TYPE"
bash hydrogen-host-setup.sh apply-user # fonts, Flatpak exports, tray extension, default browser
Items: h264 (GStreamer libav; RPM Fusion on Fedora), fuse2 (AppImages), flatpak (+Flathub),
tray (AppIndicator on Debian/Fedora GNOME), ab_windows (Adom Bridge window list, GNOME Wayland),
portal, audio (pw-record or parec for Dictate), clipboard (wl-copy/xclip), notify, xdg,
oom, fonts, mesh, firewall, keyring, chrome, workspace_tz. relogin means the
item is installed and becomes active after logging out and in once.
In the workspace, ~/.adom/hooks/hydrogen-linux-platform-hygiene.sh keeps ffmpeg with libx264,
the en_US.UTF-8 locale and earlyoom; Hydrogen runs it after every package update.
---
name: hydrogen-linux-bootstrap
description: What Adom Hydrogen needs on a Linux computer and in its workspace, and how to check or fix it (H.264 playback, AppImages, Flatpak/KiCad, the GNOME tray, portals, Dictate audio, fonts, ffmpeg). Use when a video will not play in Hydrogen on Linux, an AppImage will not start, KiCad is missing, there is no tray icon, or the doctor reports a Linux host item.
---
# Hydrogen on Linux: host and workspace setup
Hydrogen runs `host/hydrogen-host-setup.sh` from this package on the computer:
```bash
S=~/.local/share/adom/hydrogen-linux-bootstrap/host/hydrogen-host-setup.sh # in the workspace
bash hydrogen-host-setup.sh check # on the computer: one line per item, changes nothing
bash hydrogen-host-setup.sh check --json # the same for scripts (Hydrogen Doctor reads this)
pkexec bash hydrogen-host-setup.sh apply-system --user "$USER" --desktop "$XDG_CURRENT_DESKTOP" --session "$XDG_SESSION_TYPE"
bash hydrogen-host-setup.sh apply-user # fonts, Flatpak exports, tray extension, default browser
```
Items: `h264` (GStreamer libav; RPM Fusion on Fedora), `fuse2` (AppImages), `flatpak` (+Flathub),
`tray` (AppIndicator on Debian/Fedora GNOME), `ab_windows` (Adom Bridge window list, GNOME Wayland),
`portal`, `audio` (pw-record or parec for Dictate), `clipboard` (wl-copy/xclip), `notify`, `xdg`,
`oom`, `fonts`, `mesh`, `firewall`, `keyring`, `chrome`, `workspace_tz`. `relogin` means the
item is installed and becomes active after logging out and in once.
In the workspace, `~/.adom/hooks/hydrogen-linux-platform-hygiene.sh` keeps ffmpeg with libx264,
the en_US.UTF-8 locale and earlyoom; Hydrogen runs it after every package update.