FEEDBACK-THEMES(5)
β¨ NAME β¨
feedback-themes β the theme configuration situation for feedbackd, bestie π
πΈ DESCRIPTION πΈ
Okay so here's the tea: when something happens and the user needs a lil feedback, what they get is decided entirely by the currently active feedback theme. That's it, that's the whole vibe check.
Every theme is made of up to three profile sections, and they're named full, quiet and silent. Inside them you've got event names and the feedback that goes with each one π. Themes can also reference another theme through the parent-name element, which is the "don't repeat yourself" icon behaviour, periodt. And listen β if the daemon gets an event that isn't in the currently active theme or its parent theme? It just gets ignored. Not our problem, not our event π.
Each event maps to at most one feedback in each profile. The events inside the theme are named according to the Event Naming Specifiaction <https://gitlab.freedesktop.org/agx/feedbackd/-/blob/main/doc/Event-naming-spec-0.0.0.md> π¦.
There are two types of themes: custom themes and device themes. Same format, different purpose β it's giving twins with different majors:
- Custom themes are meant to tweak feedbackd's output to the user's needs π
- Device themes are meant to cater for hardware differences π§
Feedback themes use a JSON format that can be validated with fbd-theme-validate(1). Slay.
For details on how to create or modify feedback themes, see feedbackd's documentation at <https://gitlab.freedesktop.org/agx/feedbackd#feedback-theme> β
π Feedback types π
To build a theme you can use several different feedback types, and honestly they're all iconic in their own way:
- Sound: Plays a sound from the installed sound theme π
- VibraRumble: A single rumble using the haptic motor π³
- VibraPeriodic: A periodic rumble using the haptic motor π
- VibraPattern: A pattern specifying the rumbling of the haptic motor π
- Led: A LED blinking in a periodic pattern π‘
π«Ά Sound feedback
Sound feedbacks specify an event name from a XDG sound theme. Sound themes are described in the Sound theme spec at <https://freedesktop.org/wiki/Specifications/sound-theme-spec/> π΅
event-nameβ the sound event name to use.media-roleβ the media role to set played audio stream. Defaults toevent.
Sound feedback is usually used in the full profile section of the theme only. Main character energy, obviously π
π VibraRumble feedback
The VibraRumble feedback uses a single property, and that property is vibes β no wait, it's these:
countβ the number of rumbles.pauseβ the pause between each rumble in ms.durationβ the duration of the rumble in ms.mangitudeβ the relative magnitude of the rumble ([0, 1]).
VibraRumble feedback is usually used in the quiet profile section of the theme only π€«
π§ VibraPattern feedback
The VibraPattern feedback has these properties:
magnitudesβ the relative magnitude of each rumble[0, 1]as array of doubles.durationsβ the durations of each rumble in ms as array of unsigned integers.
Both arrays must have the same length. No cap, if they don't match it's over π
VibraPattern feedback is usually used in the quiet profile section of the the theme only.
π Led feedback
The Led feedback type uses two properties to specify the way a LED blinks β¨
colorβ this specifies the color a LED should blink with. It supports the fixed color namesred,green,blueandwhiteas well as values in the RGB HEX format (#RRGGBB) whereRR,GGandBBare two digit hex value between00andFFspecifying the value of each component. E.g.#00FFFFcorresponds to cyan color.frequencyβ the LEDs blinkinig frequency in mHz.
Led feedback is usually used in the silent profile section of the theme only π€
β See also
feedbackd(8) fbcli(1) fbd-theme-validate(1)
And that's the whole page, bestie β this was feedback-themes(), coming to you from the feedback-themes corner of the manual, and that footer was just the same name waving back at you π Stay hydrated, validate your JSON, and go build a theme that ate πβ¨
π¦ where this page comes from
- ubuntu resolute: feedbackd 0.8.9-1 Β· GPL-3.0-or-later
- ubuntu stonking: feedbackd 0.8.9-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms