We have moved to a new Sailfish OS Forum. Please start new discussions there.
15

Keyboard layout with numbers in accents

asked 2014-02-15 21:38:23 +0200

walokra gravatar image

updated 2014-02-15 21:57:37 +0200

Typing both letters and numbers at the same time are common use case for keyboard and the Sailfish OS keyboard layout could better support it by having numbers in accents/accentsShifted mode like it's done in stock Android. Now user has to switch between letters and numbers input modes. Although with current long press timeout it's faster to "swipe" the number from number mode than long press it under the letter key.

There is the possibility to do custom keyboard layouts with this feature but it would be nice to have it out-of-the-box and with some extra features.

Ideas for keyboard layout:

  • Have numbers in keyboards' accents/accentsShifted mode
  • By onPressAndHold the keyboard should input the number not the letter for the key
  • The number should also be positioned right above the key (not as shown in pictures)
  • In accents/accentsShifted mode it's not necessary to show the letter of the key
  • Show little number above the key letter

Examples:

Simple custom keyboard (PoC) with numbers in accents:

image alternative keyboard layout

Concept image of showing numbers above key's letter:

image concept keyboard layout

edit retag flag offensive close delete

Comments

I've thought about the same thing. It seems easy by changing the qml file that configures the keyboard, e.g. for en.qml: KeyboardRow { CharacterKey { caption: "q"; captionShifted: "Q"; symView: "1"; symView2: "€"; accents: "1"; accentsShifted: "1" } CharacterKey { caption: "w"; captionShifted: "W"; symView: "2"; symView2: "£"; accents: "2"; accentsShifted: "2" } etc. Did not try it yet, as I didn't find an easy file editor so far.

rob_kouw ( 2014-02-16 12:13:00 +0200 )edit

Making alternative keyboard layout is easy as you can see from the Proof of Concept (PoC) I linked and test it yourself (RPM in OBS). But doing it this way you end up with duplicate keyboard layouts for languages as you can't (easily) remove unwanted layouts from the menu.

walokra ( 2014-02-16 12:22:45 +0200 )edit

You are aware of :

Both in combination would be the key to solve most of your problems.

PS:

  • The position of the figure in the accented characters list is predictable within a given keyboard layout. It only is a question of positioning the figure within the accented characters.
  • Adding a small figure to a keyboard key could be possible by using an image instead of the character – however, I do not know whether the use of images is possible for non-function keys. So this could be the only issue left that is not solvable "out of the box" (once, the Jolla Store keyboard section should become available)
jgr ( 2014-02-17 00:35:18 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2014-10-12 10:20:42 +0200

rob_kouw gravatar image

On the Dutch pages of JollaNL.org I posted an answer. I published two files which configure an Extended English keyboard: enx.zip. Copy these to /home/nemo/Documents and install them as root:

cd /home/nemo/Documents
cp enx.qml /usr/share/maliit/plugins/com/jolla/layouts
cp enx.conf /usr/share/maliit/plugins/com/jolla/layouts
killall maliit-server

Actual screenprints:
A lot of stuff added to the L The dot (and likewise the comma)
Article at JollaNL.org. The numbers have been added to the upper row. Some extended characters I never use have been deleted from the config file.

edit flag offensive delete publish link more
0

answered 2014-10-12 10:04:12 +0200

Twinklestar1792 gravatar image

how to enable 'Developer mode' keyboard into other applications? I like the developer mode keyboard.

edit flag offensive delete publish link more

Comments

You mean the keyboard in Bash? There are a lot of keyboards available on TMO.

rob_kouw ( 2014-10-12 10:26:58 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-02-15 21:38:23 +0200

Seen: 578 times

Last updated: Oct 12 '14