Files
lhns--steam-frame-nix/modules/launchers/fixtures/expected/org.example.App.desktop
T
Pierre Kisters 92e9d17e09 Launchers: a neutral example app in docs and tests
The Nix-package launcher example in docs and option examples is now
Signal (pkgs.signal-desktop, desktop ID "signal", sgnl:// and
signalcaptcha:// handlers). The check uses a made-up org.example.App
from a fake package (fake store path), covering the same Exec, action,
MimeType, source and missing-entry cases.

Screenshots: placeholder Steam account IDs in the docs, option example
and check.
2026-10-01 18:06:50 +02:00

27 lines
1.2 KiB
Desktop File

[Desktop Entry]
Name=Example App
Comment=A made-up Electron app from a Nix package
GenericName=Example
Keywords=Example;Test;
Exec=env DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus /nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app --password-store=kwallet6 %U
Icon=example-app
Type=Application
StartupNotify=true
# Matches the Wayland app_id / X11 WM_CLASS Electron derives from
# package.json desktopName, so docks group windows under this entry.
StartupWMClass=org.example.App
# second-instance just focuses the main window
SingleMainWindow=true
Categories=Utility;Development;
MimeType=x-scheme-handler/example;
Actions=NewWindow;NewSession;
X-SteamFrameNix-Source=@SOURCE@
[Desktop Action NewWindow]
Name=New Window
Exec=env DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus /nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app --password-store=kwallet6 "example://app/new?surface=window&source=desktop_action"
[Desktop Action NewSession]
Name=New Example Session
Exec=env DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus /nix/store/00000000000000000000000000000000-example-app-1.0/bin/example-app --password-store=kwallet6 "example://session/new?source=desktop_action"