maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Keyboard layouts for Jolla's Sailfish OS (https://talk.maemo.org/showthread.php?t=91917)

m4r0v3r 2014-01-30 10:35

Re: Keyboard layouts for Jolla's Sailfish OS
 
i need to get rid of the fullstop button and extend the keyboard, its so annoying when i try and press space with my right fingers

Schturman 2014-01-30 18:15

Re: Keyboard layouts for Jolla's Sailfish OS
 
I updated my post with RPM files, ready to installation :)

http://talk.maemo.org/showpost.php?p...&postcount=106

gaiosgf 2014-01-30 20:44

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by qwazix (Post 1400646)
It's late so I can't write an advanced guide but here's a quick overview. You have to enter the following commands in terminal. Stuff after # are comments, you don't need to type them (not that it does any harm if you do)
Code:

devel-su
You will be asked for password. Nothing will show up when you type the password but don't worry. The password is the one which you entered when you enabled developer mode

After successfully entering password, press enter and the terminal prompt should change from bash-3.2$ to bash-3.2#

Code:

cd /usr/share/maliit/plugins/com/jolla/layouts
curl -O http://play.qwazix.com/jolla_layouts/el.qml
curl http://play.qwazix.com/jolla_layouts/layoutsappend.conf >> layouts.conf

If you want to be able to switch between greek and english with the touch of a button, do the following instead of the above (all other languages will be disabled)

Code:

cd /usr/share/maliit/plugins/com/jolla/layouts
curl -O http://play.qwazix.com/jolla_layouts/quick_switch/el.qml
mv en.qml en.qml.bak #back up old english layout
curl -O http://play.qwazix.com/jolla_layouts/quick_switch/en.qml
mv layouts.conf layouts.conf.bak #back up old layout configuration
curl -O http://play.qwazix.com/jolla_layouts/quick_switch/layouts.conf
curl -O http://play.qwazix.com/jolla_layouts/quick_switch/globe.png

For the changes to be applied exit root and restart the keyboard server
Code:

systemctl --user restart maliit-server.service
or just
Code:

killall maliit-server
Enjoy

Σας ικετευω παιδια,καποιος συμπατριωτης μπορει να κανει τον κοπο να μου εξηγησει στα ελληνικα τι ακριβως να κανω;Δεν ξερω γιατι,αλλα το τερματικο του jolla μου φαινεται καπως διαφορετικο απο του Ν9 και το φοβαμαι λιγακι.Ευχαριστω.

marsch 2014-01-31 11:56

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by sponka (Post 1400791)
Maybe everybody knows this, but I was not aware -- if you create backup of layouts.conf, rename and leave .conf suffix, keyboards starts to multiply and after few switches active keyboard dissappear.

This gave me idea that maalit will read all conf files in /usr/share/maliit/plugins/com/jolla/layouts/.

So what I did -- instead of modifying original "layouts.conf" with additional definitions I made new "custom-layouts.conf" file and filled with custom keyboards.

I don't know if this is "proper" way, but it works. Usefull? Maybe :)

Take all permissions from the backup directory by issuing chmod 000 BACKUPDIR (you could theoretically leave the execute bit, then take 100 instead of 000).

ZogG 2014-01-31 16:23

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Schturman (Post 1409852)
I updated my post with RPM files, ready to installation :)

http://talk.maemo.org/showpost.php?p...&postcount=106

it lacks font/ font configuration. i see the keyboard of squares ;)
As well you need just to add hebrew, not remove others ;)

Schturman 2014-01-31 19:15

Re: Keyboard layouts for Jolla's Sailfish OS
 
Ohhh, you are right, sorry I forgot to add apply command for the font because for me it already applied :) , I will update later today. About lyouts.conf, I know but I don't want to see all other languages, like it as is ;)

PS. finally you got your Jolla ?

Penguin 2014-01-31 19:28

Re: Keyboard layouts for Jolla's Sailfish OS
 
Overwriting system files in with RPMs offered for others to download is not very nice thing.

Schturman 2014-01-31 21:24

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Penguin (Post 1410074)
Overwriting system files in with RPMs offered for others to download is not very nice thing.

I wrote it on the page, also uninstallation will restore all original files back.
The problem is I can't find in the files that I need to apply where them use file named: InputHandler.qml
If I already change this file also not important for me to change other too. If I will find how to point my files to this one, I can create another packages that will use only my files without overriding system files.
For now who want to use it, can use it as is. It work good without any problem and easy uninstalable (restore all to default)..

Schturman 2014-01-31 21:26

Re: Keyboard layouts for Jolla's Sailfish OS
 
PS. New version uploaded to OpenRepos.
* Fixed applying font

http://talk.maemo.org/showpost.php?p...&postcount=106

TMavica 2014-02-02 02:08

Re: Keyboard layouts for Jolla's Sailfish OS
 
is it possible port the chinese input method from n9 to Jolla?
the one preinstalled in Jolla is useless..

gsalone 2014-02-02 07:23

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by gaiosgf (Post 1409880)
Σας ικετευω παιδια,καποιος συμπατριωτης μπορει να κανει τον κοπο να μου εξηγησει στα ελληνικα τι ακριβως να κανω;Δεν ξερω γιατι,αλλα το τερματικο του jolla μου φαινεται καπως διαφορετικο απο του Ν9 και το φοβαμαι λιγακι.Ευχαριστω.

Open Terminal.
Change from bash-3.2$ to bash-3.2#:
Code:

devel-su
Code:

<password>
Just type those three exactly like you see them:
Code:

cd /usr/share/maliit/plugins/com/jolla/layouts
Code:

curl -O http://play.qwazix.com/jolla_layouts/el.qml
Code:

curl http://play.qwazix.com/jolla_layouts/layoutsappend.conf >> layouts.conf
Exit root to return to bash-3.2$
Code:

exit
Restart toh.service
Code:

systemctl --user restart maliit-server.service

gaiosgf 2014-02-02 20:19

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by gsalone (Post 1410397)
Open Terminal.
Change from bash-3.2$ to bash-3.2#:
Code:

devel-su
Code:

<password>
Just type those three exactly like you see them:
Code:

cd /usr/share/maliit/plugins/com/jolla/layouts
Code:

curl -O http://play.qwazix.com/jolla_layouts/el.qml
Code:

curl http://play.qwazix.com/jolla_layouts/layoutsappend.conf >> layouts.conf
Exit root to return to bash-3.2$
Code:

exit
Restart toh.service
Code:

systemctl --user restart maliit-server.service

τα εκανα ολα οπως τα γραφεις κι ενω δειχνει οτι πηγαν ολα καλα δεν βρισκω πουθενα ελληνικα.εκανα και reboot.

tiempjuuh 2014-02-02 20:27

Re: Keyboard layouts for Jolla's Sailfish OS
 
Αυταρ επει πετρας φυγομεν δεινην τε χαρυβδιν Σκυλλην τ', αυτικ' επειτα θεου ες αμυμονα νησον ικομεθ'.

:)

Schturman 2014-02-02 23:37

Re: Keyboard layouts for Jolla's Sailfish OS
 
Fixed version uploaded to OpenRepos.

http://talk.maemo.org/showpost.php?p...&postcount=106

Penguin 2014-02-03 00:58

Re: Keyboard layouts for Jolla's Sailfish OS
 
I have been creating toolset for managing custom keyboards and while testing my package creation tools I took liberty to publish Greek keyboard layout as RPM for others too. It can be downloaded from OpenRepos: https://openrepos.net/content/penguin/greek-keyboard

albloushi 2014-02-03 03:18

Re: Keyboard layouts for Jolla's Sailfish OS
 
1 Attachment(s)
Quote:

Originally Posted by MSameer (Post 1405478)
Arabic layout:

Still needs work:
1) use Arabic numbers instead of the hindi ones (hindi ones will cause issues. status of support in sailfish is unknown).
2) a lot of empty buttons when tapping shift.
3) Add some accents/diacritics?

Rename the file to ar.qml and install as usual. I don't have much free time to complete it now but I might in the future.


I modified the file for the Arabic layout.

Silwer 2014-02-03 07:54

Re: Keyboard layouts for Jolla's Sailfish OS
 
