Skip to content

Installation

Prerequisites

  • Python 3.9 or later
  • The PolyKybd keyboard connected via USB

Installation

  1. Install Python: Download and install Python 3.9+ from python.org. Check “Add Python to PATH” during installation.
  2. Clone the repo:
    Terminal window
    git clone https://github.com/thpoll83/PolyKybdHost.git
    cd PolyKybdHost
  3. Install dependencies:
    Terminal window
    pip install -e .
  4. Run:
    Terminal window
    python -m polyhost
    Or use the included batch file autorun_polyhost.bat.

Startup options

A plain python -m polyhost launch starts the tray GUI and brings up the background daemon that owns the keyboard (spawning it if one isn’t already running). The other flags select different startup modes:

Terminal window
python -m polyhost # GUI + daemon (default)
python -m polyhost --no-daemon # legacy in-process startup (development)
python -m polyhost --connect # run the GUI as a client of a running daemon
python -m polyhost --headless # run only the daemon, no GUI
python -m polyhost --debug 1 # basic debug logging
python -m polyhost --debug 2 # verbose debug logging
python -m polyhost --host <IP> # forwarder mode (remote machine)
python -m polyhost --portable # skip autostart registration

Autostart

PolyKybdHost can register itself to launch at login. Run it once normally — on first launch it will offer to add itself to your OS startup entries (a non-elevated scheduled task on Windows, a .desktop entry on Linux, a launchd plist on macOS). Use --portable to skip this and remove any existing entry.