Ask / Submit
36

limit the number of keyboards to be selected from space bar [released]

asked 2013-12-25 14:59:11 +0300

ortylp gravatar image

updated 2013-12-25 15:02:00 +0300

I am using only 3 languages, but there is much more to be selected. It would be useful to limit the number of keyboards to the list the user actually needs instead showing all.

Showing all keyboards is the right default setting, but it should be possible to select the few, which are used the most.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by ortylp
close date 2014-03-17 23:40:04.201035

Comments

Isn't that a duplicate of https://together.jolla.com/question/998/changing-keyboard-layout/ asked about 4 hours earlier?

naytsyrhc ( 2014-01-22 13:46:47 +0300 )edit

3 Answers

Sort by » oldest newest most voted
10

answered 2013-12-25 20:17:40 +0300

zlatko gravatar image

updated 2014-02-28 17:35:05 +0300

Edz gravatar image

To be on the save side: when editing the /usr/share/maliit/plugins/com/jolla/layouts/layouts.conf just comment the unnecessary lines with "#", so it looks like this:

.........................
#[es.qml]
#name=Español
#languageCode=ES
#
#[fi.qml]
#name=Suomi
#languageCode=FI
#
............................

Then restart the mallit server: systemctl --user restart maliit-server.service

I am using this setup since 2 days, no issues here. I think there is request already here to implement this in UI.

edit flag offensive delete publish link more

Comments

2

Yes, I would like to have it in UI, without devel-su :)

ortylp ( 2013-12-25 21:20:49 +0300 )edit

Thanks Zlatko, this worked for me, but I used 'killall maliit-server' instead. I now have NO OTHER language options on my spacebar! Brilliant! :) Regards,

Edz ( 2014-02-28 17:52:16 +0300 )edit
3

answered 2014-03-17 23:39:45 +0300

ortylp gravatar image

fixed in 1.0.4.20

edit flag offensive delete publish link more
1

answered 2013-12-25 15:56:58 +0300

ibins gravatar image

updated 2013-12-25 19:41:14 +0300

This could be very dangerous, so be prepared to brick your device. I did not test this and you should definitely let this confirm by someone more competent than me.

If you still read, you could try this:

  1. ssh into the devie
  2. get root with "devel-su" and entering password
  3. go there: "cd /usr/share/maliit/plugins/com/jolla/layouts"
  4. make a backup of the file: "mv layouts.conf layouts.conf_backup"
  5. edit file: "vi layouts.conf", remove all sections you do not want by typing "dd"
  6. store and exit by pressing ESCAPE - ":" - "x"
  7. move the not wanted layouts to the more recent directory, e.g. "mv it.qml ../"
  8. kill the keyboard: "killall maliit-server"

Again: Do this on your own risk! I do not know what happens after a reboot!

Edit: The above stuff could not be that wrong, as there is a thread TMO describing just that: http://talk.maemo.org/showthread.php?t=91917

edit flag offensive delete publish link more

Comments

+1 for the solution and warnings, we need to work out some safe implementation...

ortylp ( 2013-12-25 21:22:47 +0300 )edit

In step 4: Shouldn't it be "cp" (copy) instead of "mv" (move/rename)?

An alternative way is shown in https://together.jolla.com/question/21510/howto-adapt-sailfish-virtual-keyboard-vkb-layout/#26365 (layouts.conf is only renamed but not edited)

jgr ( 2014-02-10 23:51:14 +0300 )edit

I'm sorry but this is a hack, not a solution

dsilveira ( 2014-02-28 22:28:31 +0300 )edit

Question tools

Follow
7 followers

Stats

Asked: 2013-12-25 14:59:11 +0300

Seen: 458 times

Last updated: Mar 17 '14