Penguin & Schturman
Could you share screenshots of your custom keyboards? Just to get ideas how you have modified the layout...

gabriel9 2014-02-03 08:31

Re: Keyboard layouts for Jolla's Sailfish OS
 
Here is Serbian Cyrillic: https://bitbucket.org/gabriel9/sailf...master.tar.bz2
And it is still work in progress.

Best regards.

Schturman 2014-02-03 08:35

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Silwer (Post 1410576)
Penguin & Schturman
Could you share screenshots of your custom keyboards? Just to get ideas how you have modified the layout...

press on the link 3 oosts above you..

gsalone 2014-02-03 08:39

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by gaiosgf (Post 1410515)
τα εκανα ολα οπως τα γραφεις κι ενω δειχνει οτι πηγαν ολα καλα δεν βρισκω πουθενα ελληνικα.εκανα και reboot.

Apla phgaine sta mhnymata, krata pathmeno to space mexri na emfanistei h lista me tis glwsses kai epelekse ta ellhnika.
an den ta vlepeis, kapoio typo tha exei ginei stis entoles.

gsalone 2014-02-03 08:43

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Penguin (Post 1410555)
I have been creating toolset for managing custom keyboards and while testing my package creation tools I took liberty to publish Greek keyboard layout as RPM for others too. It can be downloaded from OpenRepos: https://openrepos.net/content/penguin/greek-keyboard

I have already installed Greek from qwazix tip, so someone else would have to test it :)
Just a question, is this package permanently staying, even after a jolla sw update?

gsalone 2014-02-03 08:52

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by tiempjuuh (Post 1410516)
Αυταρ επει πετρας φυγομεν δεινην τε χαρυβδιν Σκυλλην τ', αυτικ' επειτα θεου ες αμυμονα νησον ικομεθ'.

:)

Someone is reading Homer :)

Bundyo 2014-02-03 11:09

Re: Keyboard layouts for Jolla's Sailfish OS
 
The ones that use a separate conf file do stay after an update. The bulgarian one, for instance, does.

Penguin 2014-02-03 23:31

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by gsalone (Post 1410592)
I have already installed Greek from qwazix tip, so someone else would have to test it :)
Just a question, is this package permanently staying, even after a jolla sw update?

Yes, I will not create packages overwriting system files. Of course there is a risk of overwriting if Jolla starts naming their files with prefix "custom_" but I think it will be very minor risk.

Penguin 2014-02-04 00:31

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Silwer (Post 1410576)
Penguin & Schturman
Could you share screenshots of your custom keyboards? Just to get ideas how you have modified the layout...

Few web pages with screenshots:
And couple videos:
Or install the rpm package and look at it in action. You can also access files in phone or you can extract rpm package
Code:

rpm2cpio keyboard-custom-emoji-0.2-5.armv7hl.rpm | cpio -idmv

Kaacz 2014-02-04 02:04

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Bundyo (Post 1391928)
Solution for accents with multiple dead keys by Venemo here

Sorry, but this is no "solution". This is crazy math-phys workaround to make this bug working. Definition is useless and mad.

Please remove this link from first post.

:)
Kaacz

Kaacz 2014-02-04 02:07

Re: Keyboard layouts for Jolla's Sailfish OS
 
On Linux, .rpm files are simple inside accessible in MC ..

Silwer 2014-02-04 07:03

Re: Keyboard layouts for Jolla's Sailfish OS
 
Is there a way to use bit smaller arrow keys? Currently used ones seem to be bit big and as a result space bar gets too small.

anidel 2014-02-04 14:00

Re: Keyboard layouts for Jolla's Sailfish OS
 
Anyone know how Maliit passed the type of the input box the user is inserting text into ?

I am asking because I'd like to show a 'password'-type keyboard when entering passwords in the password fields.

nodevel 2014-02-04 14:19

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by anidel (Post 1410861)
Anyone know how Maliit passed the type of the input box the user is inserting text into ?

I am asking because I'd like to show a 'password'-type keyboard when entering passwords in the password fields.

This should work:

http://qt-project.org/doc/qt-5.0/qtq...#echoMode-prop

anidel 2014-02-05 09:32

