Guide

Handy commands, customising Firox, and how the images are built.

ujust commands

Type these in the Command Prompt. Run ujust on its own to list everything.

CommandWhat it does
ujust setup-waydroid [vanilla|gapps]Download and set up Android (gapps includes the Play Store)
ujust waydroid-google-idPrint the Android ID to register a Play Store install
ujust reset-waydroidDelete Android and its data
ujust fix-realtek-audioFix 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-storeInstall the Bazaar app store
ujust customize-desktopCopy the desktop's default config into ~/.config to edit
ujust reset-desktopBack 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-nvidiaSwitch 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 updateUpdate 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.sh

It shows up in Settings → Screen Saver straight away.

A screen saver running on two monitors
Screen savers run on every monitor

Looks, the taskbar and the Start menu

Building and signing

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:

cp scripts/nightly-build.conf.example ~/.config/firox-build.conf

To 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:30

This 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.

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 commands

What each part of the desktop is, how it works and where it keeps its settings: Under the hood.

Known limitations