getting started

guides

every tool ships an install.sh that copies files into your home directory, adds a launcher, and prints which optional backends it found. the only server it talks to is github - packages come from your distro's repos - and it backs up anything it replaces.

install what you want

one line, or a clone. a dry run in between if you want it.

  1. install Maid BT
    bash <(curl -fsSL https://raw.githubusercontent.com/Maidware-Project/Maid-BT/main/install.sh)
  2. install Maid Runner
    bash <(curl -fsSL https://raw.githubusercontent.com/Maidware-Project/Maid-Runner/main/install.sh)

Each tool has its own installer and can be used on its own. Maid BT also takes --tui for a menu with install, config, doctor and uninstall. Everything goes under your home directory - ~/.local/bin and friends - never into /usr.

bind a key to the runner

the tools never touch your shortcuts. those are yours, they stay on your machine. on plasma:

  1. settings → keyboard → shortcuts → custom shortcuts
  2. add → command/url, command: ~/.local/bin/maid-runner --toggle - one key that opens and closes
  3. pick a key. meta+space is the usual one

check that they can see each other

maid-runner             # empty query on the maid tab lists every action
bluetooth-toggle.sh --doctor  # check Maid BT stack and connectivity
tool by tool

tool by tool

Maid Runner

launcher python · qt maid scroll

type, enter. typing searches every source at once - all applications, files, run, calculator, web and maidware actions - so nothing needs a tab switch. tab still walks the tabs that mirror your app menu, and the maid one can reach your Maid BT actions.

bash install.sh   # app + palettes + launcher
maid-runner
maid-runner --toggle   # one key: open if hidden, close if open
  • applications - read from the same xdg menu data plasma shows. respects NoDisplay/Hidden/TryExec, flatpak exports included
  • the menu's groups - internet, games, multimedia, graphics, office, utilities, development, system, help: a tab per group that has apps, in the app manager's order
  • maid - maidware actions like Maid BT controls. leave the query empty to list them all
  • files - your files by name from your home folder, scanned in the background while the runner is up
  • run - binaries on your PATH, always opened in a terminal so the cli ones work
  • calculator - an ast allowlist, never eval. enter copies the result
  • web - yt, wiki, gh and g/ddg prefixes, bare urls open directly, and everything else goes to SearXNG. opens in your default browser

the first open stays in memory: closing hides the window, and the next keypress is a repaint, not a start. maid-runner --quit stops it; maid-runner --service starts it hidden if you want it from login. on kwin the window is a wayland layer surface, so it never shows in the taskbar or alt-tab. opening and closing fades at your desktop's animation speed.

bare text goes to SearXNG - a free and open source metasearch engine - as the official search behind Maid Runner. it is what we picked on purpose: no profiles, no ad tracking, and results pulled from many engines at once, so your searches stay yours. the instance is yours to choose, and any of the public ones works.

maid scroll is the suite's own theme backend: six palettes - dark, light, tokyo, mallow, green, blue - are built into the window, and caps lock cycles them and remembers the pick. the same six ship as drun themes, for when the window cannot run.

maid-scroll list        # every palette, star on the current one
maid-scroll set mallow  # jump straight to one

NixOS (flakes & home-manager)

inputs.maid-runner.url = "github:Maidware-Project/Maid-Runner"; # tracks main
imports = [ inputs.maid-runner.homeManagerModules.default ];
programs.maid-runner.enable = true;

auto-update on every rebuild/switch: nix flake update maid-runner && sudo nixos-rebuild switch --flake .#<host> --refresh. bind maid-runner --toggle in your compositor/desktop.

full readme →

Maid BT

audio shell · qt · plasma pipewire · bluez

keep your normal bluetooth tool for pairing mice and keyboards. this one handles the earbuds routine: where the sound is right now, and moving it around without a fight.

bash install.sh                # asks for your mac + fallback sink
bluetoothctl pair <MAC>        # then: trust <MAC>
bluetooth-toggle.sh on         # sound moves to your earbuds
bluetooth-toggle.sh release    # hand buds to phone, back is instant
maid-switch phone              # the same handoff, single command
maid-soundcore info            # battery + anc + eq, straight from the buds
bluetooth-toggle.sh off        # disconnect + radio off
  • release is the everyday one - the buds stay half-connected so coming back is instant. set MULTIPOINT=1 once if yours connect to two devices
  • the watcher connects the buds when they show up and parks the sound on your speakers when they disappear
  • optional maid watcher: on a call it pauses music, mutes discord, and puts both back when you hang up. warns at 25% and 12% battery
  • a tray widget with pc / phone / off buttons, a settings window with earbuds / behavior / equalizer pages, plus a helper window for the checks and safe fixes

1.1 adds soundcore device control on the equalizer page: noise modes, nc strength and a 10-band eq write into the buds' own memory (it survives undocking), and the sliders show what is actually on the buds. the wire protocol was reverse engineered by the open source openscq30 project; Maid BT ships its own clean-room python implementation (GPL-3.0-or-later, forkable/open source) and keeps OpenSCQ30 protocol credit. stereo quality defaults to aac/sbc-xq now - ldac is opt-in again from the helper, because several realtek adapters stall its packets. the paired phone also gets three kde connect run commands ("earbuds: audio on pc", "earbuds: audio on phone", "earbuds: who has audio") that wrap the same switcher, and your own entries in that list are never touched.

also optional, and off unless you turn them on: the phone remote (phone/, macrodroid or tasker), pausing ldac when the battery is low, and a wireplumber fix for a start that lags a second behind.

phone remote (optional, LAN)

Flip your earbuds between PC and phone without touching the PC. Off by default at install; core switching never uses the network. Two ways — use either or both.

buttons (manual, KDE Connect)

PC side: KDE Connect Settings → Run commands (they run on the PC):

# command names you can add
PC only       ~/.local/bin/bluetooth-toggle.sh on
Phone only    ~/.local/bin/bluetooth-toggle.sh release
Radio only    ~/.local/bin/bluetooth-toggle.sh radio
Bluetooth Off ~/.local/bin/bluetooth-toggle.sh off

Phone side: open the device → Run commands. For one-tap home-screen buttons: long-press home → Widgets → KDE Connect → Run command → pick device + command. The PC can ping the phone on switch so both ends agree.

intent push (automatic, MacroDroid / Tasker)

Your phone tells the PC what’s playing over your LAN. Needs: the PC on a stable address (DHCP reservation), TCP 8899 open on the PC firewall, and the token from ~/.config/bt-intent.token. Base URL: http://PC_IP:8899. Send the token as an X-Token header (preferred) — ?token= also works but puts the token in the URL.

# phone event          →  GET endpoint       →  PC action
music starts (on buds)  →  /phone_playing     →  parks audio, hands off 4h
music stops             →  /phone_paused      →  hands-off cleared
call starts             →  /call_start        →  parks audio, hands off 2h
call ends               →  /call_end          →  hands-off cleared
health check            →  /health            →  returns ok

MacroDroid (4 macros fit free): triggers Music/Sound Playing (Playing/Stopped), Call Active (Any), Call Ended; constrain to Bluetooth connected to your buds; action HTTP Request GET to the URLs. Set battery to Unrestricted so Android doesn’t kill it in the background. Tasker (paid): same idea via State BT Connected + Event UI → Notification for media, and Phone → Call / Phone Idle for calls; needs notification access + unrestricted battery. For richer automations that need extra Android permissions, Tasker’s Tasker Permissions helper can grant them over ADB (use official sources and follow its guidance).

LAN only. The token rides plain HTTP on your own network — fine at home. Never expose port 8899 past your router. Aggressive battery killers (Samsung, Xiaomi/MIUI, Huawei, OnePlus/Oppo/Realme, Vivo — menus change often) can stop automations; exempt the app. See dontkillmyapp.com for per-brand steps.

NixOS (flakes & home-manager)

inputs.maid-bt.url = "github:Maidware-Project/Maid-BT"; # tracks main
imports = [ inputs.maid-bt.homeManagerModules.default ];
programs.maid-bt.enable = true;
services.maid-bt.watcher.enable = true;    # optional
services.maid-bt.maidWatcher.enable = true; # optional

auto-update on every rebuild/switch: nix flake update maid-bt && sudo nixos-rebuild switch --flake .#<host> --refresh. quick try: nix run github:Maidware-Project/Maid-BT -- status.

full readme → · MacroDroid/Tasker setup guide (source) →

requirements

what each tool needs

everything optional is detected automatically. if a backend is missing the tool says so and moves to the next one. it never installs anything you didn't ask for.

MaidShare

kde connect backend
archkdeconnect debian/ubuntukdeconnect fedorakdeconnect opensusekdeconnect-kde
usb/adb backend
archandroid-tools debian/ubuntuadb fedoraandroid-tools opensuseandroid-tools
qr wifi page
all fourpython3openssl+ qrencode
popups and pickers
all fourkdialog or zenity

Maid Runner

full qt app
all fourPyQt6

the six maid scroll palettes and the maid-scroll command come with the app; there is nothing else to install.

Maid BT

bluetooth
archbluezbluez-utils debian/ubuntubluezbluetooth fedorabluez opensusebluez
rfkill
archutil-linux debian/ubunturfkill fedorarfkill opensuseutil-linux
notifications
archlibnotify debian/ubuntulibnotify-bin fedoralibnotify opensuselibnotify-tools
audio control
archlibpulse debian/ubuntupulseaudio-utils fedorapulseaudio-utils opensusepulseaudio-utils
python3
archpython debian/ubuntupython3 fedorapython3 opensusepython3
phone pings, optional
archkdeconnect debian/ubuntukdeconnect fedorakdeconnect opensusekdeconnect-kde

arch: add pacman-contrib if you want checkupdates for update checks without touching your local database.

safety

backups and dry runs

why you can leave these running without watching them.

dry run first

almost everything takes --check. it prints what it would do and exits without touching a file.

bash install.sh --check
update-all.sh --check

timestamped backups

a file an installer is about to overwrite becomes <name>.bak-<timestamp> first - but only if the contents actually differ, so reinstalling doesn't fill your home directory with copies.

snapshots around updates

When a tool changes files, it keeps timestamped backups so you can see what happened and roll back if needed.

manual stays manual

  • reboot warnings - printed, never performed
  • bootloader edits - printed exactly, run by you
  • firmware updates - need root and a reboot, so they're described, not run
  • proprietary drivers - not offered at all

two ways to install

clone and run install.sh, or one line straight from github: bash <(curl -fsSL .../install.sh). the piped path fetches the repo tarball once, then installs from it - the only network the installer touches is github, and packages still come from your own package manager.

troubleshooting

troubleshooting

where are the logs?

  • Maid BT → check bluetooth-toggle.sh --doctor output
  • MaidShare → force a backend so you see its output directly
  • the Maid BT watcher → journalctl, or the tray widget if you started it that way

do these install background services?

MaidShare, Maid Runner, and Maid Suite don't - they run when you call them and exit. Maid BT ships optional systemd units for its watcher and phone listener. maid watcher runs as a normal user process through xdg autostart, so it doesn't care which init you use.

how do i test a change safely?

each repo carries a suite, run from the repo root:

bash tests/run.sh

they use stub farms and overridable test seams, so nothing on your real system is touched unless you say so. ci runs the same suites.

something didn't work

  1. re-run the installer with --check and read the backend report
  2. run the module in check mode - exit 2 means it still needs attention
  3. open an issue with that output. every script prints plain english lines for exactly this

can i use one without the others?

yes. they're separate packages with separate installers. the parts that reach across the suite - the runner's maid tab, the helper handing gamepad work to Maid BT - just quietly do less when something's missing.

still stuck? open an issue. links are on each tool on the tools page.