Re: Keyboard layouts for Jolla's Sailfish OS
 
Thanks. Will start looking for this and see if that type is passed onto Maliit. As I can see this for Maliit:

Code:

http://maliit.org/doc/framework/latest/namespace_maliit.html#ac574fd4c98da494bd95ad3652bfefe6c
which doesn't seem to include password. But that may be it's because they don't handle password fields differently from normal input text.

I hope Maliit will pass the password type to the keyboard plugin, otherwise a patch to Maliit is in order.

anyone 2014-02-06 00:45

Re: Keyboard layouts for Jolla's Sailfish OS
 
1 Attachment(s)
Attached a German keyboard layout with
  • Arrow keys
  • Number keys in upper row accented characters
  • Reduced time until accented character list appears

Unpack and install in /usr/share/maliit/plugins/com/jolla

Warning: Overwrites
  • InputHandler.qml (to make cursor keys working)
  • Popper.qml (to reduce time til accented characters appear)

For more details see https://together.jolla.com/question/...#comment-24801

cstom 2014-02-06 07:18

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Silwer (Post 1410789)
Is there a way to use bit smaller arrow keys? Currently used ones seem to be bit big and as a result space bar gets too small.

Sure there is, you just need to put your custom arrow-icon to somewhere accessible, and use that image instead of the one in use now. You can define exactly the width of the button (remember, now there is landscape keyboard layout as well, so it should resize itself smartly :) )

Bundyo 2014-02-12 06:38

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by Kaacz (Post 1410773)
Sorry, but this is no "solution". This is crazy math-phys workaround to make this bug working. Definition is useless and mad.

Please remove this link from first post.

:)
Kaacz

Well, I have no idea what the solution is, so I don't know why should I remove it. Why don't you discuss it with Venemo first?

Mo7utd 2014-02-14 06:42

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by albloushi (Post 1410563)
I modified the file for the Arabic layout.

Can please add conf file for arabic keyboard
Thank you keep the good work

peremen 2014-02-18 17:54

Re: Keyboard layouts for Jolla's Sailfish OS
 
Have anyone tried to implement 10-key based layout? I implemented Korean 10-key based layout based on numeric keypad. While it looks nice in portrait mode, landscape mode makes layout less nicer. There were separate qml files for portrait and landscape mode for numeric layouts, but how I can implement that kind of feature in custom-created layout for now?

My QML code is at: https://github.com/peremen/jolla-inp..._naratgeul.qml

albloushi 2014-02-19 03:59

Re: Keyboard layouts for Jolla's Sailfish OS
 
1 Attachment(s)
Quote:

Originally Posted by Mo7utd (Post 1412657)
Can please add conf file for arabic keyboard
Thank you keep the good work

Kindly find attached

zlatko 2014-02-22 08:43

Re: Keyboard layouts for Jolla's Sailfish OS
 
With the latest update a landscape mode for keyboard was introduced, but the spacebar row keys seem too low(in vertical direction). Is there a property that can be set to increase slightly the height of that row?
I understand that this lowering the height is done to increase the amount of screen left usable above the keyboard, but I would like to test different experience as well.

peremen 2014-02-22 15:38

Re: Keyboard layouts for Jolla's Sailfish OS
 
Not my code, I found Japanese kana-only (no kanji) keyboard layout (in Japanese): http://blog.livedoor.jp/furikku9310/.../52355219.html

This blog also explains about how to test custom input handlers on the emulator.

Penguin 2014-02-22 17:58

Re: Keyboard layouts for Jolla's Sailfish OS
 
Quote:

Originally Posted by zlatko (Post 1413755)
With the latest update a landscape mode for keyboard was introduced, but the spacebar row keys seem too low(in vertical direction). Is there a property that can be set to increase slightly the height of that row?
I understand that this lowering the height is done to increase the amount of screen left usable above the keyboard, but I would like to test different experience as well.

You can modify the spacebar row for custom layouts, but not just by changing single property value as all rows have equal height definde with keyHeight property. Visually spacebar row looks less tall but actual row and touch area are equal high compared to character keys.


All times are GMT. The time now is 12:56.

vBulletin® Version 3.8.8