Skip to content

Add screen_ui=none support and short-circuit GUI startup#176

Open
Copilot wants to merge 6 commits into
mainfrom
copilot/add-none-option-for-screen-ui-setting
Open

Add screen_ui=none support and short-circuit GUI startup#176
Copilot wants to merge 6 commits into
mainfrom
copilot/add-none-option-for-screen-ui-setting

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 9, 2026

This updates screen UI configuration to support an explicit none value and makes gui-switcher treat it as a no-display mode. When selected, no GUI init script is started and the panel backlight is forced off.

  • Config manager

    • Accepts none as a valid value for ui.screen_ui
    • Preserves the setting instead of dropping it during validation/merge
  • GUI switcher

    • Handles screen_ui=none with a single branch
    • Sets brightness to 0 and skips GUI launch in that branch
    • Keeps the normal brightness + GUI startup path isolated in the else branch
  • Result

    • Supports a clean headless-screen configuration without relying on invalid config values or extra service logic
[ui]
screen_ui = none
screen_brightness = 100

With this config, gui-switcher turns the display backlight off and does not start any screen UI.

Copilot AI and others added 5 commits May 9, 2026 11:56
Agent-Logs-Url: https://github.com/OpenCentauri/cosmos/sessions/3573d900-5c15-4fa6-a357-78a50892c822

Co-authored-by: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCentauri/cosmos/sessions/3573d900-5c15-4fa6-a357-78a50892c822

Co-authored-by: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCentauri/cosmos/sessions/3573d900-5c15-4fa6-a357-78a50892c822

Co-authored-by: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCentauri/cosmos/sessions/6a6ad9fa-e128-4215-b074-46e7e575fbcf

Co-authored-by: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
Agent-Logs-Url: https://github.com/OpenCentauri/cosmos/sessions/6a6ad9fa-e128-4215-b074-46e7e575fbcf

Co-authored-by: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
@Atomique13
Copy link
Copy Markdown
Member

+1

Copilot AI temporarily deployed to approval-needed May 11, 2026 09:30 Inactive
@github-actions
Copy link
Copy Markdown

✅ Build Artifacts

Branch: copilot/add-none-option-for-screen-ui-setting
Build: 6c0c51d (merge into main)

Artifact Size
CC1 Firmware 91.56 MB

View workflow run

@suchmememanyskill suchmememanyskill deployed to approval-needed May 11, 2026 18:11 — with GitHub Actions Active
@github-actions
Copy link
Copy Markdown

✅ Build Artifacts

Branch: copilot/add-none-option-for-screen-ui-setting
Build: ff4021d (merge into main)

Artifact Size
CC1 Firmware 91.61 MB

View workflow run

@suchmememanyskill suchmememanyskill marked this pull request as ready for review May 11, 2026 18:38
@suchmememanyskill
Copy link
Copy Markdown
Contributor

Screen turns black after startup, that's the expected behaviour

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.

3 participants