Famous Windows-like Ribbons Screensaver rewritten for multi-platform support with Tauri 2 (Rust).
| Style | Example |
|---|---|
| New modern | ![]() |
| Classic polygon | ![]() |
- macOS 14.6+
- Windows 10+
- Linux with a modern kernel (>= 6.x) and PipeWire/PulseAudio
Go to the landing page https://ribbons.drlight.fun, download the latest build for your platform and follow the installer.
Settings are stored in config.json in the same per-user locations as before:
- Windows:
%AppData%\Ribbons Screensaver - Linux:
~/.config/Ribbons Screensaver - macOS:
~/Library/Application Support/Ribbons Screensaver
Development builds use a -dev suffix.
- Fullscreen detection uses wctx on Wayland and xprop on X11. On Wayland, install
wctxand enable its user daemon. On X11, installxprop. - Idle/user activity is read from
/dev/input/event*(evdev), which is reliable on KWin/Wayland whereScreenSaver.GetActiveTimeoften returns 0. Add the user to theinputgroup and log in again:sudo usermod -aG input $USER. - Screen lock/suspend events use freedesktop DBus services (
org.freedesktop.ScreenSaver,org.freedesktop.login1). If evdev is unavailable the app falls back to DBus idle time and simply skips activity-based auto-stop until input becomes readable. - System audio detection uses
parecagainst the default monitor source (@DEFAULT_MONITOR@). - On Wayland, support depends on the compositor. KDE Plasma and GNOME are the tested environments.
After app startup check it's settings in tray menu:

Install the platform build dependencies. On Arch/CachyOS, Debian/Ubuntu the helper script covers the common packages:
chmod +x ./prepare.sh
./prepare.shThen:
npm run dev # development
npm run build # platform bundles
npm run help # all build commands and pathsOn Linux the build helpers run Tauri through fakeroot when available. This
makes .deb archives use root-owned entries; without it, users with UID/GID
values longer than six digits can produce a corrupt package header.
Build helpers from the original project are still available:
npm run build-json
npm run build-deb
npm run build-rpm
npm run build-AppImage
npm run build-targz
npm run build-exe
npm run build-msi
npm run build-zip
npm run build-dmg
npm run build-zip-mac
npm run build-linux # rpm + deb + tar.gz + AppImage
npm run build-win # zip + msi + nsis
npm run build-mac # dmg + zip for x86_64 and arm64
npm run build-mac -- --universal # one universal dmg + zipbuild-mac runs on either Intel or Apple Silicon macOS, installs the required Rust targets, and produces signed x86_64 and arm64 artifacts in src-tauri/target/<target>/release/{bundle,}. latest.json and latest-mac.json then contain both darwin-x86_64 and darwin-aarch64. Use --universal for a single universal build instead.
npm run block creates UPDATE_BLOCK before a build; npm run unblock removes it. The deb and rpm helpers block self-updates because Tauri’s updater only supports AppImage on Linux; deb/rpm installations should update through the OS package manager. As an extra safeguard, packaged Linux builds only enable self-update when running as an AppImage (APPIMAGE is set). The dmg helper does not block self-updates.
Tauri verifies update artifacts. The repository ships a placeholder key so development builds work without signing. For production self-updates:
- Generate a key pair with
npx @tauri-apps/cli signer generate. - Replace
plugins.updater.pubkeyinsrc-tauri/tauri.conf.json. - Set
TAURI_SIGNING_PRIVATE_KEY(orTAURI_SIGNING_PRIVATE_KEY_PATH) (and its passwordTAURI_SIGNING_PRIVATE_KEY_PASSWORD) when building. - Build on each OS. Each build writes a per-platform manifest that contains both its updater
platformsentries and the full list of signed bundles:latest-linux.json— AppImage, deb and rpmlatest-win.json— MSI and NSIS installerlatest-mac.json— app updater archive and signed DMG
- Copy those three files into one checkout (the repository root) and merge them into a single updater manifest:
npm run merge-latest # or: node scripts/merge-latest.mjs latest-linux.json latest-win.json latest-mac.json -o latest.json - Upload the merged
latest.jsontogether with every signed artifact it references. The per-platformlatest-*.jsonfiles are optional release assets; the updater only readslatest.json.
The merged latest.json keeps the updater platforms map (one preferred artifact per OS/arch, e.g. AppImage on Linux) and also contains a bundles array with every signed bundle, including deb and rpm. Tauri’s updater ignores bundles; use it for release tooling or manual downloads.
Until then, the version-check dialog still works and the Yes button opens the release page.
ui/ # HTML/CSS/JS renderer (ribbon engines, settings, update dialog)
src-tauri/src/ # Rust backend
config.rs # JSON store + defaults (same config.json keys)
windows.rs # screensaver/settings windows, fullscreen, options IPC
tray.rs # tray icon and dynamic menu
monitor.rs # idle/fullscreen/activity loop
media.rs # system audio RMS detection
active_window.rs # cross-platform active-window/fullscreen detection
system_events.rs # lock/suspend listeners and resume watchdog
autostart.rs # startup integrations and app restart
updates.rs # GitHub version checks and updater dialog
legacy-electron/ # original Electron main process, kept for reference
The renderer talks to Rust through ui/tauri-ipc.js:
send(event, payload)→renderer_messagecommand.on(event, handler)→ Tauri event listener.- Backend → window events:
send-options,send-stop,send-pause,show-close-btn,ribbons-settings-load.
- madve2 for the electron-screensaver-seed repo that was partly used to create the initial Electron app.
- fadyehabamer for the Ribbons-Screensaver repo that is the basis for the graphics.
- CilginSinek for electron-native-screenshare, which inspired the system-audio detection approach.
All rights belong to their authors.


