Default to fullscreen at connect or remove virtual keyboard
Hello,
We are using 3 of these units to allow access to operators from various setup benches around the shop and would be great if we could default to fullscreen at connect time? also would a good way to make them view only be to just remove the USB link to the control so then it will just show the HDMI output or is that USB link needed?
Thank you and great product!
- CCharles Hague @cghague2022-10-14 15:07:12.212Z
Hi Justin - thanks for reaching out to us with your questions!
Unfortunately it isn't possible to default to fullscreen upon connection. I did a bit of investigation to see if we could add this as a feature but it appears that most browsers don't allow fullscreen to be triggered automatically in order to prevent abuse from unscrupulous websites. I'll mention it to the team however as it's a great suggestion for an improvement if we can find a way to make it work in future.
You can disconnect the USB cable but it would result in errors in the logs and the loss of both mouse and keyboard functionality. Instead, I'd recommend selectively disabling mouse and keyboard support. You can disable keyboard support by connecting to your TinyPilot using SSH and running the following command:
sudo sed \ --in-place \ "s/^KEYBOARD_PATH = .*$/KEYBOARD_PATH = '\/dev\/null'/" \ /home/tinypilot/app_settings.cfg && \ sudo sed \ --in-place \ "/tinypilot_keyboard_interface/d" \ /home/tinypilot/settings.yml && \ echo "tinypilot_keyboard_interface: /dev/null" | \ sudo tee --append /home/tinypilot/settings.yml && \ sudo service tinypilot restart
You can also disable mouse support by connecting to your TinyPilot using SSH and running the following command:
sudo sed \ --in-place \ "s/^MOUSE_PATH = .*$/MOUSE_PATH = '\/dev\/null'/" \ /home/tinypilot/app_settings.cfg && \ sudo sed \ --in-place \ "/tinypilot_mouse_interface/d" \ /home/tinypilot/settings.yml && \ echo "tinypilot_mouse_interface: /dev/null" | \ sudo tee --append /home/tinypilot/settings.yml && \ sudo service tinypilot restart
I hope this is helpful. Please let me know if you have any questions.