Hi, Iโm the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Gerald,
To display a simple screensaver or logo on a connected HDMI display using a Torizon module, you can follow these steps:
-
Prepare the Image:
- Ensure you have the image file (e.g., a logo or screensaver image) in a format supported by the display software (e.g., PNG, JPEG).
-
Set Up Weston:
- Torizon uses the Weston Wayland compositor for display management. You need to have the Weston container running on your module.
- If you havenโt already, pull and start the Weston container:
docker pull torizon/weston docker run -d --rm --name=weston --net=host --cap-add CAP_SYS_TTY_CONFIG -v /dev:/dev -v /tmp:/tmp -v /run/udev:/run/udev torizon/weston
-
Display the Image:
- You can use a simple image viewer like
feh
to display the image. First, you need to installfeh
in a container. You can use a Debian container for this purpose:docker run -it --rm --name=debian --net=host -v /tmp:/tmp torizon/debian:latest-std bash apt-get update apt-get install -y feh
- You can use a simple image viewer like
-
Run the Image Viewer:
- Once
feh
is installed, you can use it to display your image. Assuming your image is located at/path/to/your/image.png
, you can run:feh --fullscreen /path/to/your/image.png
- Once
-
Automate the Screensaver:
- If you want to automate the display of the screensaver, you can create a script that runs the
feh
command and set it to execute at startup or after a certain period of inactivity.
- If you want to automate the display of the screensaver, you can create a script that runs the
-
Optional - Use a Screensaver Application:
- Alternatively, you can use a dedicated screensaver application like
xscreensaver
. Install it in a similar manner and configure it to display your desired screensaver.
- Alternatively, you can use a dedicated screensaver application like
By following these steps, you should be able to display a simple screensaver or logo on your connected HDMI display using a Torizon module.
Best regards,
[Your Name]
Please, also check if these links can help you solve your problem: