Skip to content

KVM bar: start Deskflow on a computer whose tray app is connected (server 0.3.36, client 0.1.36) - #92

Merged
NickMarcha merged 1 commit into
mainfrom
start-deskflow
Nov 23, 2026
Merged

NickMarcha merged 1 commit into
mainfrom
start-deskflow

Conversation

@NickMarcha

Copy link
Copy Markdown
Owner

On 2026-11-21 sage-dev's Deskflow was down while its tray app stayed connected to the hub, and the only way to start it again was a keyboard plugged into sage-dev. The trays now restart Deskflow by themselves (bragi#88), but there was still nothing at the desk for the cases that misses.

  • Client: client_hello lists deskflow when Deskflow is set up as a client here (remoteHost= in Deskflow.conf). deskflow_start starts Deskflow, or restarts it if it runs without being connected: through systemd on Linux, C:\Program Files\Deskflow\deskflow.exe on Windows.
  • Hub: the KVM bar shows ": start Deskflow" after the connected computers, for those whose Deskflow isn't connected but whose tray app is and can start it (by peer name or alias). POST /kvm/start-deskflow sends deskflow_start to that tray app. The bar reloads when such a tray app connects or leaves.

Tests:

  • pytest 499 passed (Linux). A new test covers the button and the message for a capable tray, and that no button appears for an older tray, a computer without a tray app, or after the tray leaves.
  • dotnet test 140 passed, with a new hello test.

🤖 Generated with Claude Code

On 2026-11-21 sage-dev's Deskflow was down while its tray app stayed
connected, and only a keyboard plugged into sage-dev could start it.

Client (0.1.36): client_hello lists "deskflow" when Deskflow is set up as
a client here, and "deskflow_start" starts it, or restarts it if it runs
but isn't connected (systemd on Linux, Program Files\Deskflow on Windows).

Hub (0.3.36): the KVM bar shows "<computer>: start Deskflow" for KVM
computers whose Deskflow isn't connected but whose tray app is and says
it can (POST /kvm/start-deskflow). The bar reloads when such a tray app
connects or leaves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@NickMarcha
NickMarcha merged commit ea8fed2 into main Nov 23, 2026
@NickMarcha
NickMarcha deleted the start-deskflow branch November 23, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant