vishram1123 / gjs-osk Goto Github PK
View Code? Open in Web Editor NEWA (marginally) better on screen keyboard for GNOME 42+
Home Page: https://extensions.gnome.org/extension/5949/gjs-osk/
A (marginally) better on screen keyboard for GNOME 42+
Home Page: https://extensions.gnome.org/extension/5949/gjs-osk/
I'd like to donate to this project if and when the developer accepts. There are two features completely absent on the big desktop environments I'd love to help cultivate since gjs-osk has such a strong foundation: swipe keyboards and spellcheck.
In the readme there's a section that lists not taking up the full width, but It's unclear to me if this is intended or a bug.
Is there any knowledge so far about those margins if it's a bug, and if it's a feature could it be tweaked?
Although GJS-OSK has released GNOME 45 version, on extension.gnome.org the latest version is still 44.
When I turn off the 'Play sound' toggle in the settings and click apply, the sound doesn't get played anymore on mouse or pen input, but on touch input it still gets played.
GNOME version: 45.2
Distribution: Fedora Workstation 39
GJS OSK version: main branch
even when i select qwerty it uses my system layout which is qwertz. I actually prefer this over not being able to use ä, ö and ü, but is there any way to have it display the layout on the keys themselves?
When I have my Surface Go in laptop mode (keyboard is used) the osk shouldn't pop up when I tap into a text entry but when I'm in tablet mode (keyboard is disconnected or flipped behind the tablet) I want to use the osk. An option that adds the ability to switch to a specific opening mode when in tablet mode and to another when not in tablet mode would solve that.
Hi there, nice extension! I would love to get the swipe up (from bottom of the screen) to get the keyboard gesture. The button in the top panel is the alternative, but it can be hard to press if you have large fingers.
I use US Colemak for my regular keyboard, and I set osk to use Qwerty but it seems to be using colemak despite showing a qwerty layout. This seems to persist with the other 2 layouts available
And GJS-OSK isn't showing there, therefore I can't login. What am I missing? Thanks.
GNOME's default OSK has auto completion for languages which don't require ibus and uses ibus-typing-booster for the remaining ones although I don't know if it's technically possible to use ibus-typing-booser for this.
I like this extention, very useful.
But for those who have a lot of tray icons, I find it quite good to add a toggle to quick settings like this: OSK Toggle.
Please consider, thank you.
Hi, I don't know it this is technically possible, but I'd like to see copy/paste buttons like they appear on top row of a Android / iOS keyboard. Maybe virtual keys can be bound to ctrl+c / ctrl+v / ctrl+x ?
It's the one feature I miss most compared to true mobile os'es as Gnome also doesn't have a hold to copy/paste feature in general.
When I try to drag the keyboard with a pen (which works with touch and mouse input), the keyboard seems to first jump to another place before following my pen:
Bildschirmaufzeichnung vom 2023-06-03, 16-03-30.webm
GNOME's default OSK automatically opens in most apps when you just tap into a text field.
Hi. Love this extension. I'm not sure this is a bug or something I'm doing wrong.
I'm trying to add a Norwegian layout by following the ReadMe. When I'm done and want to try it out, it gives the error:
Here's what I did:
I updated the keycodes.json, first with most of the new layout, then with only one letter changed to see if there was something I screwed up in there. I then added the name to langList in prefs.js and to keycodes in extension.js (which now are on lines 48 and 67. Some code must have been written since the line numbers are different from the ReadMe.)
I'm thinking that there's a flaw in the keycodes.json that makes the GLib.file_get_contents function not ok, and then the keycodes variable won't get assigned anything. But I can't figure out what I'm doing wrong in the json file.
Sucks to be that guy.. but when is Gnome 46 support coming?
Thank you for your great work
In my opinion it would be a great feature if the keyboard followed the systems color theme (light/dark). Since there is already a light themed shell in the works this would match perfectly.
Btw this keyboard is a godsend for 2in1 users, thank you!
Hi @Vishram1123, would you be interested in adding translation support to the extension at this point?
If so, would it be also appropriate to add the support to the pre-45 version?
If you are interested I can take care of it if you wish. It is not too much work, just integrate gettext utilities in the code, generate the .pot and add it to a po folder.
I did a quick look at what would be required to do this and it turns out the only thing that would be needed is a simple change to the signals import
const Config = imports.misc.config;
const [major, minor] = Config.PACKAGE_VERSION.split('.').map(s => Number(s));
const Signals = major === 42 && minor <= 9 ? imports.signals : imports.misc.signals;
And off course updating the metadata to accept said version. If you approve I can make a PR to do this easily
And before anyone says "just update to GNOME 43", newer gnome's IMO have stability issues and I don't foresee Ubuntu changing versions anytime soon for stability reasons.
This keyboard is much better than gnome's built-in osk. However, one feature I really liked about the default osk is (in touchscreen mode) it opens automatically when you enter a text field. Is there any way to add that feature to this keyboard?
I installed this on my Lenovo Chromebook Duet running Debian, and have ydotool running on my Wayland session. The extension doesn't seem to complain at all, but no keypresses actually show up when using the keyboard
On touch input the sound that gets played when pressing on the keys gets played multiple times. This only happens on touch input and not on mouse or pen input.
Video of the bug (the first two clicks are done by a touchpad, the second two clicks are done via touch input):
GNOME version: 45.2
Distribution: Fedora Workstation 39
GJS OSK version: main branch
How can I block the default OSK on Gnome? Cant find an extension. Would this be hard to implement in this extension? Thanks
Hey,
Just a few cents for the layout: it would be very nice to get a split version of the keyboard. This allows, especially on tablet, to be able to type while holding the tablet on the sides.
Here is a screenshot of what GBoard is doing on Android:
Thanks for yout time, regards
This is required for GNOME 45: https://gjs.guide/extensions/upgrading/gnome-shell-45.html#prefs-js
See #7 for more info.
TLDR: Clicking on a system dialog (i.e. password dialog, folder name edit, etc..) will show the keyboard, but clicking on the keyboard will do nothing.
Hey there,
Love the keyboard! So far seems to work everywhere.
Just after an easier way to open it. Either with a touchscreen gesture (possible to replace swipe up like GNOME uses for default OSK?)
Or a command would be great too. Will work with fly-pie that way.
Cheers!
It would be very very nice if this extension would come with a toggle that disables the default caribou keyboard, similarly to the extension "block caribou 36". Please have a think about it!
PS, if I understand correctly block caribou has been implemented, but it does not seem to work for me and I still have to rely on the separate extension.. is it because it will be included in the new version?
Hello,
First I would like to thanks for this project.
I've seen that a lot of dev have been done recently on the main branch.
Any hope to get those updates to the pre-45 release branch? If not, could you expose the technical reasons of it?
Thanks
Hello,
I am controlling my linux machine with an xbox gamepad, and using antimicrox I can remap the buttons of the gamepad to some special keys. I would like to be able to toogle the keyboard using such a key, would that be possible ?
Thank you very much for your help and for your nice extension. :)
It's difficult to erase long texts. I've been using ctrl + backspace, but it's too repetitive to tap ctrl every time
I hope I'm using the terminology correctly. When I connect to a network that requires a password, or if I try to use an ssh key that is locked, I get a pop-up that takes over the whole screen to prompt for the password. Then I can't touch anywhere, including the GJS OSK keys, so I can't type the password. However, if I disable GJS OSK and turn on the default OSK, it appears in this situation and I can use it to type the password. Is there some way that GJS could work in the situation also?
I'm using Autorelease 3708d07 in Ubuntu 24.04 LTS on a Surface Pro 6.
Thanks.
The arrow keys are deff better than the nothing you get in many applications, but it would be great if you could implement a way to move the cursor using the space bar, like on windows, ios and android. You long press the spacebar and then swipe left or right to move the cursor.
When unlocking PC (Ubuntu 22 Wayland) gjs-osk flashes up briefly at the top left corner of the screen. Have latest version from Gnome Extensions website installed.
I have a hidpi display but don´t use scaling. I use Scaling factor under Tweaks -> Font. Maybe this is the problem? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.