![]() |
Re: Keyboard layouts for Jolla's Sailfish OS
albloushi: Have you tested your layout? I tested and found some issues with it in accents. I am working to solve those issues with custom keyboard components to make for example popper work properly with characters currently having issues with stock keyboard components.
There has been posted sample SPEC file earlier in this thread. You need rpmbuild available in mersdk and various Linux distros to create the package. Very good rpm creation guides can be found by googling "How to create RPM package". For Arabic keyboard you need font files too with license allowing redistribution. I took liberty to pack dvorak keyboard made by gitful and share it as rpm package at https://openrepos.net/content/pengui...vorak-keyboard |
Re: Keyboard layouts for Jolla's Sailfish OS
Penguin: yes, I tested the keyboard layout, and don't have any issue, the popper of accent is quite big, I don't know how to change the size of it.
yes, also I changed the layout, if you like, then I can share it with you. And thanks for your reply. |
Re: Keyboard layouts for Jolla's Sailfish OS
@Bundyo
Do you experience issues with word prediction when using the letter "ь" in Bulgarian Cyrillic keyboard? For me when I start to type a word with "ь"(e.g. "вальор") it is normally suggested until I enter "ь" - after that word I am typing is no longer underlined and there is no word prediction in top row. The next letters I type are considered new word by the word prediction. |
Re: Keyboard layouts for Jolla's Sailfish OS
Sorry, didn't see it here. Still no, though. :)
|
Re: Keyboard layouts for Jolla's Sailfish OS
albloushi: size of popper is big because it can't handle correctly glyphs with negative or no advance as in Arabic. Sorry There is no other way to fix that issue than write new popper working properly as I have done with emoji keyboard.
Please sharee that modified layout, I will look that and see what can be done for the popper. I do not know the correct wording for all of those Arabic glyphs but I find this Arabic writing facinating because it differs so much from writing with latin characters. That makes me interested to work with Arabic layout. |
Re: Keyboard layouts for Jolla's Sailfish OS
1 Attachment(s)
Penguin: Sorry for the delay, and appreciate your support.
Kindly find attached the layout |
Re: Keyboard layouts for Jolla's Sailfish OS
Since the last SW update (1.0.5.16) the word prediction is not working anymore when I use my custom keyboard.
Previously, when switching to a custom keyboard, the phone was keeping the word prediction of the last standard keyboard used (French in my case). Any idea to have this working again? |
Re: Keyboard layouts for Jolla's Sailfish OS
I have same problem as @Jordi. I am using Bulgarian&English setup, both keyboard layouts modified to my liking and using a custom layouts.conf file. Since 1.0.5.16 I am not getting any word predictions. According to TJC thread dictionaries are in /home/nemo/.local/share/xt9/ but there is no such directory on my device.
|
Re: Keyboard layouts for Jolla's Sailfish OS
I have this directory, but word prediction also does not work for me, with custom keyboard.
there are 2 files in it: Code:
[nemo@Jolla xt9]$ ls -l |
Re: Keyboard layouts for Jolla's Sailfish OS
I also have this directory and I open the file called xt9.dlm: it's big, almost empty but contains the typed words, I recognise some sentences I typed in Mitakuuluu.
|
Re: Keyboard layouts for Jolla's Sailfish OS
No problem for me. As with every update, I was forced to manually add an entry into the layouts.conf file. There's a new "handler" line, anyway:
Code:
[customkeyboard.qml] |
Re: Keyboard layouts for Jolla's Sailfish OS
You are right mced, thanks a lot! :)
I was changing the language code to see - in the space key - which keyboard I was using: FR or FR-CH. By changing the language code I had no word prediction. |
Re: Keyboard layouts for Jolla's Sailfish OS
My issue was using custom layouts.conf file, without the newly added line:
Code:
handler=Xt9InputHandler.qmlJust adding it fixed it! Thanks for pointing it out! |
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
On the plus side - seems we can now use custom completion handlers :D |
Re: Keyboard layouts for Jolla's Sailfish OS
(Edited)
My "Extended English" did not work anymore. The autocompletion didn't work, nor the extra characters I added. The extra line to use Xt9inputhandler didn't do the trick at first. But something else changed as well. I use Bitvise for SFTP to download/upload the keyboard files and xterm for the bash shell. I used to be able to paste commands into the terminal, but that doesn't work anymore. Then I tried a second time. Uploaded the enx.conf file with the extra line to /home/nemo/Downloads, and from bash I copied the file to /usr/share/maliit/plugins/com/jolla/layouts as root. Restarted the service with killall maliit-server and it works. (First time I FTP'd the .conf file directly to /usr/share/maliit/plugins/com/jolla/layouts, probably with wrong user settings then.) |
Re: Keyboard layouts for Jolla's Sailfish OS
Allright, this is a silly question, I know, but I tried for some time and could not find the correct way to do this thing, so maybe soembody can help me with this.
What I'd like to accomplish, is to have a different layout based on whether the device is in portrait or landscape mode. The reason for that is that I'd like to have full set of cursor keys (up, down, left, right) in landscape mode, but just left and right in portrait. This is what I've accomplished: http://www.swagman.org/juice/arrowkeys_fi.png As you can see, the layout is a bit tight in the rightmost portrait view, (marked with green...) so I'd like to have just 2 buttons there. Now, I have tried various ways to do that, but for some reason I cannot put a simple "if(...)" statement in the QML code to any place it should seemingly affect the drawing of the layout. I suppose that is because of the way the layout is drawn, it uses some funny iterative way to do that in updateSizes() of KeyboardLayout.qml, I guess?? |
Re: Keyboard layouts for Jolla's Sailfish OS
This is actually very good change so languages not supported by prediction won't poison the word prediction database and this also makes changing input handler much easier.
I will update RPM packages for English Dvorak, English Colemak, French-Swiss and French Bépo accordingly. @juiceme: create two spacebar rows. One visible only when portraitMode is true and the other when portraitMode is false. I haven't tested with latest update but earlier it didn't work if visible was defined for individual keys but works for full row. |
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
Now as I understand it, the QML files under the "layout" directory are data structure definitions, you cannot put if/else statements there. There is actual running code in "KeyboardLayout.qml" for example, but it is a bit unclear to me on how that bit accesses the definition QML files that contain the actual kayboard model. |
Re: Keyboard layouts for Jolla's Sailfish OS
@Penguin: In some cases the prediction is not "poisoned", as with radically different languages, like English and Bulgarian, or Spanish and Hebrew, because the characters systems don't allow one showing predictions in the other.
That said, it will be a good feature the developer to be able to specify which prediction database should be used for a language. I went ahead and logged it in Together. http://bit.ly/1m5TEfm |
Re: Keyboard layouts for Jolla's Sailfish OS
By the way, we have a community meeting entry about also community keyboards, see https://lists.sailfishos.org/piperma...il/004098.html
Please show up to make your voice and thoughts heard! |
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
|
Re: Keyboard layouts for Jolla's Sailfish OS
@cvp, read the previous page.
|
Re: Keyboard layouts for Jolla's Sailfish OS
I got the chinese keyboard , I have code to hide the prediction word, but the copy and paste button is disappear also too, do you know how to make it appear?
source code: https://github.com/arthurartoria/jolla-quick-im |
Re: Keyboard layouts for Jolla's Sailfish OS
Hello,
Thank you for all the custom keyboard. I installed Penguin's Swiss French layout from Openrepo, and once enabled, the word prediction did not work. So following Jordi's post n°52: [fr_ch.qml] name=Francais Suisse languageCode=FR handler=Xt9InputHandler.qml I found that "handler=Xt9InputHandler.qml" was missing from /usr/share/maliit/plugins/com/jolla/layouts/custom_fr-ch.conf. Once added, prediction is working fine. For information :) Thanks again. |
Re: Keyboard layouts for Jolla's Sailfish OS
2 Attachment(s)
@Penguin , could you please put into rpms attached Ukrainian layout?
Thanks. |
Re: Keyboard layouts for Jolla's Sailfish OS
I tried to comment the "handler=Xt9InputHandler.qml" line and I get no completion handler, ok... But The space is there yet, I would like to have a 3 lines keyboard and not a 4 one, wich eats more screen space.
Anybody knows how to do it? |
Re: Keyboard layouts for Jolla's Sailfish OS
|
Re: Keyboard layouts for Jolla's Sailfish OS
|
Re: Keyboard layouts for Jolla's Sailfish OS
Does anyone know if it is possible to reduce the font size for some character labels on the keyboard?
Some of the characters for my language are very wide and it would look much better if I can reduce the size. If I can do that just for portrait mode only that will be even better, since the default size looks fine on landscape mode. |
Re: Keyboard layouts for Jolla's Sailfish OS
It seems that there is a lot to update into custom keyboards after last two SailfishOS updates. I've been too busy with other activities to do anything in Sailfish for last month and a half. Currently working to fix installation scripts and updating Emoji Keyboard to work properly after latest update. I'll try to create Ukrainian layout RPM and update input handlers where applicable before traveling next week.
Quote:
|
Re: Keyboard layouts for Jolla's Sailfish OS
1 Attachment(s)
It looks like Jolla has finally included the Czech keyboard layout in the last update, but I've become used to my custom layout, which is better (of course :) ) in my opinion. It works quite well for me, so I decided to share it with others.
nodevel's Czech keyboard layout Goodies:
Enjoy. http://i58.tinypic.com/bg9y1c.png http://i59.tinypic.com/iz84dl.png http://i59.tinypic.com/20v12bm.png PS: Kaacz, feel free to include it in your post, so it is easier to find. |
Re: Keyboard layouts for Jolla's Sailfish OS
@nodevel + @all
Would be great if you can add one/two screenshots... |
Re: Keyboard layouts for Jolla's Sailfish OS
anyone got emoji keyboard working after factory reset and updated to 1.0716?
mine emoji keyboard show empty emoji |
Re: Keyboard layouts for Jolla's Sailfish OS
@TMaica, i dont have any problems with Emoji.
|
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
i got these problem after i do it |
Re: Keyboard layouts for Jolla's Sailfish OS
No problems here with Emoji, but I didn't have to reset.
|
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
|
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
|
Re: Keyboard layouts for Jolla's Sailfish OS
Hey guys,
Since the way it works has chaned in 1.0.7.x, I've updated my posts. Here's how you create accented characters with multiple dead keys: http://talk.maemo.org/showpost.php?p...5&postcount=67 And here's my updated Hungarian (QWERTZ) layout: http://talk.maemo.org/showpost.php?p...1&postcount=68 |
Re: Keyboard layouts for Jolla's Sailfish OS
Quote:
So, where can we find the code that actually creates the top row? |
| All times are GMT. The time now is 23:38. |
vBulletin® Version 3.8.8