nick-shmyrev / improved-osk-gnome-ext

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

Does not activate on Debian 12 (43.6) #62

Open pabl0 opened 1 year ago

pabl0 commented 1 year ago

After installing and enabling the extension (and restarting the GNOME session), I still get the standard (and sadly, almost useless) stock GNOME OSK. If I toggle "Show statusbar icon" in the settings from the extension manager, it will indeed toggle the icon. However, touching the icon will just activate the same old basic OSK.

It is not clear from documentation, but I assume the newly installed extension should replace the default OSK without any further actions from the user?

The only relevant log entries I can find in the system journal: JS ERROR: TypeError: Main.keyboard._keyboard is null toggleOSK@/home/pablo/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:67:7 _init/<@/home/pablo/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:60:9

The extension was installed from the command line with

gnome-extension install improvedosknick-shmyrev.dev.v18.shell-extension.zip BTW, I originally installed the original implementation from Sebastian Luebke, but uninstalled it immediately after realizing my mistake, and I don't believe any files from that remains on my system.

Environment:

pabl0 commented 1 year ago

Uh, sorry, somehow I missed that this seems to be a duplicate of #61 for Fedora 38.

pabl0 commented 1 year ago

Of course, should have mentioned that I use the Finnish keyboard layout (fi), which apparently is still missing the extended keys. If I switch to English (US), I get all the new goodness. so I guess it is just a matter of adding the new keys to the layout. Are those non-alphanumeric keys really that different between any countries using the same physical ISO layout, would the same change as for Hungarian work?

jimjamz commented 4 months ago

I'm on a similar environment (Debian 12, Gnome 43.9, Wayland) and I have only the English (US) keyboard installed, and I still don't see the improved OSK layout, only the default OSK.

I've tried multiple installation methods, including:

Is it just the keyboard layout that has to be set to English (US) or does it require also the Regional Language and Formats to also be English (US)? Currently, I have the latter two set to English (UK), but should this matter? These values cannot actually be changed within the settings UI of Debian.

Due to the issues in the package and installation bash scripts, it's not actually possible to run the scripts successfully without fixing them first, such as: /etc/dconf/db/local.d: 00-extensions: Key file does not start with a group

As in many other open issues, after enabling the extension and clicking on the icon in the status bar, journalctl /usr/bin/gnome-shell -f -o cat reports:

JS ERROR: TypeError: Main.keyboard._keyboard is null
toggleOSK@/home/jimjamz/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:67:7
_init/<@/home/jimjamz/.local/share/gnome-shell/extensions/improvedosk@nick-shmyrev.dev/extension.js:50:11