New Post: Opportunistic Word Completion

That’s in fact not an OSK issue (how would the OSK know you hit sent?). It’s something we need to deal with on the toolkit/app side.

4 Likes

Yeah, that’s a bit dated. The one in crimson is more recent.

2 Likes

I suspect that a period ‘.’ would work. I’ve heard on a radio program that young people find that jarring, but maybe they can get used to it.

2 Likes

That looks really nice. I would love to try it out on L5 and to extend this.

2 Likes

They’re just not yet used to how periods can be a good thing for flow. They don’t have to be a hard stop to the fun.

2 Likes

I’ve backported 0.34.0 to Byzanium as well (now in byzantium-updates-proposed)

7 Likes

Does the one in crimson have ctrl, alt, arrows, etc in the terminal layout? Just noticed in byzantium these aren’t there.

2 Likes

As far as I know even the default keyboards have such keys on terminal on Byzantium. Don’t you have a >_ button?

1 Like

Not on this new keyboard that this thread is about.

2 Likes

Ops, missed your point.

2 Likes

The new keyboard is cool. Where can i find the ctrl, alt, and menu (for copy paste) keys?

I had some trouble with emojis where they will not appear in fractal.

1 Like

No, at least not like the non-stub Squeekboard.

The Terminal layout, which can be accessed by the :globe_with_meridians: icon on Squeekboard. Note that discrete keys for ‘Ctrl‘ and ‘Alt‘ keys seem to be absent on the draggable top bar for keyboard shortcuts.

1 Like

There’s a shortcut bar where you can put common shortcuts. See the manpage (man phosh-osk-stub or here) on how to configure them.

With recent GTK4 and phoc you can also rearrange them via d’n’d: Guido Günther: "It's the small things. @rudraps@mastodon.social i…" - Librem Social (not in crimson yet as it needs newer phoc and and gtk4).

7 Likes

Do I see right that those shortcuts can be build by users? I’m asking because we still have no access to Shift-shortcuts (that does not depend on upper characters - like Shift+arrows).

1 Like

Yes, although reading the provided documentation does not clarify possible valid strings.

Here is a screenshot of executing the above code.

Here is a quick modification of that example code, along with the corresponding screenshot.

gsettings set sm.puri.phosh.osk.Terminal shortcuts "['<ctrl>a', '<ctrl>z', '<ctrl>x', '<ctrl>c', '<ctrl>v']"

3 Likes

Shouldn’t be a problem:

gsettings set sm.puri.phosh.osk.Terminal shortcuts "['<shift>Up', …]"

Note that you need at leat phosh-osk-stub 0.33.0 (crimson, byzantium-updates-propoed) as otherwise it’ll crash due to a GTK bug (which is fixed but not yet in PureOS) and for which the aforementioned versions have a workaround: Details: vk-driver: Don't crash when gdk keysm conversion fails (!107) · Merge requests · Guido Günther / phosh-osk-stub · GitLab

Updates to the manpage are certainly welcome.

3 Likes

Works as expected.

3 Likes

Thank you for the screenshot! Looks like that bar is missing for me :thinking:

2 Likes

If you are on Byzantium, you need to add byzantium-updates-proposed to your /etc/apt/sources.list:

sudo nano /etc/apt/sources.list

Once opened, add this line:

deb https://repo.pureos.net/pureos byzantium-updates-proposed main

Then:

sudo apt update
sudo apt install phosh-osk-stub

If you already installed the package, use sudo apt upgrade phosh-osk-stub for the second command instead.


Here are the possible valid strings for the keyboard shortcuts:

So, as an example:

gsettings set sm.puri.phosh.osk.Terminal shortcuts "['Mail', 'Calculator', 'Documents', 'Tools']"

This allows you to conveniently launch Geary, Calculator, GNOME Files/Nautilus, and Settings, respectively. Note that not all values from the list are properly mapped to a function at this time.

4 Likes

Thanks! Now it works, and emojis in fractal works as well :grin:

2 Likes