is there a way to disable the keyboard?
On a Raspberry Pi OS Bookworm
I'm not sure what you mean, if by disable you mean hide wvkbd, then yes, send signal SIGUSR2 to hide and SIGUSR1 to show again (or SIGRTMIN to toggle).
On Raspberry Pi Bookworm I also didn't have any joy with the keyboard automatically appearing/hiding. This might be an issue with the version of Wayfire (0.7.4) I am using or the older version of wvkbd that is packaged with the OS (v12.1).
My understanding is that the wm/compositor should send these signals (eg. SIGUSR1/2, etc...) on entering a text field. However, I don't see anything in the wayfire debug log to indicate this is happening. I can just see the change in cursor focus when I move over different surfaces.
Right now, I'm resorting to using touch screen gestures to display/hide the keyboard, but would be interested to learn if there's anything I'm doing wrong.
My understanding is that the wm/compositor should send these signals (eg. SIGUSR1/2, etc...) on entering a text field.
No, any other process can send it (such as a gesture daemon like lisgd), but it's wvkbd specific and not an established mechanism. Compositors won't send it. What you're referring to, automatic showing/hiding based on text fields, is the wayland input method protocol, but wvkbd does not implement this yet.
Hello, So if I understand correctly, you need to use a daemon to toggle the SIGUSR1 / SIGUSR2 ? Or is there a way to configure them through wvkbd directly ?
I'm pretty sure a daemon is needed, but I don't find a lot of information on SIGUSR usage and I'm still learning linux
Thanks
From a terminal you can send the signal like:
hide: kill -USR1 $(pidof wvkbd-mobintl)
show: kill -USR2 $(pidof wvkbd-mobintl)
toggle: kill -34 $(pidof wvkbd-mobintl)
You can't hide/show wvkbd from wvkbd itself no