May you please disable it or just let me know how to do that myself? Editing weston.ini works, but I would like to automate it in docker-compose, for example.
Thank you!
May you please disable it or just let me know how to do that myself? Editing weston.ini works, but I would like to automate it in docker-compose, for example.
Thank you!
Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Based on the available sources, I don’t have specific documentation about disabling the Weston keyboard directly through Docker Compose environment variables or command-line parameters.
However, you can automate the weston.ini customization in your Docker Compose setup using a bind mount approach(1):
Create a custom weston.ini file on your host with the keyboard disabled (comment out or remove the keyboard-related sections)
Bind mount the configuration directory in your docker-compose.yml(1):
services:
weston:
image: torizon/weston:4
volumes:
- <path_to_directory_containing_weston.ini_file>:/etc/xdg/weston/
This volume mount will override the default weston.ini file with your custom configuration(1).
For a production-ready solution, you can extend the Torizon Weston container with your custom configuration file(1). This involves creating a Dockerfile that copies your modified weston.ini into the image.
Could you let me know which Torizon OS version and hardware platform you’re using? This will help me provide more specific guidance if needed.
Best regards,
Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.
Greetings @vic,
I would recommend following our article here: Working with Weston on Torizon OS | Toradex Developer Center
In short, you either have a custom weston.ini that you store on the Torizon OS filesystem, then just bind-mount that into the Weston container during runtime to override the default weston.ini. Or, do a re-build of our Weston container image that uses your weston.ini instead of ours.
Please note our containers are not meant to be a one-size fits all solution. They are designed to be customizable to each user’s specific needs.
Best Regards,
Jeremias