Simple daemon to react to Qubes OS events (VM started etc.) with configurable commands.
- Clone this repository and copy it to a directory of your liking in
dom0, let's assume/usr/share/qubes-callbackd. - (Optional): To identify the event that you want to execute a callback command on, you can observe the events that
Qubes OS generates with the default
callbackd.jsonconfiguration. Just execute/usr/share/qubes-callbackd/callbackd.pyand watch the events whilst using Qubes OS. - Configure
/usr/share/qubes-callbackd/callbackd.jsonaccording to your needs. Each entry must map an event name to a command, binary or script to execute. The special event name*can be used to handle all events. - Use
systemdor some other way to start/usr/share/qubes-callbackd/callbackd.pyon boot. An exemplarysystemdconfig is included in this repository.
Just remove the directory created during the installation.
© 2022 David Hobach
qubes-callbackd is released under the GPLv3 license; see LICENSE for details.