Skip to content
omarchy / elgato
HomeDocsGetting started

OMARCHY / ELGATO

Getting started

Install the plugin, connect your gear, and keep your setup up to date.

On this page

Requirements

Omarchy Quattro with Omarchy Shell and the omarchy plugin commands. First enable checks system requirements and opens a terminal prompt if setup is needed. Accept the prompt to install missing packages through omarchy pkg add and configure Stream Deck USB access. Administrator authentication may be requested. The plugin then prepares its locked Node.js runtime automatically.

System packages

Only missing requirements are passed to omarchy pkg add. Existing packages are reused. The complete set the script can request is:

Arch package Requirement and purpose
nodejs Node.js 22.18 or newer for the backend and runtime setup.
npm Installs the locked runtime dependencies.
imagemagick magick renders button icons and LCD artwork.
fontconfig fc-match selects the artwork font.
ttf-dejavu Font fallback when the selected font file is unavailable.
avahi avahi-browse discovers network Key Lights.
wireplumber wpctl controls audio volume and mute.
wtype Sends keyboard input for actions.
uwsm uwsm-app launches applications in the desktop session.
gtk3 gtk-launch launches desktop entries.
xdg-utils xdg-open opens files and URLs.

The package manager may also install their dependencies. Those packages own files throughout /usr/, /etc/, and other system directories; the exact list varies by installed version and dependencies. Use pacman -Ql <package> to list all files owned by an installed package, and /var/log/pacman.log to review the installation transaction. Package downloads normally use /var/cache/pacman/pkg/ and the configured AUR helper cache. These shared files are managed by the package manager, not by deleting individual package files. Setup does not record which packages it installs or reuses. Omarchy supplies the surrounding tools: omarchy, omarchy-shell, bash, gum, jq, flock, sudo, systemctl, udevadm, and standard filesystem utilities; the requirements script does not install these separately. Git is needed for repository-based installation and updates.

System changes

Setup copies assets/udev/70-omarchy-elgato.rules to /etc/udev/rules.d/70-omarchy-elgato.rules with mode 0644. If a different file already exists there, it is replaced without a backup. The rules match hidraw* devices, set device mode 0660, and add uaccess so the active local desktop user can access them without running the daemon as root.

The complete USB vendor/product match list is:

  • Vendor 0fd9: 0060, 0063, 006c, 006d, 0080, 0084, 0086, 008f, 0090, 009a, 00a5, 00aa, 00b3, 00b8, 00b9, 00ba, 00c6, 00e4.
  • Vendor 1b1c: 2b18.

Setup runs udevadm control --reload-rules and udevadm trigger --subsystem-match=hidraw --action=add. Reconnect the Stream Deck if it is not detected afterward. No user is added to a device-access group.

If avahi-daemon.service is inactive, setup runs systemctl enable --now avahi-daemon.service, starting it immediately and allowing it to start at boot. An already active service is left as it is. On current Arch Avahi packages, enabling creates systemd links under /etc/systemd/system/: multi-user.target.wants/avahi-daemon.service, dbus-org.freedesktop.Avahi.service, and sockets.target.wants/avahi-daemon.socket. Avahi also owns runtime data under /run/avahi-daemon/, including its socket; systemd/the service manage those files. Use systemctl cat avahi-daemon.service avahi-daemon.socket to inspect the units on your installed package version. These changes require administrator authentication. There is no separate systemd service installed for the plugin: Omarchy Shell owns its daemon.

Actions for optional applications appear only when their executable is available. User-installed action packs provide their own dependency checks.

Changes through the plugin lifecycle

Stage Changes and retained state
Add without enabling Omarchy creates the installed plugin checkout. System packages, USB rules, Avahi, and runtime preparation wait until enablement.
Enable / retry setup Omarchy records enablement and bar placement in its shared shell configuration and starts the plugin service. After confirmation, setup installs missing packages, replaces the plugin USB rule when different, reloads udev and retriggers hidraw devices, and enables/starts inactive Avahi. Runtime preparation writes dependencies and its marker in the user data directory, seeds the absent VOXtype action pack, and writes setup state; npm may write shared cache/logs.
Use The daemon reads USB devices and discovers/controls network Key Lights. Configuration, icons, action packs, status, inventory, locks, artwork caches, and user-journal logs are stored as listed in User files. Assigned actions can launch applications, send keyboard input, change audio settings, and run action-pack commands.
Update / re-enable Omarchy updates and reloads the checkout. Startup repeats requirement checks; newly missing packages, a changed USB rule, or inactive Avahi require the same confirmation. A changed package lockfile or Node/platform signature refreshes the user runtime. Configuration is preserved.
Disable Omarchy records the disabled state and stops the daemon. Installed files, user data, runtime, packages, USB rule, and Avahi configuration remain; no system changes are reversed.
Remove Omarchy unloads the plugin and removes its checkout, or retains a backup for a non-Git install. User data, runtime, previous backups, shared caches/logs, packages, USB rule, and Avahi configuration remain. Follow Optional cleanup after removal to review and remove them.

