Skip to content

libnotify

Recipe card from the charly-selkies plugin (Images — the deployable catalog).

Property Value
Dependencies dbus
  • libnotify (RPM) – provides notify-send CLI and libnotify.so shared library
charly.yml
my-image:
candy:
- libnotify

Provides notify-send as a convenience CLI for sending desktop notifications from shell scripts and manual use. The dbus: notify check verb drives the session bus with gdbus instead and does NOT depend on this candy.

When to use notify-send vs the dbus: notify verb

Section titled “When to use notify-send vs the dbus: notify verb”
notify-send dbus: notify verb
Requires libnotify candy gdbus (from glib2) in the venue
Implementation Shell command, libnotify C library gdbus over the executor reverse channel (out-of-process candy/plugin-dbus)
Use case Shell scripts inside container Check-plan desktop-notification steps (the charly cmd completion popup uses the same gdbus path host-side)

Not used in any current box definition. Optional notification CLI – prefer the dbus: notify check verb (driven via gdbus).

Use when the user asks about:

  • notify-send inside containers
  • Shell-based notification scripts
  • The libnotify library or package
  • /charly-image:layer — candy authoring reference (charly.yml schema, task verbs, service declarations)
  • /charly-check:check — declarative testing (check: block, charly check box, charly check live)