how can i disable the weston virtual keyboard in the cog browser?
I’m running the containers described here:
Web Browser / Kiosk Mode with TorizonCore | Toradex Developer Center.
The weston.ini is untouched.
Yeah Cog is a little strange with they virtual keyboard interaction. One workaround to disable it would be to run Weston with kiosk-shell:
Working with Weston on TorizonCore | Toradex Developer Center
Another option would be to modify the
weston.ini so that weston-keyboard has a invalid path. For example:
thank you very much. the virtual keyboard and the cursor are now hidden with cog. however when i switch to the chromium browser the mouse cursor is still visible. How can i hide the mouse cursor in chromium?
That’s odd, Chromium seems to ignore the kiosk-shell of Weston and adds the cursor back in. The only way I can reliably not have a cursor is by disconnecting my mouse from the device.
Do you have a mouse connected to your system? Or some kind of input device that could be interpreted as a mouse? It seems like disabling the cursor in Chromium is not so trivial otherwise.
If your touchscreen behaves like a mouse (although it shouldn’t), maybe this workaround is useful for you:
I guess that what i’ve done now is probably what you are looking for, change mouse theme when weston shows the “left_ptr” on the screen. (Note, that im using weston on wayland!!!)
What i’ve done is create a fully transparent left_ptr with xcursorgen, with basicly:
Create a directory called transparent_cursor
Create a fully transparent transparent_cursor.png inside this folder (i used photoshop) with size 32x32
create a configuration file named transparent.cfg with the following co…
The question above has other interesting links that might help you as well.
I have a touch monitor connected:
[ 151.089676] 000: input: ILITEK Multi-Touch-V3003 Mouse as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:222A:0001.0005/input/input10
[ 151.090515] 000: hid-generic 0003:222A:0001.0005: input,hidraw0: USB HID v1.10 Mouse [ILITEK Multi-Touch-V3003] on usb-xhci-hcd.1.auto-1.2/input0
[ 151.098381] 000: input: ILITEK Multi-Touch-V3003 as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:222A:0001.0006/input/input12
[ 151.098923] 000: hid-multitouch 0003:222A:0001.0006: input,hidraw1: USB HID v1.10 Device [ILITEK Multi-Touch-V3003] on usb-xhci-hcd.1.auto-1.2/input1
So this means the touch is interpreted as a mouse?
The mouse cursor hides when unplugging the usb touch.
the workaround solves my problem. Thank you.
Glad we were able to help out.