The exact package list, privileged commands, USB matches, and affected system paths are in System packages and System changes above. User paths and backup locations are in User files below. Setup does not record previous package/service/rule state or roll back partially completed changes on failure; review the terminal output and package-manager history before retrying or cleanup.

Install

Install and enable through Omarchy. This is the complete end-user installation command; no manual clone, build, npm command, or separate setup command is needed:

omarchy plugin add https://github.com/dxun-dev/omarchy-elgato.git --enable

Omarchy asks where to place the widget. On first enable, accept any system setup prompt; the service then installs its locked runtime dependencies in the user data directory. This requires internet access and may take a moment. Click the Elgato icon when it appears to configure your devices.

The process handles the remaining steps:

  1. Omarchy clones and validates the plugin, asks for bar placement, and enables it.
  2. The service checks requirements before starting Node.js. If packages, USB access, or Avahi need setup, it opens a terminal showing the required changes.
  3. Accept the setup confirmation and enter an administrator password if asked. The script installs missing packages, applies the USB rule, starts Avahi when needed, and resumes the service automatically.
  4. The service installs and verifies locked runtime dependencies outside the plugin directory, then starts the device daemon. No TypeScript build is needed; the repository ships the compiled backend.

The confirmation and authentication are part of installation. They are required for system changes; declining them leaves setup incomplete. Internet access is needed for the clone, missing packages, and first runtime installation.

Without --enable, setup waits until you enable the plugin. If you decline the system setup prompt, no packages or USB rules are changed; use Retry setup in the editor when you are ready. If runtime downloads fail, restore internet access and use Retry setup. Manual helper commands are repair tools, not installation prerequisites. Diagnose failures with:

~/.config/omarchy/plugins/dxun-dev.omarchy-elgato/bin/omarchy-elgato doctor
journalctl --user -t omarchy-shell

Use and configure

Click the Elgato bar icon to open the editor. Choose a connected device or an offline model, select a button or dial, and assign an action. Use the display settings for icons, text, background colors, and dial LCD artwork. Stateful actions expose an icon setting for each reported state; launchers keep a single icon. Detach opens the editor in a separate window; Dock returns it to the bar. Escape closes the editor or cancels an active edit.

Move the widget with:

omarchy bar move dxun-dev.omarchy-elgato --section left

See the usage guide for pages, folders, colors, status icons, and CLI examples. See action packs to add your own actions.

User files

Plugin data paths respect XDG_CONFIG_HOME, XDG_STATE_HOME, XDG_CACHE_HOME, and XDG_DATA_HOME, respectively. The Omarchy plugin manager currently uses ~/.config/omarchy/plugins/; the local installer also supports XDG_CONFIG_HOME for that destination.

Purpose Default location
Shell enablement and bar configuration (shared) ~/.config/omarchy/shell.json
Installed plugin ~/.config/omarchy/plugins/dxun-dev.omarchy-elgato/
Local-install backups ~/.local/share/omarchy-plugin-backups/dxun-dev.omarchy-elgato.backup-<timestamp>
Omarchy removal backups (non-Git installs) ~/.config/omarchy/plugins/.dxun-dev.omarchy-elgato.bak.<timestamp>
Mappings and pages ~/.config/omarchy-elgato/profile.json
Custom icons ~/.config/omarchy-elgato/icons/
Action packs ~/.config/omarchy-elgato/actions/
Status and discovered-light inventory ~/.local/state/omarchy-elgato/
Generated artwork cache ~/.cache/omarchy-elgato/
Runtime dependencies ~/.local/share/omarchy-elgato/runtime/

The installed plugin contains its manifest, QML widget/editor/service, compiled backend, bin/omarchy-elgato helper, scripts, assets, default configuration, example action packs, package manifests/lockfile, preview images, README, changelog, license, and third-party notices. Git-based installs also contain the repository metadata. The helper is not placed globally on PATH.

Runtime setup copies package.json and package-lock.json into the runtime, then runs npm ci --omit=dev. This installs @elgato-stream-deck/node, node-hid, and all locked transitive dependencies, including native HID and JPEG modules. A .runtime-ready marker records the package/Node/platform signature. Downloads can also create npm cache and logs (normally ~/.npm/, or the configured npm cache location). These are shared with other npm projects. The local installer’s --offline option copies the checkout’s entire node_modules instead, which can include development dependencies.

Setup seeds actions/voxtype/ from the bundled example only if absent; it does not install the VOXtype application. Optional action applications and user action-pack dependencies are not automatically installed.

Normal use creates profile.json and a temporary profile.lock/ directory in the configuration directory. Migrating an older profile without pages also preserves profile.before-pages.json there; deleting the configuration directory removes this migration backup as well. The state directory holds status.json, light-inventory.json, runtime-status.json, daemon/setup lock files, and temporary files used for atomic writes. Cache files include generated RGB artwork, SVGs, and PNG previews. Enabling changes Omarchy Shell’s plugin enablement/bar placement configuration in ~/.config/omarchy/shell.json; keep this shared file when removing the plugin. Logs are written to the existing user journal. It does not install another journal or logging service.

