Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Privacy

An icon next to the island while an app records from a microphone or has a camera open: a microphone in orange, a camera in green, or both. A muted microphone shows crossed out and grey, since whoever records hears nothing. A click on the bubble mutes the default microphone, or unmutes it.

With wide = true in [bubbles.privacy], the bubble names the apps:

[bubbles.privacy]
wide = true

The microphone comes from the audio module, which lists the apps recording from an input. It leaves out Mochi’s own level meters and recordings of what an output plays, like a visualizer. Without the audio module, nothing shows for the microphone.

The camera comes from /proc: the processes with a /dev/video* device open, checked every 2 seconds. An app that uses the camera through PipeWire shows as pipewire, which opened the device for it.

# Privacy: a microphone or camera icon next to the island while an app uses
# them. A click mutes the microphone, or unmutes it.
[module.privacy]
# Apps recording from a microphone, which the audio module reports; without
# it, nothing shows for the microphone.
# microphone = true
# Apps with a camera open, from /dev/video* in /proc, checked every 2
# seconds.
# camera = true

mochi ipc privacy status prints who uses what.