Aller au contenu

Profiles, backup and sync

Ce contenu n’est pas encore disponible dans votre langue.

Sets of gestures, chords, groups, hubs and an optional own look (theme and overlay settings). Switch from the sidebar, the tray, or automatically per app/monitor/workspace (Settings → Profiles & backup → Switch automatically).

Before each change the profile is kept (at most every 2 minutes, the last 30). Compare & restore… shows what a restore would change before doing it.

  • One profile or a selection: .vgprofile (Bindings page, virgul profile export|import).
  • A file that runs commands asks your consent first (see risk levels).

Everything but the history and statistics: profiles, library, settings (without this machine’s devices nor its sync settings), your integrations and presets. Settings → Profiles & backup → Backup, or virgul backup export|import [--replace].

Each machine pushes its copy (a backup); pulling another machine’s copy replaces the profiles it holds (their previous state stays in the history, so a pull can be undone) and its settings (this machine’s devices kept). Nothing syncs by itself.

Two ways:

A shared folder (decentralised): any tool that keeps a folder in step — Syncthing, Nextcloud, a network share.

Terminal window
virgul sync setup --folder ~/Sync/virgul --device laptop
virgul sync push # on the laptop
virgul sync pull # on the desktop: the newest other copy

A sync server (central), run anywhere:

Terminal window
virgul sync serve --addr :7788 # prints a token
virgul sync setup --server http://10.0.0.5:7788 --token <token>

Plain HTTP is accepted only on this machine, a private network or a VPN’s addresses (NetBird, Tailscale: already encrypted); otherwise use --tls-cert/--tls-key or a reverse proxy with TLS.

UI: Settings → Profiles & backup → Sync between your machines. virgul sync status lists the copies.