Skip to content

feat: add headed mode and custom display support to CLI#3

Open
arielfrja wants to merge 1 commit into
salviz:mainfrom
arielfrja:feature/headed-mode
Open

feat: add headed mode and custom display support to CLI#3
arielfrja wants to merge 1 commit into
salviz:mainfrom
arielfrja:feature/headed-mode

Conversation

@arielfrja

Copy link
Copy Markdown

This PR adds support for running TBP in headed mode (visible window) and specifying a custom X11 display.

Key changes:

  • Added --headed flag to tbp start to skip internal Xvfb/Openbox and use an existing display.
  • Added --display flag to tbp start to specify the target X11 display (e.g., :0).
  • Implemented a pre-launch validation check using xdpyinfo to ensure the requested display is reachable, preventing the daemon from hanging if the X server is missing.
  • Updated Daemon class to propagate these settings to the Pilot instance.

This allows TBP to run directly within active XFCE or Termux:X11 sessions.

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