Reply
Thread Tools
Posts: 5 | Thanked: 15 times | Joined on Dec 2013
#71
Originally Posted by qwazix View Post
Weird, I tried doing about the same, but in the second row, the keys appeared but the cursor didn't move...
Yep, that's why the InputHandler was patched as well
 
Posts: 231 | Thanked: 143 times | Joined on Feb 2012 @ Tallinn, Estonia
#72
Can someone try to make a Estonian keyboard like this for Jolla:
 
Posts: 22 | Thanked: 18 times | Joined on Oct 2012
#73
Originally Posted by gsalone View Post
Kindly share how you moved el.qml from source path to target path and also how to edit the layouts.comf?
noob alert

Also there is a problem with this line:
Code:
        CharacterKey { caption: "τ"; captionShifted: "Τ"; symView: "5"; symView2: "₹" }
I get little square in notepad++ in place of character between quotes for
Code:
symView2: "₹"
. Will this show as character or little square in Jolla? In notepad++ I used Encoding in UTF-8 Without BOM to create the el.qml. Which encoding should be used?
Apologies, I've just seen this now!

1) I 've scp-ied the el.qml file over from my main system to the phone, i.e.
Code:
scp el.qml nemo@192.168.xx.x:/home/nemo
2) Connected via ssh to the phone, became root and copied the file over to the directory of interest:
Code:
devel-su
cp /home/nemo/el.qml /usr/share/maliit/plugins/com/jolla/layouts
This means that Developer mode is already active and a password has been set. Otherwise, I think it won't work out.

3) I edited the file layouts.conf (using nano
Code:
nano layouts.conf
) and added the following (before EN):
Code:
[el.qml]
name=Hellenic
languageCode=EL
Of course, use Ctrl + X to save the edit.

4) Finally, I've followed the example in the first post and ran (as nemo, not as root)
Code:
exit
systemctl --user restart maliit-server.service

As for the strange character, I need more time to investigate as I am not an expert on the subject.

Last edited by Nikos Alexandris; 2013-12-28 at 03:38.
 

The Following 2 Users Say Thank You to Nikos Alexandris For This Useful Post:
Posts: 22 | Thanked: 18 times | Joined on Oct 2012
#74
Originally Posted by qwazix View Post
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
So sorry, you already posted the steps. Too late...
 

The Following User Says Thank You to Nikos Alexandris For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Dec 2013
#75
Originally Posted by sponka View Post
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 did the same -- added custom layout file and the new layouts were not deleted after the system update.
I would suggest to keep any modifications in a seperate layout file. And remove these modifications when/if Jolla adds them.
 
Posts: 4 | Thanked: 6 times | Joined on Dec 2013
#76
Any documentation about the possible properties and values for key objects?
Would be nice to know which values for example "width" could have.
 
Posts: 3 | Thanked: 1 time | Joined on Dec 2013
#77
Originally Posted by qwazix View Post
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
Followed instructions to the letter.
Ελληνικά appears at keyboard long press as an option,
also at settings->text input->active keyboard.

However, I cannot select the greek keyboard, it just reverts back to EN.

Whenever you have a minute to spare, help would be much appreciated.

SOLVED: my mistake,not sure what was it though, started from the top, qwazix's solution works like a charm

Again, many thanks to Qwazix!

Last edited by fotis; 2013-12-30 at 17:35. Reason: SOLVED
 
Posts: 3 | Thanked: 1 time | Joined on Dec 2013
#78
something interesting

using GR plugin

maliit no longer appears when using android apps (opera, firefox is what I tried).

does that happen with other layouts as well?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#79
Looks like that happens after restarting maliit. Restarting aliendalvik afterwards seems to fix it.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Posts: 5 | Thanked: 15 times | Joined on Dec 2013
#80
Originally Posted by Silwer View Post
Can someone try to make a Estonian keyboard like this for Jolla:
http://www.upload.ee/image/2116526/2...8_00-19-43.png
Here you go
Estonian keyboard with 4 arrows.
(however, when you press 'up' in the first row, it exists from editing mode... If I'll have some time, I'll check if there is anything available to prevent this.)

Cheers!
Attached Files
File Type: tar EE.tar (30.0 KB, 228 views)
 

The Following 4 Users Say Thank You to cstom For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:31.