Repository navigation
Voice Commands
Everything below is in English.
Anything that matches none of these rules becomes a question for the AI backend.
Tip: test a phrase without speaking it —
blackvoice text "open firefox"shows you exactly which skill it routes to.
open firefox-
launch vlc·start code -
close chrome·quit spotify
Known aliases resolve to whatever is actually installed: browser, terminal,
files, editor, calculator, music, video, settings, system monitor.
So open browser finds Firefox, Chromium, Chrome, Brave or Epiphany — whichever
is on the machine.
Anything else is treated as the binary name, then as a .desktop entry. Set your
preferred defaults in skills.browser, skills.terminal, skills.editor and
skills.file_manager — see Configuration.
-
volume up·louder -
volume down·quieter -
volume 40·set volume to 70 muteunmute
Uses PipeWire (wpctl), then PulseAudio (pactl), then ALSA (amixer) —
whichever is present. Up and down move in steps of 10.
-
brightness up·brighter -
brightness down·dim the screen brightness 70
Uses brightnessctl, then light, then raw sysfs. Never goes below 5% — a
misheard number should not blank your screen.
If it refuses, you are probably not in the video group:
sudo usermod -aG video $USER # then log out and back inscreenshotlock screenshut down-
restart·reboot log outsuspend
Screenshots land in ~/Pictures with a timestamped name. Six tools are tried:
gnome-screenshot, spectacle, grim, scrot, import, maim.
Every power action asks for confirmation first. Say “yes” to go through with it.
-
wifi off·turn on the wifi bluetooth on-
battery·battery status -
system info·cpu usage
Turning Wi-Fi or Bluetooth off asks for confirmation first, the same as a power command - turning either back on does not. See Security Model for why.
battery reports the charge and, on battery power, the estimated time left.
system info shows CPU, memory, disk and uptime.
open downloads-
open documents·open desktop find file report.pdfcreate folder demodisk space
Recognised folders: downloads, documents, desktop, pictures, music, videos, home, trash. Localised XDG directory names are respected, so this works on a non-English desktop.
find uses plocate/locate when available and falls back to a depth-limited
walk of your home directory, skipping .git, node_modules, caches and dotfiles.
It returns at most 8 matches.
Leave the name out - find a file, search for the document - and it asks
"What should I look for?" and searches for whatever you say next, rather than
needing the full command in one breath. That follow-up is not a new command:
say anything at all and it is taken as the file name, searched for exactly as
given.
create folder strips anything that is not a letter, digit, space, hyphen or
underscore, and only ever creates inside your home directory.
run command df -hexecute command uptime
Read-only commands run immediately. Anything else asks first. A short deny-list never runs at all. This is covered properly in Security Model — read it before using this skill.
The recogniser spells out punctuation, so dash, double dash, slash, dot,
star and tilde are translated back into -, --, /, ., * and ~.
-
what time is it·time -
what is the date·date -
weather·weather in Jaipur
Weather comes from wttr.in and needs no API key. With no city
it geolocates by IP; set skills.weather_city to pin it.
set timer for 5 minutesremind me to call mom in 20 minutes
Seconds, minutes and hours are understood, up to 24 hours. When a timer fires it speaks and raises a desktop notification.
Timers survive a restart — a crash, an upgrade, a reboot. Each one is saved to
~/.local/share/blackvoice/timers.json the moment it is set and removed once
it fires; on the next startup anything still pending is rescheduled for
whatever time is left, and anything that was due while nothing was running is
spoken once, immediately, rather than dropped.
take a note buy milkread my notes
Notes append to ~/.local/share/blackvoice/notes.md with a timestamp. Reading
them speaks the last five.
search for python decoratorsgoogle linux distros-
play·pause -
next·next song previous song
Search opens your browser at DuckDuckGo; change skills.search_url for a
different engine. Media control needs playerctl, falling back to xdotool.
calculate 12 * 8what is 100 / 45 + 3
Only numbers and operators are evaluated — + - * / % ** and parentheses. It
parses an abstract syntax tree rather than calling eval, so names, calls and
attributes are rejected. Say “x” or “times” for multiplication.
A phrase without an operator is treated as a question, not a sum: “what is 42” goes to the AI.
-
help·what can you do -
stop·cancel·never mind -
go to sleep·stop listening -
yes·ok·go ahead -
no·don't
“Yes” and “no” only mean something while a confirmation is pending. At any other time they are just words.
Rules are tried in order, first match wins. The generic open X and close X
rules are deliberately tried last, so open downloads reaches the folder
rule and run command df -h reaches the terminal rule rather than being read as
an application named “command df -h”.
Two rules are also rejected when they look like questions instead of commands:
-
calculateneeds an actual operator in the expression -
open/closereject targets longer than four words, and phrases starting with question words (what,why,how, …)
There are 42 rules in total. They live in
blackvoice/nlu/intents.py;
adding your own is covered in Writing Skills.
blackvoice text "the phrase you said"If text mode routes it correctly but speech does not, the problem is recognition, not routing — see Troubleshooting → Recognition is poor.
Black Voice — a Rudra Labs product · Repository · MIT licensed
This wiki is generated from the wiki/ folder in the repository. Edits made
here are overwritten on the next sync — send a pull request instead.
Using it
Understanding it
Extending it
Help