- ujust commands
- Customising
- Building and signing
- Nightly on your own machine
- Repository layout
- Under the hood: every part of the desktop →
- Known limitations
ujust commands
Type these in the Command Prompt. Run ujust on its own to list everything.
| Command | What it does |
|---|---|
ujust setup-waydroid [vanilla|gapps] | Download and set up Android (gapps includes the Play Store) |
ujust waydroid-google-id | Print the Android ID to register a Play Store install |
ujust reset-waydroid | Delete Android and its data |
ujust fix-realtek-audio | Fix silent or crackling Realtek onboard audio (linux-audio-fix, pinned and checksum-verified; also in Settings → Sound Troubleshooter) |
ujust install-webapp-runtime | (Re)install the Firefox runtime for web apps |
ujust install-app-store | Install the Bazaar app store |
ujust customize-desktop | Copy the desktop's default config into ~/.config to edit |
ujust reset-desktop | Back up your changes and restore the defaults |
ujust theme [classic|modern|glass] | Switch the look |
ujust dark-mode [on|off|auto] | Dark or light apps whatever the look (auto follows it) |
ujust screensaver [ID] [MINUTES] | List screen savers, or pick one and how long to wait (none turns them off) |
ujust power-saving [KEY=MINUTES…|reset] | Show or change the monitor-off, lock and sleep times (e.g. MONITOR_AC=10 SLEEP_BATTERY=20; 0 = never) |
ujust install-nvidia / remove-nvidia | Switch to or from the image with NVIDIA drivers |
firox-sysprep [--oobe|--audit] [--generalize] [--remove-users] [--shutdown|--reboot|--quit] | System Preparation, like Windows' Sysprep: get a computer ready to be imaged or handed over (also in Settings). --status and --cancel for a waiting one |
firox-autoplay [daemon|import LOCATION|check LOCATION|status] | AutoPlay: what happens when a drive, phone, camera or music player is plugged in (Settings → AutoPlay). import copies new photos and videos from a camera, phone or card into Pictures; check shows what AutoPlay makes of a folder or device. Its log: ~/.local/state/firox/autoplay.log |
firox-powerwash [--yes] | Powerwash: delete every account, saved networks, Bluetooth pairings and added packages, and restart into first-time setup (also in Settings) |
ujust darling [install|build|shell|update|remove|status] | Run macOS programs with Darling (experimental: command-line programs work best, most apps with windows don't run yet; see which apps work). install installs the latest release of Firox's Darling (its RPMs, with ARM64 support for apps made only for Apple Silicon) in a Fedora container of its own (about 1.5 GB) and adds macOS Terminal (Darling) to the Start menu; update moves it to the newest release; remove takes it out again, keeping your macOS files in ~/.darling. build builds it from source instead, to try changes that aren't released yet (hours, about 40 GB; run it again to carry on if it stops); update then updates and rebuilds it. For apps with windows, macOS Apps (Darling) (firox-darling) opens the .app folders in ~/Applications, in this container or one of your own (Settings…), and can add them to the Start menu. firox-darling install App.dmg (or double-clicking a .dmg) copies a disk image's apps there with Darling's hdiutil |
ujust stream [on|off|status|kick|unpair|web-on|web-off] | Let other Firox computers stream this one with Firox Stream (its screen, sound, keyboard and mouse), or stop; kick disconnects everyone streaming it now, unpair forgets every paired computer, web-on lets web browsers stream it too (it prints the address to open). Firox Stream in the Start menu does the same and connects to other computers |
ujust update | Update Firox, Flatpaks and toolboxes now |
Customising
Adding screen savers
Any program that runs in a terminal can be a screen saver. Create ~/.local/share/firox/screensavers/NAME.conf (or put it in /etc/firox/screensavers/ for every user):
NAME=Pipes
COMMAND=pipes.shIt shows up in Settings → Screen Saver straight away.
- How it runs: full screen in a black terminal; it stops when you move the mouse or press a key. For a program that opens its own window instead, add
TERMINAL=false. COMMANDcan be a script you drop in~/.local/bin(handy for single-file savers likepipes.sh) or any program on yourPATH.- Defaults: the built-in savers are in
/usr/share/firox/screensavers/, and the default for new users is in/etc/firox/screensaver(none).
Looks, the taskbar and the Start menu
- Looks: each look's styles are in
/usr/share/firox/themes/{classic,modern,glass}/: taskbar, Start menu, pop-ups, notifications, clipboard picker and lock screen. Window frames are in/usr/share/themes/Firox-{Luna,Modern,Glass}. - Your own look: copy one of those folders and edit it; it appears in Settings → Appearance automatically.
GLASS=1in itstheme.confgives it the frosted-wallpaper taskbar. - Taskbar: your own CSS rules go in
~/.config/firox/panel.css. - System defaults: in
/etc/xdg/{labwc,waybar,mako,fuzzel}. Anything you put in the matching~/.config/folder overrides them;ujust customize-desktopcopies them there for you. - The Start menu: pinned and default apps are at the top of
system_files/usr/bin/firox-startmenu(PINNED,DEFAULT_MFU). It also takes--all-programs,--powerand--log-off, which you can bind to keys in labwc'src.xml.
Building and signing
- What's built:
ghcr.io/<owner>/firoxandghcr.io/<owner>/firox-nvidia-open, built and published nightly byscripts/nightly-build.shon a home lab build box (below). - GitHub Actions: doesn't run on its own: not on pushes, pull requests or a schedule. If the build box is out of action, start Actions → Build container image → Run workflow by hand. Disk images (
build-disk.yml) are manual too. - Signing: generate a key pair with
cosign generate-key-pairand add the private key as theSIGNING_SECRETrepository secret. Without it, images still build and signing is skipped.
Building nightly on your own machine
scripts/nightly-build.sh does what the GitHub build does, on a build box in your home lab, using the same Justfile recipes. It:
- updates its own checkout of
main - builds the standard and NVIDIA images, then rechunks and tags them
- pushes to ghcr.io and/or a registry on your network, and signs
- can also build installer ISOs
- Needs:
git,just,podman,jqandpython3(pluscosignto sign), and about 50 GB of disk. ISOs need root: run the script as root, or give its user passwordlesssudo. - Settings: copy the example config, then edit it:
cp scripts/nightly-build.conf.example ~/.config/firox-build.confTo push to ghcr.io, put a token with write:packages in ~/.config/firox-ghcr-token (chmod 600). To update your Firox machines over the LAN, set LOCAL_REGISTRY and switch them to it with sudo bootc switch 192.168.1.10:5000/firox:latest.
Run it nightly (as the user that builds, not with sudo):
~/firox/scripts/nightly-build.sh --install-timer 02:30This makes a systemd user timer, firox-nightly.timer, and turns on lingering so it runs with nobody logged in. A night the machine was off is caught up when it next starts. --remove-timer takes it away.
- Why not cron: rootless podman needs the user's systemd session (
XDG_RUNTIME_DIRand its cgroups). Cron jobs don't get one, so builds fail with container runtime errors. If you used cron before, remove that line (crontab -e). - Run it now and watch:
systemctl --user start --no-block firox-nightly, thenjournalctl --user -fu firox-nightly. - Results: each run writes a log to
~/.local/state/firox-build/(kept 14 days), and its summary goes to the journal. A failed night shows insystemctl --user --failed. - A new build machine: before building, the script checks what rootless podman needs and says how to fix what's missing. The usual gap is no
/etc/subuidand/etc/subgidrange for the user:sudo usermod --add-subuids 524288-589823 --add-subgids 524288-589823 $USER, thenpodman system migrate. - Overlaps: a night that finds the previous build still running skips itself.
- Options:
--variant main|nvidia,--no-push,--dry-run. - No stale images: every image records the commit it was built from in
/usr/share/firox/build-info, and the build step can't be reused from podman's cache once the Firox files change. The nightly build checks the record before pushing, and a mismatch is reported as a failure instead of being published. If the newest kernel has no NVIDIA modules yet, the NVIDIA image is built on the newest earlier base that has them. - Testing a pull request:
--pr 42(or--branch NAME) builds it without publishing anything or making ISOs, so you can check it builds before merging.
Repository layout
Containerfile FROM ghcr.io/ublue-os/base-main, runs build.sh
build_files/build.sh repos, packages, services, branding
build_files/nvidia.sh the NVIDIA variant's driver
system_files/ copied onto / in the image
etc/xdg/labwc/ compositor config, keybinds, autostart
etc/greetd/ login screen
usr/bin/firox-* taskbar, Start menu, Settings and the other tools
usr/share/firox/themes/ the Classic, Modern and Glass looks
usr/share/themes/Firox-*/ window themes
usr/share/ublue-os/just/60-custom.just ujust commands
disk_config/ VM image and ISO definitions (bootc-image-builder)
scripts/nightly-build.sh nightly build for your own machine
docs/ this website (GitHub Pages) and screenshots
Justfile local build commandsWhat each part of the desktop is, how it works and where it keeps its settings: Under the hood.
Known limitations
- Waydroid: needs a supported GPU for hardware acceleration. Intel and AMD are fine; on NVIDIA it uses software rendering. It doesn't work where Secure Boot blocks its binder module.
- NVIDIA image: only supports GTX 16 / RTX 20 series and newer cards, because it uses NVIDIA's open driver.
- PWAsForFirefox: the extension is installed by a Firefox policy on first launch, so Firefox needs network access the first time.
- New code: much of the desktop (the taskbar, Start menu, Settings and tools) is new and hasn't had much testing on real hardware yet. Report problems on GitHub.