When using Aenea for dictation on
linux it is sometimes frustrating to not know the state of the microphone.
This applet allows users to place a microphone icon in a panel that displays
the current Dragon microphone state. The applet itself doesn't hook into
Dragon. Instead its icon color set via dbus method calls. Typically Aenea will
hook into natlink to get microphone state updates and then make the dbus method
call to set icon color.
./install.sh
Valid colors are "idk" | "green" | "yellow" | "red"
dbus-send \
--type=method_call \
--print-reply \
--dest=com.mhzizzi.AeneaIndicator.Interface \
/com/mhzizzi/AeneaIndicator/Interface \
com.mhzizzi.AeneaIndicator.Interface.SetAppletIcon \
string:green
Drop the files from the plugins
directory into Aenea's linux x11 server
plugins directory. This plugin will wait for RPC calls from the Aenea client
to change indicator color.
Drop the _indicator.py
grammar file into your MacroSystem folder to enable
sending RPCs to the Aenea server. This works by monkey-patching natlink's
natlinkmain.changeCallback
to include RPC calls.