nick-shmyrev / improved-osk-gnome-ext

Improved On Screen Keyboard for Gnome Shell
https://extensions.gnome.org/extension/4413/improved-osk/
94 stars 30 forks source link

Add dbus binding for toggling osk #51

Open Azkali opened 1 year ago

Azkali commented 1 year ago

Following up the issue #32 I created, this PR implements that feature.

nick-shmyrev commented 1 year ago

I'll admit I'm not familiar with DBus. I've skimmed over the docs, but your changes look very different from what I've seen there. Can you explain how is this going to work?

Azkali commented 1 year ago

Hi, thanks for looking at my PR

Here is how I am using this feature:

A script to get the status: https://gitlab.azka.li/l4t-community/gnu-linux/switchroot-pipeline/-/raw/master/switch-l4t-configs/switch-toggle-osk/usr/bin/toggle-osk

And the dbus custom key binding: https://gitlab.azka.li/l4t-community/gnu-linux/switchroot-pipeline/-/blob/master/switch-l4t-configs/switch-dconf-customizations/etc/dconf/db/local.d/99-switch#L40

I am currently working on the changes you asked (need to test on my device to see if it still works when the toggle is in enable)