The local installer builds dist/ in the checkout, stages files under .omarchy-elgato-stage-<UUID> in the plugin directory, validates them, and removes its staging directory on completion or failure. Replacing an existing local installation moves it into the backup location above. Development npm ci also creates node_modules/ in the checkout, including TypeScript and Node type definitions; those are separate from ordinary plugin setup.

OMARCHY_ELGATO_RUNTIME can override the dependency location. OMARCHY_ELGATO_FONT can select a font file; otherwise Fontconfig resolves the system’s sans-serif font. Applications and icons use XDG data directories.

Update

omarchy plugin update dxun-dev.omarchy-elgato

Omarchy fetches upstream and fast-forwards the installed Git checkout, validates it, and reloads the plugin. An enabled service checks system requirements again and refreshes runtime dependencies when the package files or Node.js/platform signature change. Accept a setup prompt if an update adds missing requirements. Profiles, icons, action packs, and bar placement are preserved. Disabled plugins finish runtime preparation the next time they are enabled.

The update command applies to Git-based Omarchy installs. A development install created by npm run install:local has no Git metadata: reinstall it from the updated development checkout, or remove it and use the standard install command. If a Git install has local edits, save them before updating; Omarchy refuses an update that cannot fast-forward. The command follows current upstream HEAD.

Disable or remove

omarchy plugin disable dxun-dev.omarchy-elgato
omarchy plugin remove dxun-dev.omarchy-elgato

Disabling stops the daemon but retains all files. There is no project-specific uninstall script: omarchy plugin remove unloads the plugin and handles its installed directory. For a Git checkout it deletes that directory; for a local non-Git installation it moves the directory to the hidden backup path in User files. For a symlink installation it removes only the link.

Optional cleanup after removal

Removal leaves profiles, icons, action packs (including the seeded VOXtype pack), state, generated artwork, runtime dependencies, install/removal backups, npm cache/logs, system packages, the udev rule, and Avahi’s service configuration. Back up your settings before deleting them. To remove plugin-owned user data, delete these directories. The following commands respect the XDG locations and runtime override; run them only after removal and after saving anything you want to keep:

rm -rf -- "${XDG_CONFIG_HOME:-$HOME/.config}/omarchy-elgato"
rm -rf -- "${XDG_STATE_HOME:-$HOME/.local/state}/omarchy-elgato"
rm -rf -- "${XDG_CACHE_HOME:-$HOME/.cache}/omarchy-elgato"
rm -rf -- "${OMARCHY_ELGATO_RUNTIME:-${XDG_DATA_HOME:-$HOME/.local/share}/omarchy-elgato/runtime}"

These paths contain:

  • ~/.config/omarchy-elgato/: mappings, custom icons and action packs.
  • ~/.local/state/omarchy-elgato/: status, inventory and locks.
  • ~/.cache/omarchy-elgato/: generated artwork.
  • ~/.local/share/omarchy-elgato/runtime/: npm runtime; use your OMARCHY_ELGATO_RUNTIME location if overridden.

Delete only this plugin’s timestamped backups listed in User files; omarchy-plugin-backups/ and npm’s cache may contain other projects’ data. Development checkouts and their dist/ and node_modules/ also remain. Existing user-journal entries follow your system’s normal retention policy.

To remove the USB access rule after removing the plugin:

sudo rm -- /etc/udev/rules.d/70-omarchy-elgato.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=hidraw --action=add

Disconnect and reconnect the devices to reapply access under the remaining rules. If setup replaces a custom rule at that path, restore your own backup instead. Another Elgato integration may still need this rule.

If setup enables Avahi and no other application needs it, you can reverse that change with sudo systemctl disable --now avahi-daemon.service avahi-daemon.socket. Keep it if other applications rely on local-network discovery. Likewise, review the package table above and your package-manager history before removing packages with omarchy pkg remove (select only packages you no longer need); many are shared Omarchy desktop requirements. Do not delete shared npm caches, package caches, package databases, journal files, or shell.json as part of plugin cleanup. If you want to reclaim shared cache space, use npm/package-manager maintenance tools separately. Package removal handles package-owned files, while configuration files or backups retained by the package manager may need separate review.

There is no automatic package removal or restoration of prior service/rule state, because setup does not keep an ownership or before-state record.

Compatibility and limitations

Model layouts cover Classic variants, Plus, Mini, XL, Neo, Pedal, Studio, Plus XL, and supported Modules. Multiple units of the same model share mappings and page state. Additional models and dial LEDs have automated mock coverage; physical hardware verification is incomplete. The Neo information screen has clock/date, page, microphone mute, and light status. Touch gestures, automatic touch navigation, Studio NFC, Network Dock transport, Wave-specific controls, and Facecam controls are not implemented.

Action packs provide command actions and status queries. Live tile providers and column reservations, such as Herdr agent columns, are not supported.