Skip to content

abstract weston.ini configuration to display domain variables - #8

Merged
flowzone-app[bot] merged 1 commit into
mainfrom
abstract-display-configuration
Jun 4, 2026
Merged

flowzone-app[bot] merged 1 commit into
mainfrom
abstract-display-configuration

Conversation

@rahul-thakoor

Copy link
Copy Markdown
Contributor

This decouples the block's public configuration interface from Weston-specific implementation details, ensuring fleet variables remain stable and compositor-agnostic even if the underlying display server changes in the future. Some values are still Weston-specific, but this is a step towards a more flexible and maintainable configuration system.

Change-type: minor

@flowzone-app
flowzone-app Bot enabled auto-merge June 4, 2026 06:57
@rahul-thakoor

Copy link
Copy Markdown
Contributor Author

Tests

using DISPLAY_* env vars:

1.

image image

2.

image image

3.

image image

@rahul-thakoor
rahul-thakoor requested review from alanb128 and chrisys June 4, 2026 07:27
@rahul-thakoor
rahul-thakoor force-pushed the abstract-display-configuration branch from a2103ec to 7adcb9d Compare June 4, 2026 14:56
Comment thread README.md Outdated
| `WESTON_INI_CORE_REQUIRE_INPUT` | `true`, `false` | `false` | Dictates whether Weston requires an active input device to launch. false permits display-only deployments. |
| `WESTON_INI_SHELL_LOCKING` | `true`, `false` | `false` | Enables or disables screen locking functionality within the shell context. |
| `WESTON_INI_SHELL_PANEL_POSITION` | `top`, `bottom`, `left`, `right`, `none` | `none ` | Sets the location of the desktop panel. none disables the panel entirely, ensuring an unobstructed viewport. |
| `WESTON_INI_PATH` | Absolute path to a custom `weston.ini` file | - | When this variable is set and the file is present, Weston will be luanched directly using the provided file. Consequently any other `DISPLAY_*` environment variables defined for the container will be ignored. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
| `WESTON_INI_PATH` | Absolute path to a custom `weston.ini` file | - | When this variable is set and the file is present, Weston will be luanched directly using the provided file. Consequently any other `DISPLAY_*` environment variables defined for the container will be ignored. |
| `WESTON_INI_PATH` | Absolute path to a custom `weston.ini` file | - | When this variable is set and the file is present, Weston will be launched directly using the provided file. Consequently any other `DISPLAY_*` environment variables defined for the container will be ignored. |

This decouples the block's public configuration interface from Weston-specific
implementation details, ensuring fleet variables remain stable and compositor-agnostic
even if the underlying display server changes in the future. Some values are still Weston-specific,
but this is a step towards a more flexible and maintainable configuration system.

We also restrict supported DISPLAY_UX_MODE values to 'kiosk' and 'desktop' (upstream 'fullscreen' shell is deprecated; 'ivi' is out of scope)

Change-type: minor
Signed-off-by: Rahul Thakoor <rahul@balena.io>
@rahul-thakoor
rahul-thakoor force-pushed the abstract-display-configuration branch from 7adcb9d to e09e980 Compare June 4, 2026 15:07
@rahul-thakoor
rahul-thakoor requested a review from chrisys June 4, 2026 15:07
@flowzone-app
flowzone-app Bot merged commit 654b7e1 into main Jun 4, 2026
49 checks passed
@flowzone-app
flowzone-app Bot deleted the abstract-display-configuration branch June 4, 2026 15:09
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.

2 participants