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

Option to Add Number Row on Top #19

Open jasker5183 opened 2 years ago

jasker5183 commented 2 years ago

Just a feature request to add option to enable a number row (0-9) on the top qwerty row kind of like Android does.

JaneSmith commented 2 years ago

I would also like this feature. I consider it essential. Numbers are used very frequently, and it makes typing so much time consuming when you have to keep switching back and forth between views every few seconds.

eduardorodrigues08 commented 1 year ago

@nick-shmyrev Would it be possible to include this number line? Or even a way to fix the layout of numbers and special characters? It turns out that when switching from the standard keyboard to the numerical one, at each insertion of a number it switches back to the standard keyboard again... Thank you in advance for your extension, it is very useful to me...

nick-shmyrev commented 1 year ago

I might take a stab at adding an option to show/hide numbers in character layers at some point.

You could also do that yourself. Start by cloning this repo. All of the OSK layouts are located in /src/data/osk-layouts dir. Most layouts consist of 4 main levels - lowercase chars, uppercase chars, numbers, and other symbols. Each level consists of several lines. You can copy the numbers line, and paste it into lowercase and uppercase char layers. After that you can either follow the manual installation process from README, or, if you already have this extension installed, you can just run the /src/data/compile-gresource.sh script to build your own version of gnome-shell-osk-layouts.gresource file, then copy it to the extension's data dir. The main drawback of this DIY approach is that newer extension versions from extensions.gnome.org will overwrite your changes, but if you made your own gnome-shell-osk-layouts.gresource file, you could copy it into the extension dir again.

As for the issue with layout switching from numbers layer back to lowercase characters after each key press, it should already be fixed in this extension. If it isn't working for you, please open a new issue, and provide as many details as you can (see the issue template).