Ubuntu Frame OSK Documentation

@uaubuntu you can customize the layout to remove the “preferences” button.

The “wide” layouts are used depending on your screen size, there’s a relatively complex decision process, taking into account the keyboard width, screen scaling etc.

The last “Info: Loaded layout Path:” log tells which layout file was loaded, for example:

Info: Loaded layout Path: "/home/michal/snap/ubuntu-frame-osk/315/.local/share/squeekboard/keyboards/us_wide.yaml"

Hi,

I’ve followed the installation for the osk and it seems that at startup the osk is opening automatically but without showing any keyboard layout. when you click on the screen that blank zone is disappear and the keyboard is showing correctly when enter an input field.
This is installed with ubuntu frame and wpe-webkit-mir-kiosk on a ubuntu server 22.04.3

Doesn’t anyone have the same behavior?

thanks for the help

@spirics9810 that sounds like an issue reported recently. Can you confirm?

We’ve not reproduced this on our kit, so any hints of how your setup differs from ours would be appreciated.

@alan_g This is exactly the same issue and on my system even the layout=us give this behavior ( what seems not the case for the person reporting the issue )

This is my hardware list
image

To be completly clear i’ve installed the minimal version of ubuntu server 22.04.03.

I’ve also made the test into a Virtual Machine with the same version of Ubuntu and following the same install procedure. On that one i’m not able to reproduce this issue.
I will try other OS on my real hardware and keep you updated with the results.

Extra info:
I get this in the log when the issue occur
Setting input sources to [(‘xkb’, ‘us’)]

(squeekboard:7352): Gtk-WARNING **: 09:42:57.803: Failed to parse /etc/gtk-3.0/settings.ini: Permission denied
Debug: Tried file “/root/snap/ubuntu-frame-osk/326/.local/share/squeekboard/keyboards/us.yaml”, but it’s missing: No such file or directory (os error 2)
Info: Loaded layout Resource: us
Debug: Tried file “/root/snap/ubuntu-frame-osk/326/.local/share/squeekboard/keyboards/us.yaml”, but it’s missing: No such file or directory (os error 2)
Info: Loaded layout Resource: us
Can’t connect to the bus: Cannot autolaunch D-Bus without X11 $DISPLAY. Visibility switching unavailable.
** (squeekboard:7352): WARNING **: 09:42:57.949: Could not connect to session manager: Cannot autolaunch D-Bus without X11 $DISPLAY

** (squeekboard:7352): WARNING **: 09:42:57.973: Failed to init libfeedback: Cannot autolaunch D-Bus without X11 $DISPLAY

This not only occur at startup of the OS but also if you stop and restart the osk.

5 posts were split to a new topic: Overlaying content (rather than pushing up) with ubuntu-frame-osk

3 posts were split to a new topic: Changing the ubuntu-frame-osk layout automatically

2 posts were merged into an existing topic: Changing the ubuntu-frame-osk layout automatically

Hi, I was wondering if there is any way to have the keyboard automatically switch on the shift key for each word. I’m using it primarily for people to input their full name in my kiosk. The “Shift” key is right there, but the users are happily ignoring it, and then my app has their names in all lowercase, which looks really bad. Is there a way to tell the keyboard to turn on the Shift key? Maybe I could emit a Shift or Caps lock key press event from my app? Any ideas how to achieve this?

Have you considered just adding some JavaScript that automatically capitalises the first character of each word in the input field ? (Should be rather trivial to add)

1 Like

You could modify the layout to only have uppercase characters, too:

https://mir-server.io/docs/ubuntu-frame-osk-documentation#heading--configuration--modifying-the-layout

Does not work anymore, is not compatible in Ubuntu 24.04 LTS: ** (squeekboard:26494): ERROR **: 17:02:59.108: No virtual keyboard manager Wayland global available.