Monday, March 24, 2025
1 change · saas-18.1
Enhancements to existing features
The IoT box display system has been modernized to improve reliability when screens are connected, disconnected, or absent. This reduces startup issues, avoids unnecessary browser use without a display, and shows an Odoo-branded background while services load.
Original PR description
Before this commit, the IoT box used an X11 server with the LightDM desktop environment and Openbox window manager. There were many issues in this setup, particulary involving display hotplugging. After this commit, the IoT box now uses Wayland with the LabWC compositor. This results in several improvements: - Display hotplugging now works in all situations, on all models of Raspberry Pi. - A bug where Chromium couldn't start is now avoided in this new setup. - The 'dummy display' is no longer necessary. LabWC will start with no displays connected without issue. - When no displays are plugged in, the browser is no longer running needlessly. - The `sync_touchscreen.sh` script is no longer needed, as LabWC can map to touchscreens. - A Odoo logo desktop background is set to avoid just having a blank screen whilst Odoo is starting. task-4657986 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr