GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(amd): wvkbd on-screen keyboard, tied to Sunshine streams by dezren39 · Pull Request #7817 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Drew streams the laptop desktop to his phone via Sunshine/Moonlight and asked for a permanent on-screen keyboard that runs ONLY while he is connected via Sunshine — not at plain desktop login (his steering; an unconditional Hyprland autostart was in the first cut and was removed before this PR).

Changes:

  • home/common/default.nix: install pkgs.wvkbd in home.packages.
  • nixos/hosts/amd-sunshine.nix: wire Sunshine global_prep_cmd (key verified present in the pinned Sunshine binary, 2026.914.233613; the module renders the JSON string verbatim into sunshine.conf via its keyValue format) to two scripts:
    • sunshine-wvkbd-start at stream start: pgrep guard, then setsid -f wvkbd-mobintl -L 500 (detached, returns immediately — Sunshine waits for prep commands to exit before streaming).
    • sunshine-wvkbd-stop at stream stop: pkill -x wvkbd-mobintl.
  • config/hypr/hyprland.lua: SUPER+SHIFT+O re-shows the keyboard (SIGUSR2; launches it if not running). SUPER+SHIFT+K was already taken by a workspace-move bind, hence O.

Verification: full nixosConfigurations.amd toplevel builds on amd from this branch (after #7816 repaired the fleet package build, which was broken on main and blocked any toplevel build). Post-merge: switch + live checks (profile path, generated sunshine.conf, prep do/undo simulation, Sunshine/opencode services).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 21:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T22:52:44.823657Z 9386744 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dc137770-fe3e-4441-8380-3c63dd6d8a64
Commits

Reviewing files that changed from the base of the PR and between fc0825d and 9386744.

Files selected for processing: 3

  • config/hypr/hyprland.lua
  • home/common/default.nix
  • nixos/hosts/amd-sunshine.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b92ce163e3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread nixos/hosts/amd-sunshine.nix
# into sunshine.conf by the module's keyValue format, in the
# JSON shape this Sunshine build parses (key verified present
# in the pinned binary; prep_cmd_t in src/config.cpp upstream).
global_prep_cmd = "[{\"do\":\"sunshine-wvkbd-start\",\"undo\":\"sunshine-wvkbd-stop\",\"elevated\":false}]";

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Tie keyboard cleanup to stream disconnects

When Moonlight disconnects without quitting the desktop application, or the phone loses its connection, the detached keyboard remains visible on the laptop even though no stream is active. In the pinned Sunshine version, global prep commands follow the application lifecycle: undo runs in proc_t::terminate(), whereas the final streaming-session disconnect leaves a running application alive for resume. Consequently, this hook does not enforce the stated stream-only behavior; keyboard cleanup needs to track actual connected sessions rather than only application termination.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
dezren39 force-pushed the feat/wvkbd-onscreen-keyboard branch from b92ce16 to f693ea8 Compare November 8, 2026 22:10
repo-worker-code-k
feat(amd): wvkbd on-screen keyboard, tied to Sunshine streams
9386744
Drew uses the laptop over a Sunshine/Moonlight stream from his
phone and asked for a permanent on-screen keyboard that runs ONLY
while he is connected via Sunshine — not at plain desktop login.

- home/common/default.nix: install pkgs.wvkbd in home.packages.
- nixos/hosts/amd-sunshine.nix: wire Sunshine global_prep_cmd to
  two small scripts: sunshine-wvkbd-start at stream start (pgrep
  guard + setsid-detached wvkbd-mobintl -L 500, returns at once so
  Sunshine does not block on it) and sunshine-wvkbd-stop at stream
  stop (pkill wvkbd-mobintl). The global_prep_cmd key is present in
  the pinned Sunshine binary; the module renders the JSON string
  verbatim into sunshine.conf via its keyValue format.
- config/hypr/hyprland.lua: SUPER+SHIFT+O re-shows the keyboard
  (SIGUSR2; launches it if not running). SUPER+SHIFT+K was already
  taken by a workspace-move bind, hence O.
@dezren39
dezren39 force-pushed the feat/wvkbd-onscreen-keyboard branch from f693ea8 to 9386744 Compare November 8, 2026 22:50
@dezren39
dezren39 merged commit 07f1495 into main Nov 8, 2026
1 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the feat/wvkbd-onscreen-keyboard branch November 8, 2026 23:26
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Deploy status: NOT YET SWITCHED — blocked on pre-existing main breakage in the id package, found while building the amd toplevel from this branch.

Two lib tests fail deterministically on current main (reproduced with plain cargo, not a nix artifact): world::tests::schedule_tests::a_fire_the_program_refuses_stays_pending_in_the_journal and world::tests::schedule_tests::replay_reproduces_the_pending_and_fired_sets — WorldCore::restore rejects the actor journal with "journal event at sequence 1 uses participant 1 before it was issued" (src/world/tests.rs:7166, 7258). Likely from todays journal-gate work (#4535). Everything else in the toplevel now builds (fleet + earlier id test-literal breaks were fixed in #7816, #7822, #7836; mcpx has one load-sensitive flaky test, TestRetentionAcrossReopenRunsFromCompletion, which passes standalone and passed on build retry).

To deploy once id is green on main: build .#nixosConfigurations.amd.config.system.build.toplevel from a clean checkout of main, then nixos-rebuild switch --flake <checkout>#amd. Post-switch checks: generated sunshine.conf carries the global_prep_cmd line, hyprland.lua carries the SUPER+SHIFT+O bind and no wvkbd autostart, and with no stream active no wvkbd should be running (the pre-existing nix-run stopgap instance should be retired at that point).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 9, 2026
test(id): journal the fixture issuance in scheduling_actor (#2894 fallout) #7925
Merged
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Deploy completed 2026-11-08 ~21:05 CST, following the blocker documented above.

  • The id lib-test breakage was root-caused and fixed in PR test(id): journal the fixture issuance in scheduling_actor (#2894 fallout) #7925 (merged, 0f9e47131f): the scheduling_actor test fixture minted its participant directly on WorldCore without journaling the Issued entry, producing a journal no live path can write; restore's id(world): journal restore never validates Committed/Checkpoint event authors — inputs and chat from never-issued participants restore, replay, and project #2894 author validation (PR id(world): validate event authors on journal restore (#2894) #4518) correctly refused it. Fixture now journals the issuance exactly as WorldActor::record_issued does. Full pkgs/id cargo test green on every target.
  • nix build .#nixosConfigurations.amd.config.system.build.toplevel from merged main: green — /nix/store/5fx4fmfd6w0ky1f6i25xckp63daqpmnj-nixos-system-amd-26.11.20261102.f9887a8.
  • Switch executed via the direct path (system profile --set + switch-to-configuration switch): generation 548 → 549, /run/current-system is the toplevel above.
  • Verified live: Sunshine active and running with the new config containing global_prep_cmd=[{"do":"sunshine-wvkbd-start","undo":"sunshine-wvkbd-stop","elevated":false}]; wvkbd-mobintl + both helper scripts in the user profile; the always-on stopgap (PID 405754) retired with no Moonlight stream active; do/undo simulated — sunshine-wvkbd-start raised the wvkbd layer (overlay, 2880x500, bottom), sunshine-wvkbd-stop removed it. OpenCode (:13420) and OpenChamber left running.

The only remaining end-to-end check is a real stream start on Drew's next Moonlight connect, which exercises the same prep commands just simulated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 14, 2026
Retroactive home for PR #7817: feat(amd): wvkbd on-screen keyboard, tied to Sunshine streams #10082
Closed
@dezren39 dezren39 added the audit:no-issue No spawning issue; judged on stated intent label Nov 25, 2026
@dezren39

dezren39 commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

AUDIT-7 Lane 4 review: no spawning issue was linked when PR #7817 merged; the retroactive record is #10082, created by the 90-day closed-item review on 2026-11-12. The PR's stated intent—start wvkbd only during Sunshine streams and provide a re-show shortcut—is implemented, and its comments record the post-merge switch/live checks. Marked audit:no-issue based on that stated intent.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 25, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
docs: AUDIT-7 batch 3 partial ledger (226 PRs, 4 invalid IDs) #14847
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:no-issue No spawning issue; judged on stated intent

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.